Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpu: host1x: Fix syncpoint ID field size on Tegra186

The number of syncpoints on Tegra186 is 576 and therefore no longer fits
into 8 bits. Increase the size of the syncpoint ID field to 10 in order
to accomodate all syncpoints.

Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

+1 -1
+1 -1
drivers/gpu/host1x/hw/hw_host1x06_uclass.h
··· 59 59 host1x_uclass_incr_syncpt_r() 60 60 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) 61 61 { 62 - return (v & 0xff) << 8; 62 + return (v & 0xff) << 10; 63 63 } 64 64 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ 65 65 host1x_uclass_incr_syncpt_cond_f(v)