]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Introduce GEN6_FEATURES for device info
authorCarlos Santa <carlos.santa@intel.com>
Wed, 17 Aug 2016 19:30:38 +0000 (12:30 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 7 Sep 2016 23:07:07 +0000 (16:07 -0700)
commitff1ed43d4e076ffc5ef9c1e21bbcdad657fd1c5e
treecd57136d06176f49ad5ac9f73ed3eac8c4930a6a
parentb7e19e4cd706ae1959f20e0634b3c8a8960a56b0
drm/i915: Introduce GEN6_FEATURES for device info

Introducing a GEN6_FEAUTRES 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 snb.

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