Skip to content
Commit 3cbad5d7 authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915/gem: Refactor tests on obj->ops->flags



We repeat obj->ops->flags in our object checks, so pull that into its
own little helper for clarity.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: default avatarMatthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191002123014.1545-1-chris@chris-wilson.co.uk
parent dfe324f3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment