• Daniel Vetter's avatar
    drm/i915: swizzling support for snb/ivb · f691e2f4
    Daniel Vetter authored
    We have to do this manually. Somebody had a Great Idea.
    
    I've measured speed-ups just a few percent above the noise level
    (below 5% for the best case), but no slowdows. Chris Wilson measured
    quite a bit more (10-20% above the usual snb variance) on a more
    recent and better tuned version of sna, but also recorded a few
    slow-downs on benchmarks know for uglier amounts of snb-induced
    variance.
    
    v2: Incorporate Ben Widawsky's preliminary review comments and
    elaborate a bit about the performance impact in the changelog.
    
    v3: Add a comment as to why we don't need to check the 3rd memory
    channel.
    
    v4: Fixup whitespace.
    Acked-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: default avatarBen Widawsky <ben@bwidawsk.net>
    Reviewed-by: default avatarEric Anholt <eric@anholt.net>
    Signed-Off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    f691e2f4
i915_gem_tiling.c 15.2 KB