mirror of
https://gitlab.freedesktop.org/emersion/libliftoff.git
synced 2024-12-26 21:59:18 +01:00
Log when a test-only commit fails
This commit is contained in:
parent
b941c3eb03
commit
f88df73fad
1 changed files with 5 additions and 3 deletions
8
alloc.c
8
alloc.c
|
@ -406,9 +406,6 @@ int output_choose_layers(struct liftoff_output *output,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Try to use this layer for the current plane */
|
/* Try to use this layer for the current plane */
|
||||||
liftoff_log(LIFTOFF_DEBUG, " Layer %p -> plane %"PRIu32": "
|
|
||||||
"applying properties...",
|
|
||||||
(void *)layer, plane->id);
|
|
||||||
ret = plane_apply(plane, layer, result->req);
|
ret = plane_apply(plane, layer, result->req);
|
||||||
if (ret == -EINVAL) {
|
if (ret == -EINVAL) {
|
||||||
liftoff_log(LIFTOFF_DEBUG,
|
liftoff_log(LIFTOFF_DEBUG,
|
||||||
|
@ -433,6 +430,11 @@ int output_choose_layers(struct liftoff_output *output,
|
||||||
}
|
}
|
||||||
} else if (ret != -EINVAL && ret != -ERANGE) {
|
} else if (ret != -EINVAL && ret != -ERANGE) {
|
||||||
return ret;
|
return ret;
|
||||||
|
} else {
|
||||||
|
liftoff_log(LIFTOFF_DEBUG,
|
||||||
|
" Layer %p -> plane %"PRIu32": "
|
||||||
|
"test-only commit failed",
|
||||||
|
(void *)layer, plane->id);
|
||||||
}
|
}
|
||||||
|
|
||||||
drmModeAtomicSetCursor(result->req, cursor);
|
drmModeAtomicSetCursor(result->req, cursor);
|
||||||
|
|
Loading…
Reference in a new issue