]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/vgpu: Neuter forcewakes for VGPU more thoroughly
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 10 Mar 2017 09:57:47 +0000 (09:57 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 17 Mar 2017 09:52:57 +0000 (09:52 +0000)
commitf3a05436b60eb9e7a360219998f2874c37b2c382
tree7d220721ed8946f42eac04648f45ba3b5cfc5356
parentb26ee51ae601cd65d6c8240c684f3a80511f4b29
drm/i915/vgpu: Neuter forcewakes for VGPU more thoroughly

If we avoid initializing forcewake domains when running as
a guest, and also use gen2 mmio accessors in that case, we
can avoid the timer traffic and any looping through the
forcewake code which is currently just so it can end up in
the no-op forcewake implementation.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Weinan Li <weinan.z.li@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Tested-by: Terrence Xu <terrence.xu@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170310095747.12258-1-tvrtko.ursulin@linux.intel.com
[tursulin: commit spelling fix]
drivers/gpu/drm/i915/intel_uncore.c