• Chris Wilson's avatar
    drm/i915: Remove domain flubbing from i915_gem_object_finish_gpu() · 2e2f351d
    Chris Wilson authored
    We no longer interpolate domains in the same manner, and even if we did,
    we should trust setting either of the other write domains would trigger
    an invalidation rather than force it. Remove the tweaking of the
    read_domains since it serves no purpose and use
    i915_gem_object_wait_rendering() directly.
    
    Note that this goes back to
    
    commit a8198eea
    Author: Chris Wilson <chris@chris-wilson.co.uk>
    Date:   Wed Apr 13 22:04:09 2011 +0100
    
        drm/i915: Introduce i915_gem_object_finish_gpu()
    
    and gpu domain tracking died in
    
    commit cc889e0f
    Author: Daniel Vetter <daniel.vetter@ffwll.ch>
    Date:   Wed Jun 13 20:45:19 2012 +0200
    
        drm/i915: disable flushing_list/gpu_write_list
    
    which is more than 1 year older.
    Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    [danvet: Add notes with information dug out of git history.]
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    2e2f351d
i915_drv.h 101 KB