]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Add a check that the VMA instance we lookup matches the request
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 16 Jan 2017 15:21:29 +0000 (15:21 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 19 Jan 2017 10:17:24 +0000 (10:17 +0000)
commit4ea9527cc03e73afc6a4ac5979d1ecde43b85cf3
tree6edb61492ff9bb6d46ef10ffcebc86f57239af41
parent718659a63054261d052cd94f2f9502111ff5173f
drm/i915: Add a check that the VMA instance we lookup matches the request

Just as added paranoia against our future-selves add another check that
the lookup/created VMA instance matches the request.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170116152131.18089-3-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_vma.c