OSDN Git Service

Open the DRM device of the primary framebuffer (fb0) android-x86-7.1-r4 android-x86-8.1-r1 android-x86-8.1-r2 android-x86-8.1-r3 android-x86-8.1-r4 android-x86-8.1-r5 android-x86-9.0-r1 android-x86-9.0-r2
authorChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 14 Jan 2019 05:16:42 +0000 (13:16 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 14 Jan 2019 05:16:42 +0000 (13:16 +0800)
commit0afe1961cda99527fa8827cfaeece393b77b57fc
treeef181e5a6b92f94c9254e1fa3bd12dd7ebf42ef7
parent22d8ed6e3de7537fd960c44207dfa347edafbcd5
Open the DRM device of the primary framebuffer (fb0)

With the new added drmOpenByFB function in libdrm, it's easy to find
the correct DRM device of the primary framebuffer.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
gralloc_gbm.cpp