]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: Support 40-bit addressing
authorThierry Reding <treding@nvidia.com>
Fri, 1 Feb 2019 13:28:25 +0000 (14:28 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 7 Feb 2019 17:28:35 +0000 (18:28 +0100)
commit02cc60685f34433f698e5e0756d0f4f4bc670274
tree92fa1607b4b4e341508dd3d65c9e74908c04c35a
parent25f6b6a4e1b4235fde38fc0f3606c0587a10fbb9
gpu: host1x: Support 40-bit addressing

Tegra186 and later support 40 bits of address space. Additional
registers need to be programmed to store the full 40 bits of push
buffer addresses.

Since command stream gathers can also reside in buffers in a 40-bit
address space, a new variant of the GATHER opcode is also introduced.
It takes two parameters: the first parameter contains the lower 32
bits of the address and the second parameter contains bits 32 to 39.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/hw/cdma_hw.c
drivers/gpu/host1x/hw/channel_hw.c
drivers/gpu/host1x/hw/host1x06_hardware.h
drivers/gpu/host1x/hw/host1x07_hardware.h