[PATCH 0/6] A few drm_syncobj optimisations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxxx>

A small set of drm_syncobj optimisations which should make things a tiny bit
more efficient on the CPU side of things.

/Maybe/ between 1-2% more FPS can be observed with "vkgears -present-mailbox" on
the Steam Deck Plasma desktop but I am reluctant to make a definitive claim. It
would be best if someone could verify or suggest a more heavy workload for
syncobjs.

Less lines of source code and "Every little helps" (tm), right?

Tvrtko Ursulin (6):
  drm/syncobj: Avoid double memset in drm_syncobj_find_fence
  drm/syncobj: Remove unhelpful helper
  drm/syncobj: Do not allocate an array to store zeros
  drm/syncobj: Avoid one temporary allocation in drm_syncobj_array_find
  drm/syncobj: Use put_user in drm_syncobj_query_ioctl
  drm/syncobj: Avoid temporary allocation in
    drm_syncobj_timeline_signal_ioctl

 drivers/gpu/drm/drm_syncobj.c | 238 +++++++++++++++-------------------
 1 file changed, 106 insertions(+), 132 deletions(-)

-- 
2.47.1




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux