Re: [PATCH 4/5] drm/i915: Use only blitter forcewake

Chris Wilson
2015-08-23T12:30:16Z

On Sun, Aug 23, 2015 at 05:52:50PM +0530, Sagar Arun Kamble wrote:
> Coarse power gating is disabled prior to BXT B0 and till SKL E0,
> hence even for render and media well registers blitter forcewake request
> need to be used.

Just insert a custom force_wake_get/put for the w/a.

Something like

gen9_force_wake_get_wa()
{
return fw_domains_get(BLITTER);
}

The fw counting will make it work just fine.
-Chris

--
Chris Wilson, Intel Open Source Technology Centre