summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-09-01 16:43:18 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-09-03 20:05:54 +0100
commita9fc0e2d4298085e26ada535395b6155d68120c6 (patch)
tree5115dbf292d0849f9f2ae67fb727cc467c638ffd /lib/intel_batchbuffer.c
parent697e6ca07d503517996b0a3e385ba5b1ce720346 (diff)
i915/gem_ctx_shared: Prebind both context images
If we are using an aliasing-ppgtt, the context images are in the same virtual address space as our target objects. We have to be careful that cloning and using a new context does not evict our unreferenced target object. To avoid that, we first bind both context images while creating the hole in the address space to ensure that the hole is still available later on. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions