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

2015-01-19 Thread Mika Kuoppala
From: 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

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

2015-01-16 Thread Mika Kuoppala
From: 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

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

2014-12-16 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 new