[Libva] [PATCH] driver_name_map: add nouveau and radeon for Mesa Gallium

Sean V Kelley seanvk at posteo.de
Thu Dec 3 14:37:47 PST 2015


Hi Julien,

On 11/27/2015 12:53 AM, Julien Isorce wrote:
> This patch allows va_getDriverName to succeed. It is useful in
> vaInitialize to select the vaapi driver provided by Mesa Gallium: 
> lib/dri/gallium_drv_video.so
> 
> Signed-off-by: Julien Isorce <j.isorce at samsung.com> --- 
> va/drm/va_drm_utils.c | 2 ++ 1 file changed, 2 insertions(+)

Can you provide a status on the Gallium patch series, have they been
merged?  What testing have you done with the gallium backend enabled?

Thanks,

Sean


> 
> diff --git a/va/drm/va_drm_utils.c b/va/drm/va_drm_utils.c index
> 71091fd..041be79 100644 --- a/va/drm/va_drm_utils.c +++
> b/va/drm/va_drm_utils.c @@ -41,6 +41,8 @@ static const struct
> driver_name_map g_driver_name_map[] = { { "pvrsrvkm",   8, "pvr"
> }, // Intel UMG PVR driver { "emgd",       4, "emgd"   }, // Intel
> ECG PVR driver { "hybrid",     6, "hybrid" }, // Intel OTC Hybrid
> driver +    { "nouveau",    7, "gallium" }, // Mesa Gallium driver 
> +    { "radeon",     6, "gallium" }, // Mesa Gallium driver { NULL,
> } };
> 
> 


More information about the Libva mailing list