summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_gem.c
diff options
context:
space:
mode:
authorJacky Liao <ziyu.liao@amd.com>2020-10-15 17:42:16 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-11-02 15:31:04 -0500
commitcae78e0331459643e21b982e4833a6525a43e498 (patch)
tree9d7528c1c6260813f20e1d08729f61d9b969f753 /drivers/gpu/drm/lima/lima_gem.c
parent91bda9e9d248c749f99cc85538d16444507466f7 (diff)
downloadlinux-cae78e0331459643e21b982e4833a6525a43e498.tar.bz2
drm/amd/display: Add OPTC memory low power support
[Why] The OPTC memory blocks should be powered down when they are not in use. This will reduce power consumption. [How] 1. Set ODM_MEM_UNASSIGNED_PWR_MODE to shutdown memory when unassigned 2. Set ODM_MEM_VBLANK_PWR_MODE to light sleep mode when in vblank 3. Added a debug option to allow this behaviour to be turned off 4. Restructured debug options to use a bitfield in a way that's more clear Signed-off-by: Jacky Liao <ziyu.liao@amd.com> Reviewed-by: Eric Yang <eric.yang2@amd.com> Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions