]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: debug: Use dma_addr_t more consistently
authorThierry Reding <treding@nvidia.com>
Fri, 9 Jul 2021 16:55:18 +0000 (18:55 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 13 Aug 2021 16:23:32 +0000 (18:23 +0200)
commit925769a66d62ae59fdc92b0e5574254e36c9d617
tree2cc46a725b5f82112393364576b1a73bab021352
parent821879e087a1a13ac1dd22ea543b15bf934718b6
gpu: host1x: debug: Use dma_addr_t more consistently

The host1x debug code uses a mix of phys_addr_t, dma_addr_t and u32 to
represent addresses. However, these addresses are always DMA addresses
so use the appropriate type.

This fixes some issues with how these addresses are displayed, because
they could be truncated in some cases and not show the full address.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/hw/debug_hw.c