drm/i915: Move engine->needs_cmd_parser to engine->flags
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 29 Nov 2017 08:24:09 +0000 (08:24 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 29 Nov 2017 12:29:39 +0000 (12:29 +0000)
commit439e2ee4ca520e72870e4fa44aa0076060ad6857
tree9ffb716cc88c7d61e1d6918bd67bb8573d6fb1c0
parent9987da4b5dcfc8b94b702d4bb94b30955eb73c75
drm/i915: Move engine->needs_cmd_parser to engine->flags

Will be adding a new per-engine flags shortly so it makes sense
to consolidate.

v2: Keep the original code flow in intel_engine_cleanup_cmd_parser.
    (Joonas Lahtinen)

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171129082409.18189-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_cmd_parser.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h