drm/i915/dg1: remove __maybe_unused leftover
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 19 Aug 2021 21:03:49 +0000 (14:03 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 20 Aug 2021 20:53:37 +0000 (13:53 -0700)
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@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210819210349.95103-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/i915_pci.c

index 6074592..3fb55e2 100644 (file)
@@ -909,7 +909,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,
        PLATFORM(INTEL_DG1),