]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: use HW lock mgr for PSR-SU
authorDavid Zhang <dingchen.zhang@amd.com>
Tue, 3 May 2022 21:28:18 +0000 (17:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 6 Jun 2022 18:42:21 +0000 (14:42 -0400)
commitc89aeac8203415c6e570bb2552c7fad8ceb1edc5
treee27f0752624e8eeeaea32f9e26977393b92cf324
parent5302e3f899bcf7afcb93676ac7b7f06874e01307
drm/amd/display: use HW lock mgr for PSR-SU

[why]
Feature requires synchronization of dig, pipe, and cursor locking
between driver and DMUB fw for PSR-SU

[how]
return True if PSR-SU in the checker should_use_dmub_lock()

Signed-off-by: David Zhang <dingchen.zhang@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dmub_hw_lock_mgr.c