drm/i915: Move HAS_RUNTIME_PM definition to platform
authorCarlos Santa <carlos.santa@intel.com>
Wed, 17 Aug 2016 19:30:39 +0000 (12:30 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 7 Sep 2016 23:07:08 +0000 (16:07 -0700)
commit4aa4c23f2be22456070ee02eb50db84c0598c3ed
tree2ad12320852d75ca24ead7f2f0e30e15d1a22293
parent07db6be72e2c4e54aca12f3f09b4dc7d33f023f0
drm/i915: Move HAS_RUNTIME_PM definition to platform

Moving all GPU features to the platform struct 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>
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