OSDN Git Service

habanalabs: set DMA0 completion to SOB 1007
authorOded Gabbay <oded.gabbay@gmail.com>
Thu, 28 Feb 2019 08:46:15 +0000 (10:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2019 12:04:59 +0000 (13:04 +0100)
commit887f7d38e4b0d0d2405eb835b914c22c9390dc7e
treec06abda7fdff53993cab490b6a4052ab28ea870b
parent6765fda0f49df033f19aceb867678da7ca09f57a
habanalabs: set DMA0 completion to SOB 1007

This patch fix a bug where DMA channel 0 completion address wasn't
initialized by the driver.

The patch sets the address to Sync Object no. 1007

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/habanalabs/goya/goya.c
drivers/misc/habanalabs/include/goya/asic_reg/goya_regs.h