]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add reinstate dram in the FPO logic
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tue, 19 Apr 2022 15:22:17 +0000 (11:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 21:17:36 +0000 (17:17 -0400)
commit5c9bbf8160d6a130c93559a62829ed358ef35c77
tree501c02ae7c2f5a51ba51408ecd4084c71e73677a
parent0194e63e085f3618402099f1b0db59fe84fe69c5
drm/amd/display: Add reinstate dram in the FPO logic

In order to handle FPO correctly, we need to reinstate the dram values.
This function adds the required code to handle the vblank stretch and
the dram calculation.

Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@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/dcn30/dcn30_resource.h
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c