[PATCH 12/13] drm/i915/dmc_wl: Sanitize enable_dmc_wl according to hardware support

Luca Coelho luca at coelho.fi
Fri Nov 1 14:25:10 UTC 2024


On Mon, 2024-10-21 at 19:27 -0300, Gustavo Sousa wrote:
> Instead of checking for HAS_DMC_WAKELOCK() multiple times, let's use it
> to sanitize the enable_dmc_wl parameter and use that variable when
> necessary.
> 
> 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