Re: [Intel-gfx] [PATCH 5/8] drm/i915: Consolidate forcewake code

2014-12-11 Thread Deepak S
On Monday 08 December 2014 11:57 PM, Mika Kuoppala wrote: As we now have forcewake domains, take advantage of it by putting the differences in gen fw handling in data rather than in code. In past we have opencoded this quite extensively as the fw handling is in the fast path. There has also

[Intel-gfx] [PATCH 5/8] drm/i915: Consolidate forcewake code

2014-12-08 Thread Mika Kuoppala
As we now have forcewake domains, take advantage of it by putting the differences in gen fw handling in data rather than in code. In past we have opencoded this quite extensively as the fw handling is in the fast path. There has also been a lot of cargo-culted copy'n'pasting from older gens to