OSDN Git Service

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)
commita6e1c5ace4810342b708f3fbbd203013d4b9d22c
tree53c7fdb1e271f68c158de87ebd808d4d75e6d97a
parentbc76298e68e791f878d76f9b7a911713c85b2843
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