[Intel-gfx] [PATCH] drm/i915/dg1: remove __maybe_unused leftover

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Fri Aug 20 08:35:55 UTC 2021


Op 19-08-2021 om 23:03 schreef Lucas De Marchi:
> This was added in commit 05e265841f7e ("drm/i915/dg1: add initial DG-1
> definitions") so we could continue to add support for DG1 without
> risk to expose a broken UAPI. Now that we added DG1 to the PCI ID list
> i915 may bind to, remove the leftover.
>
> Fixes: d5ef86b38e4c ("drm/i915: Add pci ids and uapi for DG1")
> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
> ---
>  drivers/gpu/drm/i915/i915_pci.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
> index 93ccdc6bbd03..96cfd6427cec 100644
> --- a/drivers/gpu/drm/i915/i915_pci.c
> +++ b/drivers/gpu/drm/i915/i915_pci.c
> @@ -894,7 +894,7 @@ static const struct intel_device_info rkl_info = {
>  	.has_snoop = 1, \
>  	.is_dgfx = 1
>  
> -static const struct intel_device_info dg1_info __maybe_unused = {
> +static const struct intel_device_info dg1_info = {
>  	GEN12_FEATURES,
>  	DGFX_FEATURES,
>  	.graphics_rel = 10,

Reviewed-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>



More information about the Intel-gfx mailing list