[Mesa-dev] [PATCH 4/6] pipe-loader: add freedreno platform IDs

Lucas Stach l.stach at pengutronix.de
Wed Nov 6 08:22:54 PST 2013


Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 include/platform_ids/platform_driver_map.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/platform_ids/platform_driver_map.h b/include/platform_ids/platform_driver_map.h
index c428b81349e6..68595ef0a2f7 100644
--- a/include/platform_ids/platform_driver_map.h
+++ b/include/platform_ids/platform_driver_map.h
@@ -7,11 +7,16 @@
 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
 #endif
 
+static const char *freedreno_platform_ids[] = {
+   "msm",
+};
+
 static const struct {
    const char *driver;
    const char **platform_ids;
    int num_platform_ids;
 } platform_driver_map[] = {
+   { "freedreno", freedreno_platform_ids, ARRAY_SIZE(freedreno_platform_ids)},
    { NULL, NULL, 0 }
 };
 
-- 
1.8.4.rc3



More information about the mesa-dev mailing list