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

Introducing a GEN2_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 830, 845g, i85x, i865g.

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