OSDN Git Service

Add framebuffer HAL implementation based on drm_framebuffer (v4)
authorMauro Rossi <issor.oruam@gmail.com>
Sat, 25 Jan 2020 20:34:29 +0000 (21:34 +0100)
committerMauro Rossi <issor.oruam@gmail.com>
Tue, 29 Dec 2020 12:54:30 +0000 (13:54 +0100)
commitaf6e5afba0ddcd067a36781dbb652ed4040a0cbb
tree1d9a929c81cfb47cdd8d5ef10d838c0c66235c9d
parentfe6d747787212b2ae946e76862caf03873a11241
Add framebuffer HAL implementation based on drm_framebuffer (v4)

(v1) original lambdadroid implementation

(v2) changes in drv.h due to following commits:
     48b4c08 ("minigbm: fix flags to align with GBM")
     6e6dc49 ("minigbm: virtio: restrict formats supported without 3D")

(v3) changes in drv.h due to aosp master branch minigbm implementation

NOTE: #define BO_USE_FRAMEBUFFER (1ull << 19) as the fist available bit

(v4) changes due to aosp updates in cros_gralloc_handle.h, drv.h, drv_priv.h

Change-Id: I1e1192a25ba1105c0230eb63ea50d31115afb6f2
12 files changed:
Android.bp
cros_gralloc/cros_gralloc_driver.cc
cros_gralloc/cros_gralloc_driver.h
cros_gralloc/cros_gralloc_handle.h
cros_gralloc/cros_gralloc_helpers.cc
cros_gralloc/cros_gralloc_helpers.h
cros_gralloc/gralloc0/drm_framebuffer.c [new file with mode: 0644]
cros_gralloc/gralloc0/drm_framebuffer.h [new file with mode: 0644]
cros_gralloc/gralloc0/gralloc0.cc
drv.h
drv_priv.h
i915.c