aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/dma-buf/dma-fence.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2023-08-23 14:54:54 -0700
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>2023-12-02 01:17:45 +0200
commit8570c27932e132d2663e8120311891deb2a853de (patch)
tree64263dc9a6adecd77706f312f38bf2489000cfc1 /drivers/dma-buf/dma-fence.c
parentaccel/qaic: Expand DRM device lifecycle (diff)
downloadwireguard-linux-8570c27932e132d2663e8120311891deb2a853de.tar.xz
wireguard-linux-8570c27932e132d2663e8120311891deb2a853de.zip
drm/syncobj: Add deadline support for syncobj waits
Add a new flag to let userspace provide a deadline as a hint for syncobj and timeline waits. This gives a hint to the driver signaling the backing fences about how soon userspace needs it to compete work, so it can adjust GPU frequency accordingly. An immediate deadline can be given to provide something equivalent to i915 "wait boost". v2: Use absolute u64 ns value for deadline hint, drop cap and driver feature flag in favor of allowing count_handles==0 as a way for userspace to probe kernel for support of new flag v3: More verbose comments about UAPI v4: Fix negative zero, s/deadline_ns/deadline_nsec/ for consistency with existing ioctl struct fields v5: Comment/description typo fixes Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> [DB: fixed checkpatch warnings] Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230823215458.203366-2-robdclark@gmail.com
Diffstat (limited to 'drivers/dma-buf/dma-fence.c')
0 files changed, 0 insertions, 0 deletions