summaryrefslogtreecommitdiff
path: root/drivers/gpu/host1x/hw/hw_host1x07_uclass.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/host1x/hw/hw_host1x07_uclass.h')
-rw-r--r--drivers/gpu/host1x/hw/hw_host1x07_uclass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/hw/hw_host1x07_uclass.h b/drivers/gpu/host1x/hw/hw_host1x07_uclass.h
index 8cd2ef087d5d..887b878f92f7 100644
--- a/drivers/gpu/host1x/hw/hw_host1x07_uclass.h
+++ b/drivers/gpu/host1x/hw/hw_host1x07_uclass.h
@@ -53,7 +53,7 @@ static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v)
host1x_uclass_incr_syncpt_cond_f(v)
static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v)
{
- return (v & 0xff) << 0;
+ return (v & 0x3ff) << 0;
}
#define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \
host1x_uclass_incr_syncpt_indx_f(v)