]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: don't set default fence_ops->wait
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 11 May 2020 09:11:42 +0000 (11:11 +0200)
committerOded Gabbay <oded.gabbay@gmail.com>
Mon, 25 May 2020 05:15:33 +0000 (08:15 +0300)
commit54c86e7b50d224855096d2b5c29ff5dba3cd6b96
tree8984092ecc06498513a2886171b41f535d562f9c
parent74e7201b20b238a21997896d6f3c2533db150cc2
habanalabs: don't set default fence_ops->wait

It's the default.

Also so much for "we're not going to tell the graphics people how to
review their code", dma_fence is a pretty core piece of gpu driver
infrastructure. And it's very much uapi relevant, including piles of
corresponding userspace protocols and libraries for how to pass these
around.

Would be great if habanalabs would not use this (from a quick look
it's not needed at all), since open source the userspace and playing
by the usual rules isn't on the table. If that's not possible (because
it's actually using the uapi part of dma_fence to interact with gpu
drivers) then we have exactly what everyone promised we'd want to
avoid.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/command_submission.c