Android-x86
Fork
Spenden

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-intel-libva: Commit

hardware/intel/libva


Commit MetaInfo

Revision1f026dec91ce7d3d0efc9c572687ea31d49a8678 (tree)
Zeit2016-02-02 17:42:23
AutorJulien Isorce <j.isorce@sams...>
CommiterXiang, Haihao

Log Message

driver_name_map: add nouveau and radeon for Mesa Gallium

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@samsung.com>

Ändern Zusammenfassung

Diff

--- 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[] = {
4141 { "pvrsrvkm", 8, "pvr" }, // Intel UMG PVR driver
4242 { "emgd", 4, "emgd" }, // Intel ECG PVR driver
4343 { "hybrid", 6, "hybrid" }, // Intel OTC Hybrid driver
44+ { "nouveau", 7, "gallium" }, // Mesa Gallium driver
45+ { "radeon", 6, "gallium" }, // Mesa Gallium driver
4446 { NULL, }
4547 };
4648
Show on old repository browser