drm/i915: Replace the complex flushing logic with simple invalidate/flush all
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 21 Jul 2012 10:25:01 +0000 (12:25 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Jul 2012 16:23:54 +0000 (18:23 +0200)
commit6ac42f4148bc27e5ffd18a9ab0eac57f58822af4
tree7777f5cdc8eb372657c3435c3db5f089b91738c0
parent26b9c4a57fc3ff0ae6032548870bebfa5cd0de3d
drm/i915: Replace the complex flushing logic with simple invalidate/flush all

Now that we unconditionally flush and invalidate between every batch
buffer, we no longer need the complex logic to decide which domains
require flushing. Remove it and rejoice.

v2 (danvet): Keep around the flip waiting logic. It's gross and
broken, I know, but we can't just kill that thing ... even if we just
keep it around as a reminder that things are broken.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_execbuffer.c