drm/i915/guc: limit forcewake to blitter domain in guc_send
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Fri, 24 Mar 2017 14:48:39 +0000 (07:48 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Mar 2017 15:57:09 +0000 (15:57 +0000)
commit5d64c120c046c287382373df52b9e6fc47e6367c
tree6b1523194459388a4c0f9d5db848af1e8d069908
parentbd00e73ede5933322e01fc9b32e91d85826ac1c2
drm/i915/guc: limit forcewake to blitter domain in guc_send

The forcewake_get call in the guc_send_mmio function was added to
avoid getting and releasing forcewake on each register access.
While this makes sense, all GuC registers are in the blitter range
so no need to wake all the wells.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1490366919-34715-1-git-send-email-daniele.ceraolospurio@intel.com
Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_uc.c