]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
habanalabs: increase PQ COMP_OFFSET by one nibble
authorOded Gabbay <oded.gabbay@gmail.com>
Fri, 4 Sep 2020 18:36:46 +0000 (21:36 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 22 Sep 2020 15:49:52 +0000 (18:49 +0300)
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>
drivers/misc/habanalabs/include/common/qman_if.h

index 0fdb49188ed7cda05f766e1247c21e03de8b828a..7ed7739575eefdf85e20b4ca1c5bc13ad58e990a 100644 (file)
@@ -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