drm/i915: Track HAS_RPS alongside HAS_RC6 in the device info
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 19 Apr 2019 13:48:36 +0000 (14:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 19 Apr 2019 14:52:26 +0000 (15:52 +0100)
commit91cbdb83d3aee84b6aaaa3fc3b4a6084a35e19c1
treef17f8539593095182a6d049327af4b33e7f6ddfe
parentd69990e0c399e4f7f9b50505d3285e5de991148a
drm/i915: Track HAS_RPS alongside HAS_RC6 in the device info

For consistency (and elegance!), add intel_device_info.has_rps.
The immediate boon is that RPS support is now emitted along the other
capabilities in the debug log and after errors.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190419134836.5626-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/intel_device_info.h
drivers/gpu/drm/i915/intel_pm.c