commit | 5323fd042f89164927ee8c311f0a975e8c846412 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Wed Sep 09 11:50:45 2009 -0700 |
committer | Eric Anholt <eric@anholt.net> | Wed Sep 09 12:52:05 2009 -0700 |
tree | a5328f9ce2dad76875652b0dfbc8f7530c5e6013 | |
parent | 7839c5d5519b6d9e2ccf3cdbf1c39e3817ad0835 [diff] |
drm/i915: Zap mmaps of objects before unbinding them from the GTT. Otherwise, some other userland writing into its buffer may race to land writes either after the CPU thinks it's got a coherent view, or after its GTT entries have been redirected to point at the scratch page. Either result is unpleasant. Signed-off-by: Eric Anholt <eric@anholt.net>