summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDominik Kaszewski <dominik.kaszewski@amd.com>2026-06-19 11:22:07 +0200
committerAlex Deucher <alexander.deucher@amd.com>2026-07-14 19:12:35 -0400
commit8fa813b7fd1eccbed13e126166cf764f1f11a7d3 (patch)
treeeddbaca34f8fc4ae436d82e5ba9ed655174ff8d7 /tools/perf/scripts/python/stackcollapse.py
parent2a5810782369b2128394e783d30728393c7bd62d (diff)
drm/amd/display: Remove sink usage from DPMS
[Why] stream->sink is optional and can be null, so should always be checked before dereference. Additionally, most of its usage in DPMS sequences is for stream->sink->link, which can be replaced with stream->link, as the two should always be the same. [How] * Replace stream->sink->link in DPMS on/off * Add assert to USB4 BW allocation where sink is required * Avoid inconsistencies in resource access, e.g. don't repeat stream->link after it was already saved to a local variable * Pull out effective VPG calculation to helper getter * Formatting fixes Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Dominik Kaszewski <dominik.kaszewski@amd.com> Signed-off-by: George Zhang <george.zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions