aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorWenjing Liu <[email protected]>2023-01-27 19:16:05 -0500
committerAlex Deucher <[email protected]>2023-02-14 16:03:49 -0500
commited6941b632100169aea453f60461ab79111af48c (patch)
tree99f3c879ac5dc93be0fe2a7f4e8d0231ccc319ae /tools/perf/scripts/python/sctop.py
parent3d8fcc6740c9f959bc490cd4a084c5a55b572987 (diff)
drm/amd/display: on dp link lost event toggle dpms for master pipe only
[why] We mistakenly toggle dpms state for non master pipe when handling link lost. A non master pipe doesn't connect to a backend. So it is toggling dpms for non master is undefined and caused NULL pointer dereference. [how] Add helper functions to find an array of active master pipes for current link and only toggle DPMS for active master pipes connected to the link. Add assert in case we get called to program dpms with non master pipe. Reviewed-by: Alvin Lee <[email protected]> Acked-by: Qingqing Zhuo <[email protected]> Signed-off-by: Wenjing Liu <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions