]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Always define GEN as part of GENx_FEATURES
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Feb 2018 08:19:29 +0000 (08:19 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Feb 2018 16:23:10 +0000 (16:23 +0000)
commitff8e6c13cccf44561f83563301ae821953de3e59
tree53c7fdb1e271f68c158de87ebd808d4d75e6d97a
parent3893bc61f408f374082640ab526759c14bdb41fe
drm/i915: Always define GEN as part of GENx_FEATURES

Be consistent and define the device's GEN as part of the GENx_FEATURE.
It will be overridden by the next gen upon inheriting, as per usual.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180215081930.11477-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_pci.c