dumbfb: pass O_RDWR to drmPrimeHandleToFD()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 3 Nov 2016 09:52:44 +0000 (11:52 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 3 Nov 2016 09:52:44 +0000 (11:52 +0200)
commitce3b4b2a3c58653b285a543227e5a64a3d828327
tree242a23c442f5fdcab7c39d61a5c754c5d63e39a3
parent40b807f6d16562edc261414a39353471c006a331
dumbfb: pass O_RDWR to drmPrimeHandleToFD()

This enables write access to the dumb fb with mmap().

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
kms++/src/dumbframebuffer.cpp