[Mesa-dev] [PATCH 3/8] i965/drm: Make stride/pitch a uint32_t.

Chris Wilson chris at chris-wilson.co.uk
Tue Apr 11 16:38:56 UTC 2017


On Tue, Apr 11, 2017 at 09:02:46AM -0700, Kenneth Graunke wrote:
> struct drm_i915_gem_set_tiling's stride field is a __u32.
> intel_mipmap_tree::stride is a uint32_t.  Using unsigned long just
> doesn't make sense.  Switching also lets us drop many pointless
> locals that only existed to deal with the type mismatch.

\o/
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the mesa-dev mailing list