From 6d0c9358463bd2544ef40d62c41f5e4250a4e54d Mon Sep 17 00:00:00 2001 From: James Jones Date: Tue, 22 Jun 2021 17:44:17 -0700 Subject: [PATCH] gbm: Rename the DRI backend from gbm_dri.so to dri MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A subsequent change will allow loading backends from DSOs specified by the GBM_BACKEND environment variable. The exact DSO name and path are derived by the common loader code and will be of the form: /_gbm.so E.g., a user would set the environment variable to "external" to load "external_gbm.so". Users will also still be able to explicitly request any builtin backends by name as well, so this change helps keep the environment variable syntax consistent between internal and external backends. Signed-off-by: James Jones Reviewed-by: Michel Dänzer Reviewed-by: Emil Velikov Part-of: --- src/gbm/main/backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gbm/main/backend.c b/src/gbm/main/backend.c index ef9cfd6dfe6..7f527fcf0f8 100644 --- a/src/gbm/main/backend.c +++ b/src/gbm/main/backend.c @@ -45,7 +45,7 @@ struct gbm_backend_desc { }; static const struct gbm_backend_desc builtin_backends[] = { - { "gbm_dri.so", &gbm_dri_backend }, + { "dri", &gbm_dri_backend }, }; static struct gbm_device *