diff options
author | Dalit Ben Zoor <dbenzoor@habana.ai> | 2019-05-01 12:16:18 +0200 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2019-05-01 12:16:18 +0200 |
commit | 5809e18e028218c006011dbbfe30429eaf4bb29b (patch) | |
tree | 4dcdb922899f661ca1bd1f78e962a13f78275d81 /drivers/misc/habanalabs/command_submission.c | |
parent | habanalabs: Manipulate DMA addresses in ASIC functions (diff) | |
download | linux-5809e18e028218c006011dbbfe30429eaf4bb29b.tar.xz linux-5809e18e028218c006011dbbfe30429eaf4bb29b.zip |
habanalabs: remove redundant member from parser struct
use_virt_addr member was used for telling whether to treat the
addresses in the CB as virtual during parsing. We disabled it only
when calling the parser from the driver memset device function,
and since this call had been removed, it should always be enabled.
Signed-off-by: Dalit Ben Zoor <dbenzoor@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/misc/habanalabs/command_submission.c')
-rw-r--r-- | drivers/misc/habanalabs/command_submission.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/habanalabs/command_submission.c b/drivers/misc/habanalabs/command_submission.c index c4ab694b51b5..6fe785e26859 100644 --- a/drivers/misc/habanalabs/command_submission.c +++ b/drivers/misc/habanalabs/command_submission.c @@ -93,7 +93,6 @@ static int cs_parser(struct hl_fpriv *hpriv, struct hl_cs_job *job) parser.user_cb_size = job->user_cb_size; parser.ext_queue = job->ext_queue; job->patched_cb = NULL; - parser.use_virt_addr = hdev->mmu_enable; rc = hdev->asic_funcs->cs_parser(hdev, &parser); if (job->ext_queue) { |