summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/hw/host1x07_hardware.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/host1x/hw/host1x07_hardware.h')
-rw-r--r--drivers/gpu/host1x/hw/host1x07_hardware.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/hw/host1x07_hardware.h b/drivers/gpu/host1x/hw/host1x07_hardware.h
index a79f57dc87bb..9f6da4ee5443 100644
--- a/drivers/gpu/host1x/hw/host1x07_hardware.h
+++ b/drivers/gpu/host1x/hw/host1x07_hardware.h
@@ -138,6 +138,11 @@ static inline u32 host1x_opcode_gather_incr(unsigned offset, unsigned count)
return (6 << 28) | (offset << 16) | BIT(15) | BIT(14) | count;
}
+static inline u32 host1x_opcode_gather_wide(unsigned count)
+{
+ return (12 << 28) | count;
+}
+
#define HOST1X_OPCODE_NOP host1x_opcode_nonincr(0, 0)
#endif