mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
backend/drm: Remove DMA-BUF import logging
It's not an unusual situation for a dma-buf import to fail.
This commit is contained in:
parent
f55eacac98
commit
8acff50508
2 changed files with 0 additions and 6 deletions
|
|
@ -756,8 +756,6 @@ static bool drm_connector_state_update_primary_fb(struct wlr_drm_connector *conn
|
||||||
&plane->formats);
|
&plane->formats);
|
||||||
wlr_buffer_unlock(local_buf);
|
wlr_buffer_unlock(local_buf);
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
wlr_drm_conn_log(conn, WLR_DEBUG,
|
|
||||||
"Failed to import buffer for scan-out");
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,6 @@ static struct wlr_drm_fb *drm_fb_create(struct wlr_drm_backend *drm,
|
||||||
struct wlr_buffer *buf, const struct wlr_drm_format_set *formats) {
|
struct wlr_buffer *buf, const struct wlr_drm_format_set *formats) {
|
||||||
struct wlr_dmabuf_attributes attribs;
|
struct wlr_dmabuf_attributes attribs;
|
||||||
if (!wlr_buffer_get_dmabuf(buf, &attribs)) {
|
if (!wlr_buffer_get_dmabuf(buf, &attribs)) {
|
||||||
wlr_log(WLR_DEBUG, "Failed to get DMA-BUF from buffer");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -169,9 +168,6 @@ static struct wlr_drm_fb *drm_fb_create(struct wlr_drm_backend *drm,
|
||||||
wlr_drm_format_set_has(formats, info->opaque_substitute, attribs.modifier)) {
|
wlr_drm_format_set_has(formats, info->opaque_substitute, attribs.modifier)) {
|
||||||
attribs.format = info->opaque_substitute;
|
attribs.format = info->opaque_substitute;
|
||||||
} else {
|
} else {
|
||||||
wlr_log(WLR_DEBUG, "Buffer format 0x%"PRIX32" with modifier "
|
|
||||||
"0x%"PRIX64" cannot be scanned out",
|
|
||||||
attribs.format, attribs.modifier);
|
|
||||||
goto error_fb;
|
goto error_fb;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue