drm/i915: Move HAS_HW_CONTEXTS definition to platform
authorCarlos Santa <carlos.santa@intel.com>
Wed, 17 Aug 2016 19:30:52 +0000 (12:30 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 7 Sep 2016 23:07:09 +0000 (16:07 -0700)
commite1a52536c20a75c56dcb8ceedf2d6b1c2b285e32
tree6bd82d4848f2844e3b0de021aae00c0f95a3b89f
parent0eec8dc7f628a8d871de3a6d7e2f467bafcb69c7
drm/i915: Move HAS_HW_CONTEXTS definition to platform

Moving all GPU features to the platform definition allows for
- standard place when adding new features from new platforms
- possible to see supported features when dumping struct
  definitions

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_drv.h
drivers/gpu/drm/i915/i915_pci.c