diff options
author | Lyude Paul <lyude@redhat.com> | 2019-01-10 19:53:34 -0500 |
---|---|---|
committer | Lyude Paul <lyude@redhat.com> | 2019-01-10 20:12:24 -0500 |
commit | d25689760b747287c6ca03cfe0729da63e0717f4 (patch) | |
tree | 0e6841dc5910da14811c9414f67300281761c95f /drivers/gpu/drm/nouveau/dispnv50/disp.c | |
parent | 79a47cd36c8ddbf4435cd658d00c61cc2d9741cd (diff) |
drm/amdgpu/display: Keep malloc ref to MST port
Just like i915 and nouveau, it's a good idea for us to hold a malloc
reference to the port here so that we never pass a freed pointer to any
of the DP MST helper functions.
Also, we stop unsetting aconnector->port in
dm_dp_destroy_mst_connector(). There's literally no point to that
assignment that I can see anyway.
Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@redhat.com>
Cc: Jerry Zuo <Jerry.Zuo@amd.com>
Cc: Juston Li <juston.li@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190111005343.17443-12-lyude@redhat.com
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50/disp.c')
0 files changed, 0 insertions, 0 deletions