[PATCH v2 14/17] drm/i915/dmc_wl: Init only after we have runtime device info

Luca Coelho luca at coelho.fi
Thu Nov 7 10:50:24 UTC 2024


On Wed, 2024-11-06 at 18:50 -0300, Gustavo Sousa wrote:
> We should be able to use the DMC wakelock only if the display hardware
> has support for DMC. We will add a check for that in an upcoming change.
> 
> Since info for DMC availability (HAS_DMC()) needs runtime device info,
> move the call to intel_dmc_wl_init() to a place where we know we have
> the hardware has been probed for such an info (i.e. after
> intel_display_device_info_runtime_init()).
> 
> 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