[Intel-gfx] [PATCH] drm/i915/hwconfig: Report no hwconfig support on ADL-N

Andrzej Hajda andrzej.hajda at intel.com
Tue May 24 10:39:24 UTC 2022


On 23.05.2022 09:51, Balasubramani Vivekanandan wrote:
> ADL-N being a subplatform of ADL-P, it lacks support for hwconfig
> table. Explicit check added to skip ADL-N.
> 
> Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan at intel.com>

Reviewed-by: Andrzej Hajda <andrzej.hajda at intel.com>

Regards
Andrzej

> ---
>   drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c b/drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
> index 79c66b6b51a3..5aaa3948de74 100644
> --- a/drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
> +++ b/drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
> @@ -94,7 +94,7 @@ static int guc_hwconfig_fill_buffer(struct intel_guc *guc, struct intel_hwconfig
>   
>   static bool has_table(struct drm_i915_private *i915)
>   {
> -	if (IS_ALDERLAKE_P(i915))
> +	if (IS_ALDERLAKE_P(i915) && !IS_ADLP_N(i915))
>   		return true;
>   	if (IS_DG2(i915))
>   		return true;



More information about the Intel-gfx mailing list