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)
commit6290ba4c1656ce2374996b2ed11c3997ebbc4af5
tree501c02ae7c2f5a51ba51408ecd4084c71e73677a
parente216431b63aef8b7d9cf6e59aea39582d48b1808
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