History

drm/i915/xehp: Add compute engine ABI

We're now ready to start exposing compute engines to userspace. v2: - Move kerneldoc for other engine classes to a separate patch. (Andi)

Matt Roper committed 4 years ago

Commit ecf8eca1 parent 97e17a04 files · +12 −2Browse files

Showing the changes to include/uapi/drm (1 of 4 files). Show all

Unified · Split

include/uapi/drm/i915_drm.h+9−0
@@ -203,6 +203,15 @@ enum drm_i915_gem_engine_class { · 202 unmodified lines
203 */203 */
204 I915_ENGINE_CLASS_VIDEO_ENHANCE = 3,204 I915_ENGINE_CLASS_VIDEO_ENHANCE = 3,
205 205
206 /**
207 * @I915_ENGINE_CLASS_COMPUTE:
208 *
209 * Compute engines support a subset of the instructions available
210 * on render engines: compute engines support Compute (GPGPU) and
211 * programmable media workloads, but do not support the 3D pipeline.
212 */
213 I915_ENGINE_CLASS_COMPUTE = 4,
214
206 /* Values in this enum should be kept compact. */215 /* Values in this enum should be kept compact. */
207 216
208 /**217 /**