1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
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 drm/amd/display: explicit uint64_t casting 2018-11-05 14:20:50 -05:00
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 drm/amd/display: fbc state could not reach while enable fbc 2018-11-30 12:02:35 -05:00
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 drm/amdgpu/display: remove VEGAM config option 2018-05-18 16:08:18 -05:00
dcn_calc_math.h drm/amd/display: fixup DML dependencies 2020-01-16 14:16:48 -05:00
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 drm/amd/display: Support synchronized indirect reg access 2022-01-25 18:00:35 -05:00
resource.h drm/amd/display: Refactor DPG test pattern logic for ODM cases 2023-10-09 17:00:57 -04:00
vm_helper.h drm/amd/display: move vmid determination logic to a module 2019-06-22 09:34:14 -05:00