Files
kernel_arpi/include/linux
David Stevens fd921693fe drm/syncobj: use newly allocated stub fences
Allocate a new private stub fence in drm_syncobj_assign_null_handle,
instead of using a static stub fence.

When userspace creates a fence with DRM_SYNCOBJ_CREATE_SIGNALED or when
userspace signals a fence via DRM_IOCTL_SYNCOBJ_SIGNAL, the timestamp
obtained when the fence is exported and queried with SYNC_IOC_FILE_INFO
should match when the fence's status was changed from the perspective of
userspace, which is during the respective ioctl.

When a static stub fence started being used in by these ioctls, this
behavior changed. Instead, the timestamp returned by SYNC_IOC_FILE_INFO
became the first time anything used the static stub fence, which has no
meaning to userspace.

Signed-off-by: David Stevens <stevensd@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210408095428.3983055-1-stevensd@google.com
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
2021-04-08 12:21:13 +02:00
..
2021-02-26 09:41:03 -08:00
2021-02-17 14:07:48 +01:00
2021-02-11 13:24:44 -08:00
2021-02-26 09:41:03 -08:00
2021-02-17 14:12:42 +01:00
2021-02-26 09:41:02 -08:00
2021-02-26 09:41:03 -08:00
2021-02-26 09:41:03 -08:00
2021-03-13 11:27:30 -08:00
2021-02-16 16:11:14 -05:00
2021-02-17 13:17:49 -08:00
2021-02-26 09:40:59 -08:00
2021-02-26 09:41:03 -08:00
2021-03-02 17:25:46 -07:00
2021-02-20 10:13:32 -05:00
2021-02-13 17:17:53 +01:00
2021-03-22 15:02:14 +01:00