author | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Fri, 8 Jan 2016 13:54:15 +0000 (15:54 +0200) | ||
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Tue, 12 Jan 2016 12:52:37 +0000 (14:52 +0200) | ||
commit | 9eb3db0f74f005441ce8ff4554a82e1cea91527f | |
tree | 2905a62e7b486a70d77552d3a142825e5067766e | tree | snapshot (tar.xz tar.gz zip) |
parent | d8db8461d47ac76b4e6d661c72328624a589327b | commit | diff |
DumbFB: fix dumb buffer alloc for omap NV12
Dividing the bitspp with xsub works better than dividing the width, as
otherwise the buffer stride will get aligned easily quite a bit. This is
somewhat OMAP specific fix/work-around, but then, it's not clear how
NV12 buffer sizes should be calculated anyway.
Dividing the bitspp with xsub works better than dividing the width, as
otherwise the buffer stride will get aligned easily quite a bit. This is
somewhat OMAP specific fix/work-around, but then, it's not clear how
NV12 buffer sizes should be calculated anyway.
libkms++/dumbframebuffer.cpp | diff | blob | history |