1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dmub
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
..
inc drm/amd/display: Refactor HWSS into component folder 2023-10-09 17:00:09 -04:00
src drm/amd/display: Add a check for idle power optimization 2023-10-26 18:57:15 -04:00
dmub_srv.h drm/amd/display: Add DCN35 DMUB 2023-08-30 15:51:15 -04:00
dmub_srv_stat.h drm/amd/display: Support for DMUB AUX 2021-03-02 14:05:41 -05:00