drm/i915/xehp: Define compute class and engine
Introduce a Compute Command Streamer (CCS), which has access to the media and GPGPU pipelines (but not the 3D pipeline). To begin with, define the compute class/engine common functions, based on the existing render ones. v2: - Add kerneldoc for drm_i915_gem_engine_class since we're adding a new element to it. (Daniel) - Make engine class <-> guc class converters use lookup tables to make it more clear/explicit how the IDs map. (Tvrtko) v3: - Don't update uapi for now; we'll just include the driver-internal changes for the time being. Bspec: 46167, 45544 Original-author: Michel Thierry Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Cc: Vinay Belgaumkar <vinay.belgaumkar@intel.com> Signed-off-by:Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by:
Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Signed-off-by:
Aravind Iddamsetty <aravind.iddamsetty@intel.com> Signed-off-by:
Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> #v1 Link: https://patchwork.freedesktop.org/patch/msgid/20220301231549.1817978-2-matthew.d.roper@intel.com
Showing
- drivers/gpu/drm/i915/gt/intel_engine_cs.c 28 additions, 0 deletionsdrivers/gpu/drm/i915/gt/intel_engine_cs.c
- drivers/gpu/drm/i915/gt/intel_engine_types.h 8 additions, 1 deletiondrivers/gpu/drm/i915/gt/intel_engine_types.h
- drivers/gpu/drm/i915/gt/intel_engine_user.c 4 additions, 1 deletiondrivers/gpu/drm/i915/gt/intel_engine_user.c
- drivers/gpu/drm/i915/gt/intel_gt_regs.h 4 additions, 0 deletionsdrivers/gpu/drm/i915/gt/intel_gt_regs.h
- drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h 23 additions, 9 deletionsdrivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h
- drivers/gpu/drm/i915/i915_reg.h 4 additions, 0 deletionsdrivers/gpu/drm/i915/i915_reg.h
Loading
Please register or sign in to comment