Commit a46366c9 authored by Lucas Stach's avatar Lucas Stach Committed by Rob Clark

drm-atomic: init out_fence_fd to -1

The current initial value of 0 is a valid fd, so this will trip up
the GPU submit on the first render, when used as an IN fence for rendering.
Reported-by: 's avatarPhilipp Zabel <>
Signed-off-by: 's avatarLucas Stach <>
Signed-off-by: 's avatarRob Clark <>
parent 5816934b
......@@ -33,8 +33,9 @@
#define VOID2U64(x) ((uint64_t)(unsigned long)(x))
static struct drm drm;
static struct drm drm = {
.kms_out_fence_fd = -1,
static int add_connector_property(drmModeAtomicReq *req, uint32_t obj_id,
const char *name, uint64_t value)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment