drm/amd/display: Add support for manual DMUB FAMS trigger
authorAnthony Koo <Anthony.Koo@amd.com>
Sun, 17 Jul 2022 03:14:01 +0000 (23:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 21:17:15 +0000 (17:17 -0400)
commit81f776b670a0eb17bf9cfbfd2df32f66a34bc453
treece528df8d776dd304c1c54ea81b77a0af516035a
parent1f5dcb7365e4e0a8a6fca44352218ccc6f41a8b9
drm/amd/display: Add support for manual DMUB FAMS trigger

- Add is_drr parameter to indicate DRR is enabled on
the panel to determine whether SubVP MCLK switch
logic should be enabled

- Add DRR manual trigger in FW (instead of driver)
because manual trigger programming triggers DRR
update pending and can block SubVP MCLK switches
from taking place

Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h