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

Introducing a GEN4_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 i965g, i965gm, g45 and gm45.

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