diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-08-16 11:52:05 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-08-18 13:57:13 +0300 |
commit | 8bcbfb12818f811d63801b71d25809690d1798fc (patch) | |
tree | 530b7c882fc4cbba06f77f2f102d79545f73026d /drivers/gpu/drm/drm_agpsupport.c | |
parent | f2f5c0610fbc251b127a6fffda6c651288695430 (diff) | |
download | linux-8bcbfb12818f811d63801b71d25809690d1798fc.tar.xz |
drm/i915: Check context status before looking up our obj/vma
Since we keep the context around across the slow lookup where we may
drop the struct_mutex, we should double check that the context is still
valid upon reacquisition.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170816085210.4199-2-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Diffstat (limited to 'drivers/gpu/drm/drm_agpsupport.c')
0 files changed, 0 insertions, 0 deletions