Skip to content
Commit 5323fd04 authored by Eric Anholt's avatar Eric Anholt
Browse files

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: default avatarEric Anholt <eric@anholt.net>
parent 7839c5d5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment