]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb1abe48695fff5a87ae2f4cf5bea5a462618b460
treef17f8539593095182a6d049327af4b33e7f6ddfe
parent031cfbf96557b881efa38bf12065cdffcd49c083
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