evadot / drm-subtree

WIP drm drivers for FreeBSD
15 stars 9 forks source link

drm_ioctl: use ioctl data (arg) directly #21

Closed bukinr closed 2 years ago

bukinr commented 2 years ago

Eliminate a call to malloc(), two extra calls to memcpy() and an extra call to memset() on every ioctll as all not needed. (The ioctl argument is already kernel space, we don't need to copy it.)