drm/amd/display: Block SubVP + DRR if the DRR is PSR capable
authorAlvin Lee <alvin.lee2@amd.com>
Thu, 1 Jun 2023 00:00:54 +0000 (20:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2023 14:44:39 +0000 (10:44 -0400)
commit196754951fc8187c64806d0807c467d6f435d0c5
tree9d667f9d46b9236135b5e3f9eb4352d84116bc71
parentd62088ba314ecf098871874898ed760347d1fbd8
drm/amd/display: Block SubVP + DRR if the DRR is PSR capable

[Description]
PSR implementation in FW has inline polling which can poll for up
to 1ms. This will interfere with SubVP because SubVP is timing
sensitive and can't tolerate up to 1ms worth of delay before
handling vertical or VLINE interrupts. Therefore block SubVP + DRR
cases if DRR is PSR capable

Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Reviewed-by: Saaem Rizvi <SyedSaaem.Rizvi@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c