linux/drivers/gpu/drm/amd/display/dc/inc
Sung Joon Kim d591284288 drm/amd/display: Add a check for idle power optimization
[why]
Need a helper function to check idle power is allowed
so that dc doesn't access any registers that are power-gated.

[how]
Implement helper function to check idle power optimization.
Enable a hook to check if detection is allowed.

V2:
Add function hooks for set and get idle states.
Check if function hook was properly initialized.

Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Reviewed-by: Nicholas Choi <nicholas.choi@amd.com>
Acked-by: Roman Li <roman.li@amd.com>
Signed-off-by: Sung Joon Kim <sungkim@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-10-26 18:57:15 -04:00
..
hw drm/amd/display: Add a check for idle power optimization 2023-10-26 18:57:15 -04:00
bw_fixed.h
clock_source.h drm/amd/display: Use correct DTO_SRC_SEL for 128b/132b encoding 2022-07-25 17:16:45 -04:00
compressor.h
core_status.h drm/amd/display: make enable link independent from verified link caps 2022-07-13 11:25:16 -04:00
core_types.h drm/amd/display: Refactor DPG test pattern logic for ODM cases 2023-10-09 17:00:57 -04:00
custom_float.h
dce_calcs.h
dcn_calc_math.h
dcn_calcs.h drm/amd/display: Fix mutex lock in dcn10 2022-10-06 11:54:35 -04:00
link.h drm/amd/display: Refactor edp power control 2023-08-30 14:58:42 -04:00
link_enc_cfg.h drm/amd/display: Maintain consistent mode of operation during encoder assignment 2022-07-05 16:12:45 -04:00
link_hwss.h drm/amd/display: move stream encoder audio setup to link_hwss 2022-10-24 14:35:34 -04:00
reg_helper.h
resource.h drm/amd/display: Refactor DPG test pattern logic for ODM cases 2023-10-09 17:00:57 -04:00
vm_helper.h