aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dp_mst.c
diff options
context:
space:
mode:
authorLyude Paul <[email protected]>2019-01-11 00:53:38 +0000
committerLyude Paul <[email protected]>2019-01-11 01:38:30 +0000
commitd79a3c52f34b648c56794e14364cc5169af2202f (patch)
tree15e307bc7f4aa6b86bb85190a2e7b9b4701997d3 /drivers/gpu/drm/i915/intel_dp_mst.c
parentdrm/nouveau: Keep malloc references to MST ports (diff)
downloadkernel-d79a3c52f34b648c56794e14364cc5169af2202f.tar.gz
kernel-d79a3c52f34b648c56794e14364cc5169af2202f.zip
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 'drivers/gpu/drm/i915/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions