aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorHamza Mahfooz <[email protected]>2022-11-09 12:06:27 -0500
committerAlex Deucher <[email protected]>2022-11-09 18:07:59 -0500
commit675d84621a24490e1de3d59a4992a17fa9ff92b5 (patch)
tree09d394f219517198d8dfab0573254da695b5282c /drivers/usb/cdns3/cdns3-debug.h
parent0c85c067c9d9d7a1b2cc2e01a236d5d0d4a872b5 (diff)
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 <[email protected]> Signed-off-by: Hamza Mahfooz <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions