drm/i915: Move engine IDs out of i915_reg.h
To remove the dependency between the GT headers and i915_reg.h, move the definition of the engine IDs/classes to intel_engine_types.h Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20190816012343.36433-3-daniele.ceraolospurio@intel.com
このコミットが含まれているのは:
@@ -26,6 +26,26 @@
|
||||
#include "intel_wakeref.h"
|
||||
#include "intel_workarounds_types.h"
|
||||
|
||||
/* Legacy HW Engine ID */
|
||||
|
||||
#define RCS0_HW 0
|
||||
#define VCS0_HW 1
|
||||
#define BCS0_HW 2
|
||||
#define VECS0_HW 3
|
||||
#define VCS1_HW 4
|
||||
#define VCS2_HW 6
|
||||
#define VCS3_HW 7
|
||||
#define VECS1_HW 12
|
||||
|
||||
/* Gen11+ HW Engine class + instance */
|
||||
#define RENDER_CLASS 0
|
||||
#define VIDEO_DECODE_CLASS 1
|
||||
#define VIDEO_ENHANCEMENT_CLASS 2
|
||||
#define COPY_ENGINE_CLASS 3
|
||||
#define OTHER_CLASS 4
|
||||
#define MAX_ENGINE_CLASS 4
|
||||
#define MAX_ENGINE_INSTANCE 3
|
||||
|
||||
#define I915_MAX_SLICES 3
|
||||
#define I915_MAX_SUBSLICES 8
|
||||
|
||||
|
@@ -16,6 +16,7 @@
|
||||
#include "uc/intel_uc.h"
|
||||
|
||||
#include "i915_vma.h"
|
||||
#include "intel_engine_types.h"
|
||||
#include "intel_reset_types.h"
|
||||
#include "intel_wakeref.h"
|
||||
|
||||
|
新しいイシューから参照
ユーザーをブロックする