]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpu: host1x: Fix mask for syncpoint increment register
authorMikko Perttunen <mperttunen@nvidia.com>
Thu, 19 Jan 2023 13:38:59 +0000 (15:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:33:16 +0000 (09:33 +0100)
commit0906026ac285eb849a05549040f9faa4a9a037a4
tree260df344f7e9effec804fbcf1b4406c92aba173e
parentb15b3e9499cb53e546f6c56815de7dfdd31b20f6
gpu: host1x: Fix mask for syncpoint increment register

[ Upstream commit 79aad29c7d2d2cd64790115d3a6ebac28c00a8ec ]

On Tegra186+, the syncpoint ID has 10 bits of space. To allow
using more than 256 syncpoints, fix the mask.

Fixes: 9abdd497cd0a ("gpu: host1x: Tegra234 device data and headers")
Signed-off-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
drivers/gpu/host1x/hw/hw_host1x07_uclass.h
drivers/gpu/host1x/hw/hw_host1x08_uclass.h