diff options
author | Eric Anholt <eric@anholt.net> | 2009-09-09 11:50:45 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-09-09 12:52:05 -0700 |
commit | 5323fd042f89164927ee8c311f0a975e8c846412 (patch) | |
tree | a5328f9ce2dad76875652b0dfbc8f7530c5e6013 /drivers/gpu/drm/i915/intel_sdvo.c | |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sdvo.c')
0 files changed, 0 insertions, 0 deletions