drm/i915: Add enum for hardware engine identifiers
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 16 Aug 2016 16:04:20 +0000 (17:04 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 17 Aug 2016 10:29:56 +0000 (11:29 +0100)
commit5ec2cf7e34be622968e865fa99f6b9bd4494020d
treedbe60cc30c5422f0cffda490985fe01032b012df
parentca99d8781fd16edf4c98536a9c18e59a17b06b6c
drm/i915: Add enum for hardware engine identifiers

Put the engine hardware id in the common header so they are
not only associated with the GuC since they are needed for
the legacy semaphores implementation.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_engine_cs.c
drivers/gpu/drm/i915/intel_ringbuffer.h