drm/freedreno
Rob Clark 28662b77ee configure/freedreno: make KGSL support optional
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.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
2015-01-18 13:18:33 -05:00
..
kgsl fix compile error on 32bit systems 2014-09-28 14:30:07 -04:00
msm fix compile error on 32bit systems 2014-09-28 14:30:07 -04:00
Android.mk freedreno: add Android build support 2014-09-01 16:06:02 +01:00
Makefile.am configure/freedreno: make KGSL support optional 2015-01-18 13:18:33 -05:00
Makefile.sources configure/freedreno: make KGSL support optional 2015-01-18 13:18:33 -05:00
README freedreno: add freedreno DRM 2013-02-14 12:13:15 -05:00
freedreno_bo.c freedreno: do handle lookup on handle and dmabuf import 2014-11-18 12:17:09 -05:00
freedreno_device.c configure/freedreno: make KGSL support optional 2015-01-18 13:18:33 -05:00
freedreno_drmif.h freedreno: add dmabuf import/export helpers 2014-09-21 22:16:37 -04:00
freedreno_pipe.c fix compile error on 32bit systems 2014-09-28 14:30:07 -04:00
freedreno_priv.h freedreno: use drm_mmap/drm_munmap wrappers 2014-09-28 17:09:34 +01:00
freedreno_ringbuffer.c fix compile error on 32bit systems 2014-09-28 14:30:07 -04:00
freedreno_ringbuffer.h freedreno: allow IB to different ringbuffer 2014-01-07 11:33:54 -05:00
libdrm_freedreno.pc.in freedreno: add freedreno DRM 2013-02-14 12:13:15 -05:00
list.h freedreno: add freedreno DRM 2013-02-14 12:13:15 -05:00

README

Note that current msm kernel driver is a bit strange.  It provides a
DRM interface for GEM, which is basically sufficient to have DRI2
working.  But it does not provide KMS.  And interface to 2d and 3d
cores is via different other devices (/dev/kgsl-*).  This is not
quite how I'd write a DRM driver, but at this stage it is useful for
xf86-video-freedreno and fdre (and eventual gallium driver) to be
able to work on existing kernel driver from QCOM, to allow to
capture cmdstream dumps from the binary blob drivers without having
to reboot.  So libdrm_freedreno attempts to hide most of the crazy.
The intention is that when there is a proper kernel driver, it will
be mostly just changes in libdrm_freedreno to adapt the gallium
driver and xf86-video-freedreno (ignoring the fbdev->KMS changes).

So don't look at freedreno as an example of how to write a libdrm
module or a DRM driver.. it is just an attempt to paper over a non-
standard kernel driver architecture.