summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-10-10 15:13:25 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-11 17:40:22 -0400
commitc53b94f1dd45384c2234e8c3f712df10395d0601 (patch)
tree6b769fd4055c9db8858436b0d391c8ad58fde705 /drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c
parent50975dcf2afe7b8111d228e1520f652ac7ebe061 (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/fecs_trace_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c b/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c
index 50336254..7fd1793c 100644
--- a/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c
@@ -622,7 +622,7 @@ int gk20a_fecs_trace_bind_channel(struct gk20a *g,
622 622
623 u32 lo; 623 u32 lo;
624 u32 hi; 624 u32 hi;
625 phys_addr_t pa; 625 u64 pa;
626 struct channel_ctx_gk20a *ch_ctx = &ch->ch_ctx; 626 struct channel_ctx_gk20a *ch_ctx = &ch->ch_ctx;
627 struct gk20a_fecs_trace *trace = g->fecs_trace; 627 struct gk20a_fecs_trace *trace = g->fecs_trace;
628 struct nvgpu_mem *mem = &ch_ctx->gr_ctx->mem; 628 struct nvgpu_mem *mem = &ch_ctx->gr_ctx->mem;