drm/i915: Move HAS_PSR definition to platform struct definition
authorCarlos Santa <carlos.santa@intel.com>
Wed, 17 Aug 2016 19:30:36 +0000 (12:30 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 7 Sep 2016 23:07:07 +0000 (16:07 -0700)
commit6e3b84d831113804fcae3646b99816556915b881
tree723a516b437beb6dff73e377803aadfedf9e759f
parent81b9fd8fc68e9e0999efc604c4e5477b8d1982aa
drm/i915: Move HAS_PSR definition to platform struct definition

[patch series] 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 definition

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