diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-12-22 21:02:55 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-12-23 12:31:54 +0000 |
commit | 76f9764cc3d538435262dea885bf69fac2415402 (patch) | |
tree | 480bf43fb3319a28f171f9fbbb23499235814ea3 /ipc | |
parent | f5af1659d809e264d619e5f483fd8f47bced3b6a (diff) | |
download | linux-stable-76f9764cc3d538435262dea885bf69fac2415402.tar.gz linux-stable-76f9764cc3d538435262dea885bf69fac2415402.tar.bz2 linux-stable-76f9764cc3d538435262dea885bf69fac2415402.zip |
drm/i915: Introduce a vma.kref
Start introducing a kref on i915_vma in order to protect the vma unbind
(i915_gem_object_unbind) from a parallel destruction (i915_vma_parked).
Later, we will use the refcount to manage all access and turn i915_vma
into a first class container.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Imre Deak <imre.deak@intel.com>
Acked-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191222210256.2066451-2-chris@chris-wilson.co.uk
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions