configure/freedreno: make KGSL support optional

Graphics / Mesa 3D Graphics Library / libdrm - Rob Clark [freedesktop.org] - 18 January 2015 12:18 UTC

libdrm_freedreno currently supports two backends, 'msm' for the upstream drm/msm driver, and 'kgsl' which supports (to some extent), the android/ downstream kgsl driver plus a sort of drm shim nonsense to get flink names.

However, kgsl support is strictly on a best-effort basis. Different android devices with different versions of kgsl may have different abi's. And the existing kgsl interface (at least the parts of it that we use) is completely broken for 64bit. Lets disable it by default lest anyone actually try to use it.

28662b7 configure/freedreno: make KGSL support optional
configure.ac | 12 +++++++++++-
freedreno/Makefile.am | 3 +++
freedreno/Makefile.sources | 16 +++++++++-------
freedreno/freedreno_device.c | 10 ++++++----
4 files changed, 29 insertions(+), 12 deletions(-)

Upstream: cgit.freedesktop.org


  • Share