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)
commitff41dd274858436f35bd20abc76f3f3b65ea6872
tree2cc46a725b5f82112393364576b1a73bab021352
parentad85b0843ee4536593415ca890d7fb52cd7f1fbe
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