habanalabs: remove call to cs_parser()
authorDalit Ben Zoor <dbenzoor@habana.ai>
Tue, 30 Apr 2019 12:22:14 +0000 (15:22 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 30 Apr 2019 12:22:14 +0000 (15:22 +0300)
commit3706b47006a9c8aa867d314f913d3b1310163d63
treea9af0e7e65a1d2bb2fc0df81972b727bc5c0dd7c
parent03d5f641dc711eb93145ded91ed68b4be729be4d
habanalabs: remove call to cs_parser()

There is no need to parse the command submission when doing memset
of the device memory using the DMA engine because only the driver calls
the memset function and therefore, the CS is trusted and doesn't require
validation and patching.

Signed-off-by: Dalit Ben Zoor <dbenzoor@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/goya/goya.c