[Intel-gfx] [PATCH v2] drm/i915: Avoid writing relocs with addresses in non-canonical form

Chris Wilson chris at chris-wilson.co.uk
Thu Dec 10 04:50:52 PST 2015


On Fri, Dec 04, 2015 at 04:20:43PM +0100, MichaƂ Winiarski wrote:
> According to bspec, some parts of HW expect the addresses to be in
> a canonical form, where bits [63:48] == [47]. Let's convert addresses to
> canonical form prior to relocating and return converted offsets to
> userspace.
> 
> v2: Whitespace fixup, gen8_canonical_addr description (Chris, Ville)

What's the impact? The bspec says "assumes" but not required? Does
anything truly break otherwise?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list