linux/drivers/gpu/drm/amd/display/dc/inc/hw
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
..
abm.h drm/amd/display: ABM pause toggle 2023-07-18 11:16:23 -04:00
audio.h
aux_engine.h drm/amd/display: Remove unused function 2023-07-18 11:13:23 -04:00
clk_mgr.h drm/amd/display: Add a check for idle power optimization 2023-10-26 18:57:15 -04:00
clk_mgr_internal.h drm/amd/display: switch DC over to the new DRM logging macros 2023-09-26 17:00:21 -04:00
cursor_reg_cache.h
dccg.h drm/amd/display: Fix DP2.0 timing sync 2023-09-26 17:00:21 -04:00
dchubbub.h drm/amd/display: reprogram det size while seamless boot 2023-10-26 18:41:21 -04:00
dmcu.h
dpp.h
dsc.h
dwb.h Revert "drm/amd/display: Add new set_fc_enable to struct dwbc_funcs" 2023-10-13 11:05:45 -04:00
gpio.h
hubp.h drm/amd/display: Use per pipe P-State force for FPO 2023-03-31 11:18:54 -04:00
hw_shared.h
ipp.h
link_encoder.h
mcif_wb.h
mem_input.h
mpc.h gpu: drm: amd: display: fix kernel-doc warnings 2023-09-26 16:54:51 -04:00
opp.h
panel_cntl.h
pg_cntl.h drm/amd/display: Add DCN35 PG_CNTL 2023-08-30 15:51:14 -04:00
stream_encoder.h drm/amd/display: Add DCN35 DIO 2023-08-30 15:51:14 -04:00
timing_generator.h drm/amd/display: Add debugfs interface for ODM combine info 2023-08-30 15:37:59 -04:00
transform.h
vmid.h