Chris Wilson 3cbad5d777 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
2019-10-02 15:30:44 +01:00
..
2019-08-21 16:44:41 +10:00
2019-08-14 18:31:15 +02:00
2019-08-14 18:31:10 +02:00
2019-08-06 08:21:53 +02:00
2019-07-22 21:24:10 +02:00
2019-08-06 09:20:58 +02:00
2019-08-22 13:16:19 +10:00
2019-08-09 16:04:31 +10:00
2019-06-19 12:07:29 +02:00
2019-08-14 18:30:52 +02:00
2019-07-17 12:52:55 +02:00
2019-08-22 13:16:19 +10:00
2019-06-25 00:10:24 +02:00
2019-06-30 09:48:05 +02:00
2019-08-21 16:44:41 +10:00
2019-08-21 16:44:41 +10:00
2019-08-09 09:15:05 +02:00
2019-07-17 12:52:55 +02:00
2019-08-21 16:44:41 +10:00
2019-06-05 20:31:04 +02:00
2019-07-22 21:24:10 +02:00
2019-07-15 18:11:31 +02:00
2019-06-05 20:29:57 +02:00
2019-07-17 12:52:55 +02:00
2019-08-14 18:31:04 +02:00
2019-08-21 16:44:41 +10:00
2019-07-15 18:11:30 +02:00
2019-07-17 12:52:55 +02:00
2019-07-25 17:35:20 +02:00
2019-07-15 18:11:30 +02:00
2019-08-21 16:44:41 +10:00
2019-07-22 21:24:10 +02:00
2019-06-19 12:07:29 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-07-22 21:24:10 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-05-27 18:07:03 +02:00
2019-07-22 21:24:10 +02:00
2019-07-22 21:24:10 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-07-25 10:45:07 +02:00
2019-08-09 16:04:31 +10:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-08-09 16:04:31 +10:00
2019-07-31 15:17:03 +02:00