summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dc.h
diff options
context:
space:
mode:
authorJacky Liao <ziyu.liao@amd.com>2020-11-16 17:04:35 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-12-01 16:03:40 -0500
commitd0274aba24bf98aad04beb917dea4fbe45659a79 (patch)
treee0638fd7d8db0bbdb47d9c465923c26fa71af0ee /drivers/gpu/drm/amd/display/dc/dc.h
parent99349a8aeda7a044fc5850924bc3b57c306a1553 (diff)
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 <ziyu.liao@amd.com> Reviewed-by: Eric Yang <eric.yang2@amd.com> Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc.h1
1 files changed, 1 insertions, 0 deletions
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;