diff options
author | Sung Joon Kim <Sungjoon.Kim@amd.com> | 2023-09-24 12:34:11 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-10-04 18:42:17 -0400 |
commit | 434cf7af492fcacf7ca93c05e0bafd266b2e7cbb (patch) | |
tree | 2bbe9c780832258e1ba48df03e8287bd0f8669ca /drivers/gpu/drm/amd/display/dmub/inc | |
parent | 05b78277ef0efc1deebc8a22384fffec29a3676e (diff) | |
download | linux-434cf7af492fcacf7ca93c05e0bafd266b2e7cbb.tar.gz linux-434cf7af492fcacf7ca93c05e0bafd266b2e7cbb.tar.bz2 linux-434cf7af492fcacf7ca93c05e0bafd266b2e7cbb.zip |
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.
Signed-off-by: Sung Joon Kim <Sungjoon.Kim@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dmub/inc')
0 files changed, 0 insertions, 0 deletions