Re: [Intel-gfx] [PATCH 2/2] drm/i915: ignore forcewake get/put when using vgpu

2017-01-25 Thread Li, Weinan Z
fx] [PATCH 2/2] drm/i915: ignore forcewake get/put > when using vgpu > > On Wed, Jan 25, 2017 at 02:04:56PM +0800, Weinan Li wrote: > > Host maintian the hardware's forcewake state, guest don't need and > > also can't control it. Although vgpu_read/write bypass > > forcewake_

Re: [Intel-gfx] [PATCH 2/2] drm/i915: ignore forcewake get/put when using vgpu

2017-01-24 Thread Chris Wilson
On Wed, Jan 25, 2017 at 02:04:56PM +0800, Weinan Li wrote: > Host maintian the hardware's forcewake state, guest don't need and also > can't control it. Although vgpu_read/write bypass forcewake_get/put in MMIO > read/write, but still have separate path called by > "intel_uncore_forcewake_get/put"

[Intel-gfx] [PATCH 2/2] drm/i915: ignore forcewake get/put when using vgpu

2017-01-24 Thread Weinan Li
Host maintian the hardware's forcewake state, guest don't need and also can't control it. Although vgpu_read/write bypass forcewake_get/put in MMIO read/write, but still have separate path called by "intel_uncore_forcewake_get/put" and "intel_uncore_forcewake_get/put__locked". Unnecessary MMIO