OSDN Git Service

gpu: host1x: Fix syncpoint ID field size on Tegra186
authorThierry Reding <treding@nvidia.com>
Mon, 19 Nov 2018 10:31:30 +0000 (11:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Dec 2019 07:51:58 +0000 (08:51 +0100)
commit5f7d707b15885cb039477d91867e653b243f7c2f
treebd37b4893b3229c02820498de1e29e6e6e4f1156
parent0dcdd33f8e13380b11965491bdefc29eca3f69ec
gpu: host1x: Fix syncpoint ID field size on Tegra186

[ Upstream commit 2fc777ba8422e4a38cae61537ad6a26435a86fb8 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/host1x/hw/hw_host1x06_uclass.h