]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Don't use enums for hardware engine id
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 1 Mar 2017 20:26:15 +0000 (20:26 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Mar 2017 22:54:21 +0000 (22:54 +0000)
commit237ae7c79e2683723a6bf83e1d7db40fc890b285
tree81056d5fbc018d67b1d6c96906868ae30f9f88b7
parent61d3dc708077de316bdcafd66016c2285da07275
drm/i915: Don't use enums for hardware engine id

Generally we are using macros for any hardware identifiers as these
may change between Gens. Do the same with hardware engine ids.

v2: move hw engine defs to i915_reg.h (Chris)

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170301202615.118632-1-michal.wajdeczko@intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_engine_cs.c
drivers/gpu/drm/i915/intel_ringbuffer.h