diff options
author | Hamza Mahfooz <hamza.mahfooz@amd.com> | 2022-11-09 20:06:27 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-11-10 02:07:59 +0300 |
commit | 675d84621a24490e1de3d59a4992a17fa9ff92b5 (patch) | |
tree | 09d394f219517198d8dfab0573254da695b5282c /tools/perf/scripts/python/stackcollapse.py | |
parent | 0c85c067c9d9d7a1b2cc2e01a236d5d0d4a872b5 (diff) | |
download | linux-675d84621a24490e1de3d59a4992a17fa9ff92b5.tar.xz |
drm/amd/display: only fill dirty rectangles when PSR is enabled
Currently, we are calling fill_dc_dirty_rects() even if PSR isn't
supported by the relevant link in amdgpu_dm_commit_planes(), this is
undesirable especially because when drm.debug is enabled we are printing
messages in fill_dc_dirty_rects() that are only useful for debugging PSR
(and confusing otherwise). So, we can instead limit the filling of dirty
rectangles to only when PSR is enabled.
Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@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