[PATCH v2 13/17] drm/i915/dmc_wl: Add and use HAS_DMC_WAKELOCK()

Luca Coelho luca at coelho.fi
Thu Nov 7 10:49:41 UTC 2024


On Wed, 2024-11-06 at 18:50 -0300, Gustavo Sousa wrote:
> A HAS_DMC_WAKELOCK() macro gives more semantic than openly checking the
> display version. Define it and use it where appropriate.
> 
> v2:
>   - Make this patch contain only the non-functional refactor. Functional
>     changes related to including HAS_DMC() in the macro are done in
>     upcoming changes. (Jani)
> 
> Cc: Jani Nikula <jani.nikula 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-xe mailing list