Codebase list kmscube / a46366c
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: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Rob Clark <robdclark@gmail.com> Lucas Stach authored 7 years ago Rob Clark committed 7 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
3232
3333 #define VOID2U64(x) ((uint64_t)(unsigned long)(x))
3434
35 static struct drm drm;
36
35 static struct drm drm = {
36 .kms_out_fence_fd = -1,
37 };
3738
3839 static int add_connector_property(drmModeAtomicReq *req, uint32_t obj_id,
3940 const char *name, uint64_t value)