commit | 3cbad5d7774953d36c09cca295e6b84e61b03ae7 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Oct 02 13:30:14 2019 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Wed Oct 02 15:30:44 2019 +0100 |
tree | b516afa6952b2daf5f1c563783091cf7f1e5cd31 | |
parent | dfe324f34c53af095bfe54b322e1a338421a6b0e [diff] |
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: Chris Wilson <chris@chris-wilson.co.uk> Cc: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191002123014.1545-1-chris@chris-wilson.co.uk