gpu: host1x: Fix mask for syncpoint increment register
[linux-2.6-microblaze.git] / drivers / gpu / host1x / hw / hw_host1x08_uclass.h
index 724cccd..4fb1d09 100644 (file)
@@ -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)