drm/amd/display: enable low power mode for VGA memory
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Thu, 11 May 2023 14:59:39 +0000 (10:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2023 22:08:29 +0000 (18:08 -0400)
commit39619d50a8e464215b6da6902afe00d3da1ee0ec
tree1288352e1158fc4e43d93e882c3737e85eb67b61
parent236dcf75865b21581e2ce6c7329938525e71c894
drm/amd/display: enable low power mode for VGA memory

[Why]
When unused, all memory blocks should be put in a low power state

[How]
Check the value of enable_mem_low_power.bits.vga and set
corresponding bit in the hardware register

Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-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_hwseq.c