projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ef9138
)
release and clear next_bo when pageFlip fails
author
Elvis Lee
<kwangwoong.lee@lge.com>
Sat, 21 Jul 2012 03:45:41 +0000
(12:45 +0900)
committer
Qt by Nokia
<qt-info@nokia.com>
Sat, 21 Jul 2012 09:17:17 +0000
(11:17 +0200)
pageFlip failure makes starvation in waitForPageFlipComplete.
Change-Id: Ifbcdda2a4138753f475e4c37767058014cc4230b
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
src/plugins/platforms/kms/qkmsscreen.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/platforms/kms/qkmsscreen.cpp
b/src/plugins/platforms/kms/qkmsscreen.cpp
index
abf86d4
..
9c17c72
100644
(file)
--- a/
src/plugins/platforms/kms/qkmsscreen.cpp
+++ b/
src/plugins/platforms/kms/qkmsscreen.cpp
@@
-233,7
+233,11
@@
void QKmsScreen::performPageFlip()
fb_id,
DRM_MODE_PAGE_FLIP_EVENT, this);
if (pageFlipStatus)
+ {
qWarning("Pageflip status: %d", pageFlipStatus);
+ gbm_surface_release_buffer(m_gbmSurface, m_next_bo);
+ m_next_bo = 0;
+ }
}
void QKmsScreen::handlePageFlipped()