summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2020-09-04 21:36:46 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2020-09-22 18:49:52 +0300
commit5a1b861daab8379d792bfae917f317708d1c99d2 (patch)
treea3078ae0746e3545ca7b657432a20d50547ade34 /drivers/misc
parent763a0b4d81f60beb835dc3e8991aa9e1ed9f71b1 (diff)
downloadlinux-stable-5a1b861daab8379d792bfae917f317708d1c99d2.tar.gz
linux-stable-5a1b861daab8379d792bfae917f317708d1c99d2.tar.bz2
linux-stable-5a1b861daab8379d792bfae917f317708d1c99d2.zip
habanalabs: increase PQ COMP_OFFSET by one nibble
For future ASICs, we increase this field by one nibble. This field was not used by the current ASICs so this change doesn't break anything. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/habanalabs/include/common/qman_if.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/habanalabs/include/common/qman_if.h b/drivers/misc/habanalabs/include/common/qman_if.h
index 0fdb49188ed7..7ed7739575ee 100644
--- a/drivers/misc/habanalabs/include/common/qman_if.h
+++ b/drivers/misc/habanalabs/include/common/qman_if.h
@@ -40,7 +40,7 @@ struct hl_bd {
*/
#define BD_CTL_COMP_OFFSET_SHIFT 16
-#define BD_CTL_COMP_OFFSET_MASK 0x00FF0000
+#define BD_CTL_COMP_OFFSET_MASK 0x0FFF0000
#define BD_CTL_COMP_DATA_SHIFT 0
#define BD_CTL_COMP_DATA_MASK 0x0000FFFF