From d0274aba24bf98aad04beb917dea4fbe45659a79 Mon Sep 17 00:00:00 2001 From: Jacky Liao Date: Mon, 16 Nov 2020 17:04:35 -0500 Subject: drm/amd/display: Add DSCL memory low power support [Why] The DSCL memory blocks should be powered down when they're not in use. This will reduce power consumption. [How] 1. Write to DSCL_MEM_PWR_FORCE to put memory to shutdown when DSCL is not used. 2. Added a debug option to allow this behaviour to be turned off Signed-off-by: Jacky Liao Reviewed-by: Eric Yang Acked-by: Aurabindo Pillai Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/dc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/drm/amd/display/dc/dc.h') diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 68a192e64418..7400b0b449eb 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -422,6 +422,7 @@ union mem_low_power_enable_options { struct { bool i2c: 1; bool dmcu: 1; + bool dscl: 1; bool cm: 1; bool mpc: 1; bool optc: 1; -- cgit