[PATCH v2 03/17] drm/i915/dmc_wl: Use non-sleeping variant of MMIO wait

Luca Coelho luca at coelho.fi
Thu Nov 7 10:42:16 UTC 2024


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 at intel.com>
> Cc: Luca Coelho <luciano.coelho at intel.com>
> Signed-off-by: Gustavo Sousa <gustavo.sousa at intel.com>
> ---

Reviewed-by: Luca Coelho <luciano.coelho at intel.com>

--
Cheers,
Luca.


More information about the Intel-gfx mailing list