diff options
author | James Jones <jajones@nvidia.com> | 2021-06-22 17:44:17 -0700 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-07-06 16:57:59 +0000 |
commit | 6d0c9358463bd2544ef40d62c41f5e4250a4e54d (patch) | |
tree | fed245e7a4664c4634122dad74ee925706991479 | |
parent | 7f615c66fbdd0a7aa7a513d011956dcc6c0ac2e6 (diff) |
gbm: Rename the DRI backend from gbm_dri.so to dri
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_backend_path>/<GBM_BACKEND>_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 <jajones@nvidia.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9902>
-rw-r--r-- | src/gbm/main/backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 * |