]> git.infradead.org Git - users/hch/misc.git/commit
accel/habanalabs: expose rotator mask to userspace
authorOfir Bitton <obitton@habana.ai>
Mon, 13 Mar 2023 20:30:23 +0000 (22:30 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Mon, 20 Mar 2023 15:35:34 +0000 (17:35 +0200)
commit958e47977bd12e06752a559541867028b120de76
tree4652b2ce8bbf20e4bee055a26ed645520a12a05e
parent481e9a0fda5cf38b795d473058cb8c77d9d1dc5c
accel/habanalabs: expose rotator mask to userspace

All engine masks are exposed to user, make sure user gets the
correct rotator enabled mask in gaudi2.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/common/habanalabs.h
drivers/accel/habanalabs/common/habanalabs_ioctl.c
drivers/accel/habanalabs/gaudi2/gaudi2.c
include/uapi/drm/habanalabs_accel.h