On Wed, 2024-11-06 at 18:50 -0300, Gustavo Sousa wrote: > Some display MMIO transactions for offsets in the range that requires > the DMC wakelock happen in atomic context (this has been confirmed > during tests on PTL). That means that we need to use a non-sleeping > variant of MMIO waiting function. > > Implement __intel_de_wait_for_register_atomic_nowl() and use it when > waiting for acknowledgment of acquire/release. > > v2: > - No __intel_de_wait_for_register_atomic_nowl() wrapper to convert > i915 to display. (Jani) > - Add a quick explanation why DMC_WAKELOCK_CTL_TIMEOUT_US is defined > in microseconds. (Luca) > > Cc: Jani Nikula <jani.nikula@xxxxxxxxx> > Cc: Luca Coelho <luciano.coelho@xxxxxxxxx> > Signed-off-by: Gustavo Sousa <gustavo.sousa@xxxxxxxxx> > --- Reviewed-by: Luca Coelho <luciano.coelho@xxxxxxxxx> -- Cheers, Luca.