diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-10-13 21:26:13 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-10-16 20:44:19 +0100 |
commit | f1fa4f442c82eb875babb88399a6b69efce7b453 (patch) | |
tree | 60ac898b028aba4348202034b75562a207b0c446 /drivers/gpu/drm/i915/intel_ringbuffer.c | |
parent | e4ffc83d3fa7e51390a94303e06356d2d1d5b5ee (diff) |
drm/i915: Refactor testing obj->mm.pages
Since we occasionally stuff an error pointer into obj->mm.pages for a
semi-permanent or even permanent failure, we have to be more careful and
not just test against NULL when deciding if the object has a complete
set of its concurrent pages.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171013202621.7276-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions