projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ffe1e2
)
e_plane: add checking return value
author
Boram Park
<boram1288.park@samsung.com>
Thu, 7 Dec 2017 02:15:32 +0000
(11:15 +0900)
committer
Boram Park
<boram1288.park@samsung.com>
Thu, 7 Dec 2017 02:46:40 +0000
(11:46 +0900)
Change-Id: Ide005ae2a3fd36d1948303a8d00f9c5764c2a3cb
src/bin/e_plane.c
patch
|
blob
|
history
diff --git
a/src/bin/e_plane.c
b/src/bin/e_plane.c
index 49337c8fbad98ad7f61d0022c42a8e36edd0e6f9..96024e9e2cf7c967cb7d75ecd18c0623af97406e 100644
(file)
--- a/
src/bin/e_plane.c
+++ b/
src/bin/e_plane.c
@@
-2905,6
+2905,9
@@
e_plane_dpms_off(E_Plane *plane)
{
E_Plane_Commit_Data *data;
Eina_List *l = NULL, *ll = NULL;
+ tdm_error ret;
+
+ if (!plane) return;
/* pp */
_e_plane_pp_pending_data_remove(plane);
@@
-2921,7
+2924,9
@@
e_plane_dpms_off(E_Plane *plane)
_e_plane_unset_reset(plane);
_e_plane_surface_unset(plane);
- tdm_layer_commit(plane->tlayer, NULL, NULL);
+ ret = tdm_layer_commit(plane->tlayer, NULL, NULL);
+ if (ret != TDM_ERROR_NONE)
+ ERR("fail to tdm_layer_commit plane:%p, zpos:%d", plane, plane->zpos);
EINA_LIST_FOREACH_SAFE(plane->commit_data_list, l, ll, data)
{