]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd06497cbf068b17606ba976a12521b2cfe21487
tree7777f5cdc8eb372657c3435c3db5f089b91738c0
parentabae888e6cd6c4c2e07adfe78b9d75c0ead3ceb0
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