diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-10-10 15:13:25 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-11 17:40:22 -0400 |
commit | c53b94f1dd45384c2234e8c3f712df10395d0601 (patch) | |
tree | 6b769fd4055c9db8858436b0d391c8ad58fde705 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 50975dcf2afe7b8111d228e1520f652ac7ebe061 (diff) |
gpu: nvgpu: Remove phys_addr_t from common code
Remove phys_addr_t from common code and replace it with u64. This
faciliates QNX compiling the common code since phys_addr_t is a
Linux specific type.
JIRA NVGPU-30
JIRA NVGPU-226
Change-Id: I15fe2078f9cd0b07c7e90ad6e359c493afa56714
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1576432
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 131caa68..72e47ec6 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1289,7 +1289,7 @@ struct gk20a { | |||
1289 | u64 dma_memory_used; | 1289 | u64 dma_memory_used; |
1290 | 1290 | ||
1291 | #if defined(CONFIG_TEGRA_GK20A_NVHOST) && defined(CONFIG_TEGRA_19x_GPU) | 1291 | #if defined(CONFIG_TEGRA_GK20A_NVHOST) && defined(CONFIG_TEGRA_19x_GPU) |
1292 | phys_addr_t syncpt_unit_base; | 1292 | u64 syncpt_unit_base; |
1293 | size_t syncpt_unit_size; | 1293 | size_t syncpt_unit_size; |
1294 | u32 syncpt_size; | 1294 | u32 syncpt_size; |
1295 | #endif | 1295 | #endif |