OSDN Git Service

Sync with the gbm API to import FD with modifier
authorAleksander Morgado <aleksander@aleksander.es>
Tue, 4 Jul 2017 21:08:27 +0000 (23:08 +0200)
committerRob Herring <robherring2@gmail.com>
Thu, 6 Jul 2017 21:08:12 +0000 (16:08 -0500)
commit5a1b30eb410bf88f9804a7bd29554f52a86348a6
tree2bf8b414518d4389ba94f2ce26884317352b636e
parent21910353a1d5b03d18d25be22516b51e580885a2
Sync with the gbm API to import FD with modifier

Commit 4026744fcb31f1d27c1b32e6945aadd4da415c6d in mesa introduced an
updated `struct gbm_import_fd_modifier_data' with arrays for fds,
strides and offsets, instead of single values.

Fix just by specifying one single item in the arrays.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
gralloc_gbm.cpp