aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/link/link_detection.c
diff options
context:
space:
mode:
authorTaimur Hassan <[email protected]>2023-06-20 17:00:28 -0400
committerAlex Deucher <[email protected]>2023-07-18 11:13:55 -0400
commitab02d4ae4a4313568761b4877a2eee3e7579ef34 (patch)
treec3b4babd49eeab165ab8588062338386231e796b /drivers/gpu/drm/amd/display/dc/link/link_detection.c
parente198a746fc1bc009e3f0e7b9436553ccdd4f6cc1 (diff)
drm/amd/display: check TG is non-null before checking if enabled
[Why & How] If there is no TG allocation we can dereference a NULL pointer when checking if the TG is enabled. Cc: Mario Limonciello <[email protected]> Cc: Alex Deucher <[email protected]> Cc: [email protected] Reviewed-by: Nicholas Kazlauskas <[email protected]> Acked-by: Alan Liu <[email protected]> Signed-off-by: Taimur Hassan <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/link/link_detection.c')
0 files changed, 0 insertions, 0 deletions