OSDN Git Service

GEM: Wait for existing rendering to complete before writing relocation data.
authorEric Anholt <eric@anholt.net>
Wed, 7 May 2008 21:10:04 +0000 (14:10 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 7 May 2008 21:10:04 +0000 (14:10 -0700)
commit06e9761f94599c6378c8fa0cdbd1e1c1776bae7a
treeba61d2c4b84be6e8e32480ab031e34568df0bdfc
parent5f5f01ed91f5ad50f2b38e11740a30441ac845a4
GEM: Wait for existing rendering to complete before writing relocation data.

This should already have been generally safe since we don't change contents
and put in new relocations between execbufs, so if we were writing in a new
relocation then we'd already waited rendering to complete when we moved
the target of the relocation.  However, doing the right thing will be required
if we do buffer reuse.
linux-core/i915_gem.c