diff options
| author | Lyude Paul <[email protected]> | 2019-01-10 19:53:38 -0500 |
|---|---|---|
| committer | Lyude Paul <[email protected]> | 2019-01-10 20:38:30 -0500 |
| commit | d79a3c52f34b648c56794e14364cc5169af2202f (patch) | |
| tree | 15e307bc7f4aa6b86bb85190a2e7b9b4701997d3 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 81640f01c2aa47190d0f8efe3ee8ef307167efec (diff) | |
drm/nouveau: Stop unsetting mstc->port, use malloc refs
Same as we did for i915, but for nouveau this time. Additionally, we
grab a malloc reference to the port that lasts for the entire lifetime
of nv50_mstc, which gives us the guarantee that mstc->port will always
point to valid memory for as long as the mstc stays around.
Signed-off-by: Lyude Paul <[email protected]>
Reviewed-by: Ben Skeggs <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Jerry Zuo <[email protected]>
Cc: Harry Wentland <[email protected]>
Cc: Juston Li <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions