diff options
author | 2024-04-03 16:52:48 -0400 | |
---|---|---|
committer | 2024-04-30 09:45:33 -0400 | |
commit | 899d92fd26fe780aad711322aa671f68058207a6 (patch) | |
tree | ce2d3385b11ad8e17ba105710d0c80967354c597 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |
parent | drm/amd/display: Fix Replay Desync Error Test (diff) | |
download | linux-rng-899d92fd26fe780aad711322aa671f68058207a6.tar.xz linux-rng-899d92fd26fe780aad711322aa671f68058207a6.zip |
drm/amd/display: Add null check in resource_log_pipe_topology_update
[WHY]
When switching from "Extend" to "Second Display Only" we sometimes
call resource_get_otg_master_for_stream on a stream for the eDP,
which is disconnected. This leads to a null pointer dereference.
[HOW]
Added a null check in dc_resource.c/resource_log_pipe_topology_update.
CC: stable@vger.kernel.org
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Natanel Roizenman <natanel.roizenman@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions