[Intel-gfx] [RFC 1/2] drm/i915: Engine discovery uAPI

Gong, Zhipeng zhipeng.gong at intel.com
Wed Apr 19 08:32:01 UTC 2017


>-----Original Message-----
>From: Tvrtko Ursulin [mailto:tursulin at ursulin.net] 
>Sent: Wednesday, April 19, 2017 12:56 AM
>To: Intel-gfx at lists.freedesktop.org
>Cc: tursulin at ursulin.net; Ursulin, Tvrtko <tvrtko.ursulin at intel.com>; Ben Widawsky <ben at bwidawsk.net>; Chris Wilson <chris at chris-wilson.co.uk>; Vetter, Daniel <daniel.vetter at intel.com>; Joonas Lahtinen <joonas.lahtinen at linux.intel.com>; Bloomfield, Jon <jon.bloomfield at intel.com>; Charles, Daniel <daniel.charles at intel.com>; Rogozhkin, Dmitry V <dmitry.v.rogozhkin at intel.com>; Mateo Lozano, Oscar <oscar.mateo at intel.com>; Gong, Zhipeng <zhipeng.gong at intel.com>; intel-vaapi-media at lists.01.org; mesa-dev at lists.freedesktop.org
Subject: [RFC 1/2] drm/i915: Engine discovery uAPI

>+u8 user_class_map[DRM_I915_ENGINE_CLASS_MAX] = {
>+	[DRM_I915_ENGINE_CLASS_OTHER] = OTHER_CLASS,
>+	[DRM_I915_ENGINE_CLASS_RENDER] = RENDER_CLASS,
>+	[DRM_I915_ENGINE_CLASS_COPY] = COPY_ENGINE_CLASS,
>+	[DRM_I915_ENGINE_CLASS_VIDEO_DECODE] = VIDEO_DECODE_CLASS,
>+	[DRM_I915_ENGINE_CLASS_VIDEO_ENHANCE] = VIDEO_ENHANCEMENT_CLASS, };
>+

Not sure whether VIDEO_DECODE is a suitable name, since the same engine is also used in Media Encode. 


More information about the Intel-gfx mailing list