]> 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)
commite564574a9b162e55b490287183d8f7f77d0c4f7e
tree7d220721ed8946f42eac04648f45ba3b5cfc5356
parent6fafdd002940ccd4095792f317a8709482db024e
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