]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Implement WaForceWakeRenderDuringMmioTLBInvalidate
authorArkadiusz Hiler <arkadiusz.hiler@intel.com>
Fri, 21 Oct 2016 11:11:50 +0000 (13:11 +0200)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 24 Oct 2016 02:45:26 +0000 (10:45 +0800)
commitafe4a39ec26ac5fad4ed23a2d88f7ea0f5476d21
tree6c3f270536b83aa77ddc787a73bf558bd082eaf3
parentc601743e91239642f7b26a9f98a444ed98f64aaa
drm/i915/gvt: Implement WaForceWakeRenderDuringMmioTLBInvalidate

When invalidating RCS TLB the device can enter RC6 state interrupting
the process, therefore the need for render forcewake for the whole
procedure.

This WA is needed for all production SKL SKUs.

v2: reworked putting and getting forcewake with help of Mika Kuoppala
v3: use I915_READ_FW and I915_WRITE_FW as we are handling forcewake on
    in the code path

References: HSD#2136899, HSD#1404391274
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/render.c