]> www.infradead.org Git - users/dwmw2/linux.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:10:35 +0000 (16:10 -0400)
commit057638597a9819e53fb2dcfb292c76c21c6140f5
tree56f87d9374ead031c7d8daa0e14e34a2d8375991
parentb6d508533fa1371d870628a88b74c831c5881cde
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