diff options
author | Jacky Liao <ziyu.liao@amd.com> | 2020-11-17 01:04:35 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-12-02 00:03:40 +0300 |
commit | d0274aba24bf98aad04beb917dea4fbe45659a79 (patch) | |
tree | e0638fd7d8db0bbdb47d9c465923c26fa71af0ee /drivers/gpu/drm/amd/display/dc/dc.h | |
parent | 99349a8aeda7a044fc5850924bc3b57c306a1553 (diff) | |
download | linux-d0274aba24bf98aad04beb917dea4fbe45659a79.tar.xz |
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.h | 1 |
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; |