linux/drivers/gpu/drm/amd/display/dc/dce
Jacky Liao cae78e0331 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>
2020-11-02 15:31:04 -05:00
..
dce_abm.c drm/amd/display: Move panel_cntl specific register from abm to panel_cntl. 2020-05-05 13:10:46 -04:00
dce_abm.h drm/amd/display: Refactor ABM_MASK_SH_LIST_DCN301 naming 2020-10-26 13:30:38 -04:00
dce_audio.c drm/amd/display: dce_audio: add DCE6 specific macros,functions 2020-07-27 16:46:12 -04:00
dce_audio.h drm/amd/display: dce_audio: add DCE6 specific macros,functions 2020-07-27 16:46:12 -04:00
dce_aux.c drm/amd/display: Using udelay for specific dongle while edid return defer 2020-10-26 13:34:47 -04:00
dce_aux.h
dce_clk_mgr.c drm/amd/display: correct asic type check V2 2020-10-27 12:01:16 -04:00
dce_clock_source.c drm/amd/display: Fixed panic during seamless boot. 2020-10-23 15:48:23 -04:00
dce_clock_source.h drm/amd/display: Add support for DCN302 (v2) 2020-10-12 14:02:51 -04:00
dce_dmcu.c drm/amd/display: Update TX masks correctly 2020-02-25 11:02:41 -05:00
dce_dmcu.h drm/amd/display: dce_dmcu: add DCE6 specific macros,functions 2020-07-27 16:46:15 -04:00
dce_hwseq.c drm/amd/display: dce_hwseq: add DCE6 specific macros,functions 2020-07-27 16:46:17 -04:00
dce_hwseq.h drm/amd/display: Add OPTC memory low power support 2020-11-02 15:31:04 -05:00
dce_i2c.c
dce_i2c.h
dce_i2c_hw.c drm/amd/display: Add i2c speed arbitration for dc_i2c and hdcp_i2c 2020-10-05 15:16:50 -04:00
dce_i2c_hw.h drm/amd/display: init hw i2c speed 2020-01-22 16:55:28 -05:00
dce_i2c_sw.c
dce_i2c_sw.h
dce_ipp.c drm/amd/display: dce_ipp: add DCE6 specific macros,functions 2020-07-27 16:46:20 -04:00
dce_ipp.h drm/amd/display: dce_ipp: add DCE6 specific macros,functions 2020-07-27 16:46:20 -04:00
dce_link_encoder.c drm/amd/display: dce_link_encoder: add DCE6 specific macros,functions 2020-07-27 16:46:23 -04:00
dce_link_encoder.h drm/amd/display: Read VBIOS Golden Settings Tbl 2020-08-04 17:29:27 -04:00
dce_mem_input.c drm/amd/display: dce_mem_input: add DCE6 specific macros,functions (v2) 2020-07-27 16:46:26 -04:00
dce_mem_input.h drm/amd/display: dce_mem_input: add DCE6 specific macros,functions (v2) 2020-07-27 16:46:26 -04:00
dce_opp.c drm/amd/display: dce_opp: add DCE6 specific macros,functions 2020-07-27 16:46:28 -04:00
dce_opp.h drm/amd/display: dce_opp: add DCE6 specific macros,functions 2020-07-27 16:46:28 -04:00
dce_panel_cntl.c drm/amd/display: Bug in dce_is_panel_backlight_on() 2020-09-22 12:27:35 -04:00
dce_panel_cntl.h drm/amd/display: Bug in dce_is_panel_backlight_on() 2020-09-22 12:27:35 -04:00
dce_scl_filters.c drm/amd/display: update scaling filters 2020-02-25 11:02:33 -05:00
dce_scl_filters_old.c drm/amd/display: update scaling filters 2020-02-25 11:02:33 -05:00
dce_stream_encoder.c drm/amd/display: Rename set_mst_bandwidth to align with DP spec 2020-09-15 17:52:41 -04:00
dce_stream_encoder.h
dce_transform.c drm/amdgpu: remove unneeded break 2020-10-23 15:33:47 -04:00
dce_transform.h drm/amd/display: dce_transform: DCE6 Scaling Horizontal Filter Init (v2) 2020-07-27 16:46:34 -04:00
dmub_abm.c drm/amd/display: Implement some asic specific abm call backs. 2020-05-28 14:00:48 -04:00
dmub_abm.h drm/amd/display: Add ABM driver implementation 2020-04-01 14:44:44 -04:00
dmub_hw_lock_mgr.c drm/amd/display: Use dmub fw to lock pipe, cursor, dig 2020-07-01 01:59:24 -04:00
dmub_hw_lock_mgr.h drm/amd/display: Use dmub fw to lock pipe, cursor, dig 2020-07-01 01:59:24 -04:00
dmub_psr.c drm/amd/display: Ensure all debug bits are passed to fw 2020-09-29 16:08:37 -04:00
dmub_psr.h drm/amd/display: Implement PSR wait for enable/disable 2020-09-22 12:28:49 -04:00
Makefile drm/amd/display: Use dmub fw to lock pipe, cursor, dig 2020-07-01 01:59:24 -04:00