aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_pci.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2021-04-12 22:10:00 -0700
committerJani Nikula <jani.nikula@intel.com>2021-04-14 13:05:05 +0300
commit7b36b7d3be3ebcfcf28e61cc65868e277aa9f36a (patch)
treed89b81f346f4707000a2e273709e422b5a7191fb /drivers/gpu/drm/i915/i915_pci.c
parentdrm/i915: eliminate remaining uses of intel_device_info->gen (diff)
downloadlinux-dev-7b36b7d3be3ebcfcf28e61cc65868e277aa9f36a.tar.xz
linux-dev-7b36b7d3be3ebcfcf28e61cc65868e277aa9f36a.zip
drm/i915: finish removal of gen from intel_device_info
Now that it's not being used anymore, finish its removal. Like for gen_mask, we replace INTEL_GEN() and IS_GEN() macros to use the new field. Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> [Jani: Minor code comment change while applying.] Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210413051002.92589-11-lucas.demarchi@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_pci.c')
-rw-r--r--drivers/gpu/drm/i915/i915_pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
index 3b9cd1af0f28..1453c1436f31 100644
--- a/drivers/gpu/drm/i915/i915_pci.c
+++ b/drivers/gpu/drm/i915/i915_pci.c
@@ -37,7 +37,6 @@
#define PLATFORM(x) .platform = (x)
#define GEN(x) \
- .gen = (x), \
.graphics_ver = (x), \
.media_ver = (x), \
.display.ver = (x)