diff options
author | Russell King <rmk@arm.linux.org.uk> | 2015-12-02 09:56:50 +0000 |
---|---|---|
committer | Russell King <rmk@arm.linux.org.uk> | 2015-12-02 09:56:50 +0000 |
commit | 70634ef7fd56966c13f97ca5275d1d718360fec6 (patch) | |
tree | 0951af02ede5458bb3b7b9327b6495c87c5588f7 | |
parent | 662b89b11936f5026546e43d08903288f0d5e092 (diff) |
src: fix GPU driver selection
Fix the GPU driver selection, which would avoid trying the etnadrm
module if libetnaviv support was disabled.
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
-rw-r--r-- | src/armada_module.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/armada_module.c b/src/armada_module.c index eef3c75..206049c 100644 --- a/src/armada_module.c +++ b/src/armada_module.c @@ -49,8 +49,10 @@ static const OptionInfoRec * const options[] = { }; static const char *armada_drm_accelerators[] = { -#ifdef HAVE_ACCEL_ETNAVIV +#ifdef HAVE_ACCEL_ETNADRM "etnadrm_gpu", +#endif +#ifdef HAVE_ACCEL_ETNAVIV "etnaviv_gpu", #endif #ifdef HAVE_ACCEL_GALCORE |