]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Introduce GEN5_FEATURES for device info
authorCarlos Santa <carlos.santa@intel.com>
Wed, 17 Aug 2016 19:30:47 +0000 (12:30 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 7 Sep 2016 23:07:08 +0000 (16:07 -0700)
commita13233804686886726aeeb084141d9a759c0b859
treece4d7a75f003d1709a96f6359bf1f37dde2013a4
parent1d3fe53bbc074dc93fe50152d97e1af364cc4e92
drm/i915: Introduce GEN5_FEATURES for device info

Introducing a GEN5_FEATURES macro to simplify the struct
definitions by platforms given that most of the features are common.
Inspired by the GEN7_FEATURES macro done by Ben W. and others.

Use it for ilk.

CC: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Carlos Santa <carlos.santa@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/i915_pci.c