]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:22:58 +0000 (14:22 -0300)
commit14e26499e2096cdb016bba51136655f009c379db
tree700dd2a0e49fe8364c9d4f725334a45baf1ae979
parent514bd5575efc6dd786e41681e8937e42e034119c
gpu: host1x: Fix syncpoint ID field size on Tegra186

BugLink: https://bugs.launchpad.net/bugs/1857158
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/gpu/host1x/hw/hw_host1x06_uclass.h