OSDN Git Service

Add DRI-based generic backend
authorRoman Stratiienko <r.stratiienko@gmail.com>
Mon, 7 Dec 2020 17:22:20 +0000 (19:22 +0200)
committerRoman Stratiienko <r.stratiienko@gmail.com>
Tue, 29 Dec 2020 10:36:43 +0000 (12:36 +0200)
commit5cb334878cadb700cf0d0a0f7f2ae13d526f30d6
tree6d0f38ac862d67f5a59124acc0d31bedc78c2e2d
parent80ab273a2a1911b19d5f9be6f065bd58569b2fe0
Add DRI-based generic backend

mesa3d project support graphic buffer allocation via DRI API for
various set of hardware, including systems with splitted GPU
and Display controller.

Use it as fallback backend in case no other backends were found in
the supported list.

Tested with Android on sun4i-drm and lima GPU (Pinephone).

Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Change-Id: I9d6ed0bdf3ef255c3c4f9be5385a7b87b571a232
amdgpu.c
cros_gralloc/cros_gralloc_driver.cc
dri.c
dri.h
dri_generic_driver.c [new file with mode: 0644]
drv.c
drv.h
drv_priv.h
dumb_driver.c