[Libva] [PATCH] driver_name_map: add nouveau and radeon for Mesa Gallium
Xiang, Haihao
haihao.xiang at intel.com
Tue Feb 2 09:45:09 CET 2016
Thanks for your patch, applied.
Haihao
> 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(+)
>
> 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