drm/syncobj: Tune down unordered timeline DRM_ERROR
Subsystems (2)
PATCH 1/1 drm/syncobj: Tune down unordered timeline DRM_ERROR
Userspace can provoke this, we generally don't allow userspace to spam dmesg. Tune it down to debug. Unfortunately we don't have easy access to the drm_device here (not at all without changing a few things), so leave it as old style dmesg output for now.
References: https://patchwork.freedesktop.org/series/80146/
--- drivers/gpu/drm/drm_syncobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_syncobj.c +1 -1
@@ -297,7 +297,7 @@ void drm_syncobj_add_point(struct drm_syncobj *syncobj, prev =drm_syncobj_fence_get (syncobj);/* You are adding an unorder point to timeline, which could cause payload returned from query_ioctl is 0! */ if (prev && prev->seqno >= point) -DRM_ERROR ("You are adding an unorder point to timeline!\n" ); +DRM_DEBUG ("You are adding an unorder point to timeline!\n" );dma_fence_chain_init (chain, prev, fence, point);rcu_assign_pointer (syncobj->fence, &chain->base);
Signature · 6 lines
2.27.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 19 lines · Daniel Vetter
Userspace can provoke this, we generally don't allow userspace to spam dmesg. Tune it down to debug. Unfortunately we don't have easy access to the
drm_devicehere (not at all without changing a few things), so leave it as old style dmesg output for now.References: https://patchwork.freedesktop.org/series/80146/
Signed-off-by Daniel Vetter <[email protected]>Cc Chris Wilson <[email protected]>Cc Lionel Landwerlin <[email protected]>Cc "Christian König" <[email protected]>--- drivers/gpu/drm/drm_syncobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/drm_syncobj.c +0
-0
drivers/gpu/drm/drm_syncobj.c void drm_syncobj_add_point(struct drm_syncobj *syncobj, · line 303
Quoted 8 lines
drivers/gpu/drm/drm_syncobj.c +1
-1@@ -297,7 +297,7 @@ void drm_syncobj_add_point(struct drm_syncobj *syncobj, prev =drm_syncobj_fence_get (syncobj);/* You are adding an unorder point to timeline, which could cause payload returned from query_ioctl is 0! */ if (prev && prev->seqno >= point) -DRM_ERROR ("You are adding an unorder point to timeline!\n" ); +DRM_DEBUG ("You are adding an unorder point to timeline!\n" );dma_fence_chain_init (chain, prev, fence, point);rcu_assign_pointer (syncobj->fence, &chain->base);
Thanks,
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 30 lines · Lionel Landwerlin
Quoted 19 lines · Daniel Vetter
Userspace can provoke this, we generally don't allow userspace to spam dmesg. Tune it down to debug. Unfortunately we don't have easy access to the
drm_devicehere (not at all without changing a few things), so leave it as old style dmesg output for now.References: https://patchwork.freedesktop.org/series/80146/
Signed-off-by Daniel Vetter <[email protected]>Cc Chris Wilson <[email protected]>Cc Lionel Landwerlin <[email protected]>Cc "Christian König" <[email protected]>--- drivers/gpu/drm/drm_syncobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/drm_syncobj.c +0
-0drivers/gpu/drm/drm_syncobj.c void drm_syncobj_add_point(struct drm_syncobj *syncobj, · line 302
Quoted 7 lines
drivers/gpu/drm/drm_syncobj.c +1
-1@@ -297,7 +297,7 @@ void drm_syncobj_add_point(struct drm_syncobj *syncobj, prev =drm_syncobj_fence_get (syncobj);/* You are adding an unorder point to timeline, which could cause payload returned from query_ioctl is 0! */ if (prev && prev->seqno >= point) -DRM_ERROR ("You are adding an unorder point to timeline!\n" ); +DRM_DEBUG ("You are adding an unorder point to timeline!\n" );dma_fence_chain_init (chain, prev, fence, point);rcu_assign_pointer (syncobj->fence, &chain->base);Thanks,
Quoted 1 line
Thanks for taking a look, applied it now.
-Daniel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel