diff options
author | Sung Joon Kim <[email protected]> | 2023-09-29 12:12:47 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-10-26 18:57:15 -0400 |
commit | d591284288c29f04e52ae4f3d605e2f39c3e316c (patch) | |
tree | d46674f745ac712311fee096c24f5b9dff54204a /lib/crypto/mpi/mpi-sub-ui.c | |
parent | d5f9a92bd1e234b8a7cf6f350b5bc0169221ae59 (diff) |
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 <[email protected]>
Reviewed-by: Nicholas Choi <[email protected]>
Acked-by: Roman Li <[email protected]>
Signed-off-by: Sung Joon Kim <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions