aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
diff options
context:
space:
mode:
authorShashank Sharma <shashank.sharma@amd.com>2021-04-15 23:18:12 +0530
committerAlex Deucher <alexander.deucher@amd.com>2021-04-15 16:32:45 -0400
commitea9bc8b9289a6e524f0b0eeafc09addb7cfac9fd (patch)
treee1a7fea66248302f516d2c889b6572bea4fdd6dd /drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
parentfe180178390b264ffab631eca85e97430ad77d16 (diff)
drm/amdgpu/dm: Fix NULL pointer crash during DP MST hotplug
This patch checks the return value of the function dc_link_add_remote_sink before using it. This was causing a crash during consecutive hotplugs of DP MST displays. Cc: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Shashank Sharma <shashank.sharma@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c')
0 files changed, 0 insertions, 0 deletions