[Intel-gfx] [PATCH] drm/i915: Skip i915_swizzle_info in platforms without GPU side swizzle

Chris Wilson chris at chris-wilson.co.uk
Thu Jun 29 13:07:45 UTC 2017


Quoting Ville Syrjälä (2017-06-29 14:05:25)
> On Wed, Jun 28, 2017 at 04:24:27PM -0700, Michel Thierry wrote:
> > There's no need to keep reading random registers in i915_swizzle_info if
> > the platform is not doing GPU side swizzling.
> > 
> > After HSW, swizzling is not used, and the CPU's memory controller
> > performs all the address swizzling modifications, commit be292e1563ac5b
> > ("drm/i915/bdw: Let the memory controller do all the swizzling").
> 
> But BDW still contains the registers and hardware capability no? So
> might be a good idea to be able to check that it's not misconfigured.

Especially in debugfs where it is useful to show both the hw state and
what we thought it should be.
-Chris


More information about the Intel-gfx mailing list