]> www.infradead.org Git - users/hch/dma-mapping.git/commit
drm/amd/display: Account for cursor prefetch BW in DML1 mode support
authorAlvin Lee <alvin.lee2@amd.com>
Thu, 20 Jun 2024 19:11:38 +0000 (15:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 1 Jul 2024 20:50:02 +0000 (16:50 -0400)
commit074b3a886713f69d98d30bb348b1e4cb3ce52b22
tree2a66d6183acbd73bd3bed5571ff8a2833bedbdd4
parent74ad26b36d303ac233eccadc5c3a8d7ee4709f31
drm/amd/display: Account for cursor prefetch BW in DML1 mode support

[Description]
We need to ensure to take into account cursor prefetch BW in
mode support or we may pass ModeQuery but fail an actual flip
which will cause a hang. Flip may fail because the cursor_pre_bw
is populated during mode programming (and mode programming is
never called prior to ModeQuery).

Reviewed-by: Chaitanya Dhere <chaitanya.dhere@amd.com>
Reviewed-by: Nevenko Stupar <nevenko.stupar@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@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/dml/dcn32/display_mode_vba_32.c