Re: [Intel-gfx] [PATCH 5/5] drm/i915: Add NEEDS_FORCEWAKE() checks for vlv/chv

2015-10-22 Thread Daniel Vetter
On Thu, Oct 22, 2015 at 03:35:00PM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > Include an early NEEDS_FORCEWAKE() check for vlv and chv. > Hopefully that will avoid doing so many range checks in for many > register accesses (at least for all display registers). > > Note

[Intel-gfx] [PATCH 5/5] drm/i915: Add NEEDS_FORCEWAKE() checks for vlv/chv

2015-10-22 Thread ville . syrjala
From: Ville Syrjälä Include an early NEEDS_FORCEWAKE() check for vlv and chv. Hopefully that will avoid doing so many range checks in for many register accesses (at least for all display registers). Note that vlv already had the check in the write path since it shares the gen6+ code for that. S