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 <[email protected]> > --- > 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, } > }; > _______________________________________________ Libva mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libva
