]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove domain flubbing from i915_gem_object_finish_gpu()
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Apr 2015 12:41:14 +0000 (13:41 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 May 2015 09:25:45 +0000 (11:25 +0200)
commite8513ff54da99b2e27af656e75bf45871d0b687a
tree1203ea9d322de8a584366af3dc252f2da3e52d8f
parent8e2faafe5bd37718cffd051ec8f824d820aa3c37
drm/i915: Remove domain flubbing from i915_gem_object_finish_gpu()

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 c3222fea59d7bf39a37610021defc77df8c4b1aa
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 6f2d08d015151bd46273ff96d3bac6009c14bcb8
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: Chris Wilson <chris@chris-wilson.co.uk>
[danvet: Add notes with information dug out of git history.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_display.c