eglfs: kms: Log gbm bo handle and stride as well
Change-Id: Ie345a3f4a4ab0407e3c532c6385ae31ca698d628 Reviewed-by: Andy Nichols <andy.nichols@qt.io> (cherry picked from commit 3bda970935d4d54c07fa1d6454e2472abff66a77) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
c834aefa77
commit
d95069771b
@ -96,7 +96,8 @@ QEglFSKmsGbmScreen::FrameBuffer *QEglFSKmsGbmScreen::framebufferForBufferObject(
|
||||
uint32_t pixelFormat = gbmFormatToDrmFormat(gbm_bo_get_format(bo));
|
||||
|
||||
QScopedPointer<FrameBuffer> fb(new FrameBuffer);
|
||||
qCDebug(qLcEglfsKmsDebug, "Adding FB, size %ux%u, DRM format 0x%x", width, height, pixelFormat);
|
||||
qCDebug(qLcEglfsKmsDebug, "Adding FB, size %ux%u, DRM format 0x%x, stride %u, handle %u",
|
||||
width, height, pixelFormat, strides[0], handles[0]);
|
||||
|
||||
int ret = drmModeAddFB2(device()->fd(), width, height, pixelFormat,
|
||||
handles, strides, offsets, &fb->fb, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user