summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authore-ruei1@ti.com <e-ruei1@ti.com>2016-12-07 21:00:59 +0000
committerDenys Dmytriyenko <denys@ti.com>2016-12-07 14:50:06 -0500
commit92f46e91b8af67f34c6396bb0bd360181872c072 (patch)
tree4fad76e7db8e5e7b54cbfdd5aef508f364fa3d72 /conf
parent76625a437d5180bf9753e7ef2552ab02f2beab0f (diff)
downloadmeta-ti-92f46e91b8af67f34c6396bb0bd360181872c072.tar.gz
ti-sgx-ddk-um: fix a bug at the drmModeAddFB() call at null_drm_ws.c
Both parameter depth and bpp are set to uiPixelWidthInBits at the current implementation, however, the depth may not be the same as bpp for certain pixel format such as XRGB8888. This bug was exposed by the recent DRM driver change introducing strict error checking. To fix this problem, add utility function uiPixelDepthInBits to derive and use depth based on the pixel format. Signed-off-by: Eric Ruei <e-ruei1@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'conf')
0 files changed, 0 insertions, 0 deletions