On Mon, 2024-10-21 at 19:27 -0300, Gustavo Sousa wrote: > Enabling and disabling the DMC wakelock should be done as part of > enabling and disabling of dynamic DC states, respectively. We should not > enable or disable DMC wakelock independently of DC states, otherwise we > would risk ending up with an inconsistent state where dynamic DC states > are enabled and the DMC wakelock is disabled, going against current > recommendations and making MMIO transactions potentially slower. In > future display IPs that could have a worse outcome if DMC trap > implementation is completely removed. > > So, let's make things safer by tying stuff together, removing the > independent calls, and also put warnings in place to detect inconsistent > calls. > > Signed-off-by: Gustavo Sousa <gustavo.so...@intel.com> > ---
Reviewed-by: Luca Coelho <luciano.coe...@intel.com> -- Cheers, Luca.