• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


Commit MetaInfo

Révision1f026dec91ce7d3d0efc9c572687ea31d49a8678 (tree)
l'heure2016-02-02 17:42:23
AuteurJulien Isorce <j.isorce@sams...>
CommiterXiang, Haihao

Message de Log

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>

Change Summary

Modification

--- 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