mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 05:50:10 +01:00
backend-drm/kms: Log writeback connector format
So it becomes easy to check in test output or when running `weston-debug drm-backend`. Signed-off-by: Robert Mader <robert.mader@collabora.com>
This commit is contained in:
parent
042aa06b28
commit
3706d860f1
1 changed files with 5 additions and 0 deletions
|
|
@ -1352,6 +1352,11 @@ drm_output_apply_state_atomic(struct drm_output_state *state,
|
|||
ret |= connector_add_prop(req, &wb_state->wb->connector,
|
||||
WDRM_CONNECTOR_WRITEBACK_OUT_FENCE_PTR,
|
||||
(uintptr_t)&wb_state->out_fence_fd);
|
||||
|
||||
drm_debug(b, "\t\t\t[CONN:%lu] FORMAT: %s\n",
|
||||
(unsigned long) wb_state->wb->connector.connector_id,
|
||||
wb_state->fb->format->drm_format_name);
|
||||
|
||||
if (!(*flags & DRM_MODE_ATOMIC_TEST_ONLY))
|
||||
wb_state->state = DRM_OUTPUT_WB_SCREENSHOT_CHECK_FENCE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue