drm/i915: Do RPM Wake during GuC/HuC status read
authorsagar.a.kamble@intel.com <sagar.a.kamble@intel.com>
Fri, 3 Feb 2017 08:28:33 +0000 (13:58 +0530)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 16 Feb 2017 10:06:17 +0000 (10:06 +0000)
commit3582ad1361644ba0f937cf6aa59d5c9ead6763ca
treed54daadb6499a4f553a96d3c8a5e6a0333701334
parent262fd485ac6b476479f41f00bb104f6a1766ae66
drm/i915: Do RPM Wake during GuC/HuC status read

HUC_STATUS, GUC_STATUS, SOFT_SCRATCH registers are read in debugfs
and getparam ioctl. This patch covers those accesses by RPM get/put.

v2: Covering access in i915_getparam(I915_PARAM_HUC_STATUS) (ChrisW)

Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Cc: Fiedorowicz, Lukasz <lukasz.fiedorowicz@intel.com>
Signed-off-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1486110513-12130-1-git-send-email-sagar.a.kamble@intel.com
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.c