summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-02-04 16:00:17 +0000
committerSean V. Kelley <seanvk@users.noreply.github.com>2017-02-06 20:27:37 -0800
commit2eef7235d429b1051bcaf75281868f40ee563c9d (patch)
treeca03a1d5d88d84a609a71c90fda85eb518985565
parent81a2cf7de059954f9f026a6064f9dc4424a31196 (diff)
downloadlibva-2eef7235d429b1051bcaf75281868f40ee563c9d.tar.gz
drm: Fix Mesa driver names
The use of "gallium" as the driver name was removed in Mesa commit 0c0f841e5de27d01312f8857641668ca439b1ab1. This updates the mapping to use the individual driver names. Fixes #25. Signed-off-by: Mark Thompson <sw@jkqxz.net>
-rw-r--r--va/drm/va_drm_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/va/drm/va_drm_utils.c b/va/drm/va_drm_utils.c
index 041be79..d2cee26 100644
--- a/va/drm/va_drm_utils.c
+++ b/va/drm/va_drm_utils.c
@@ -41,8 +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
+ { "nouveau", 7, "nouveau" }, // Mesa Gallium driver
+ { "radeon", 6, "r600" }, // Mesa Gallium driver
{ NULL, }
};