]> 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)
commitb518b65263f3bc68ad34fd13b463508e50437f67
tree92fa1607b4b4e341508dd3d65c9e74908c04c35a
parenta5aae71e593e2f958f96ac33a1b6afd34339a027
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