]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Move AllowDRAMSelfRefreshOrDRAMClockChangeInVblank to bounding box
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Wed, 13 May 2020 15:58:50 +0000 (11:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Aug 2021 17:57:33 +0000 (13:57 -0400)
commit2ac9e8eaec4ece09831d746e6c4a2072e341a6f5
treefbb055cadb2c73fda4d052213c8492db9dfe7461
parent5328b368c2f0ec2052e0954776eea2f0c115a3f1
drm/amd/display: Move AllowDRAMSelfRefreshOrDRAMClockChangeInVblank to bounding box

[Why]
This is a global parameter, not a per pipe parameter and it's useful
for experimenting with the prefetch schedule to be adjustable from
the SOC bb.

[How]
Add a parameter to the SOC bb, default is the existing policy for
all DCN. Fill it in when filling SOC bb parameters.

Revert the policy to use MinDCFClk at the same time since that's not
going to give us P-State in most cases on the spreadsheet.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1403
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <Daniel.Wheeler@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c
drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c