mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-07-16 14:27:48 +00:00
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>
This commit is contained in:
committed by
Denys Dmytriyenko
parent
08947a4979
commit
ca02a57aa9
@@ -8,7 +8,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
BRANCH = "ti-img-sgx/${PV}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
|
||||
SRCREV = "a5152f0b90bf3916eb1f478ac9fefe7d7ebe8bd9"
|
||||
SRCREV = "3c0537748dd283b2de9c5369570aa2aade5a9979"
|
||||
|
||||
# There's only hardfp version available
|
||||
python __anonymous() {
|
||||
@@ -31,7 +31,7 @@ INITSCRIPT_PARAMS = "defaults 8"
|
||||
|
||||
inherit update-rc.d
|
||||
|
||||
PR = "r17"
|
||||
PR = "r18"
|
||||
PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux"
|
||||
|
||||
DEPENDS += "libdrm udev libgbm wayland libffi"
|
||||
|
||||
Reference in New Issue
Block a user