diff options
| author | Natanel Roizenman <[email protected]> | 2024-04-03 16:52:48 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-04-30 09:45:33 -0400 |
| commit | 899d92fd26fe780aad711322aa671f68058207a6 (patch) | |
| tree | ce2d3385b11ad8e17ba105710d0c80967354c597 /tools/perf/scripts/python | |
| parent | cbc7d7d4469faa490ff535fbcc6fa9f5a97788fe (diff) | |
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: [email protected]
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Acked-by: Aurabindo Pillai <[email protected]>
Signed-off-by: Natanel Roizenman <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions