aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h2
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 992f00b65be4..da3d02154fa6 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -2032,7 +2032,7 @@ struct amdgpu_device {
2032 struct amdgpu_irq_src hpd_irq; 2032 struct amdgpu_irq_src hpd_irq;
2033 2033
2034 /* rings */ 2034 /* rings */
2035 unsigned fence_context; 2035 u64 fence_context;
2036 unsigned num_rings; 2036 unsigned num_rings;
2037 struct amdgpu_ring *rings[AMDGPU_MAX_RINGS]; 2037 struct amdgpu_ring *rings[AMDGPU_MAX_RINGS];
2038 bool ib_pool_ready; 2038 bool ib_pool_ready;
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c
index 8bf84efafb04..b16366c2b4a0 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c
@@ -427,7 +427,7 @@ void amdgpu_sa_bo_dump_debug_info(struct amdgpu_sa_manager *sa_manager,
427 soffset, eoffset, eoffset - soffset); 427 soffset, eoffset, eoffset - soffset);
428 428
429 if (i->fence) 429 if (i->fence)
430 seq_printf(m, " protected by 0x%08x on context %d", 430 seq_printf(m, " protected by 0x%08x on context %llu",
431 i->fence->seqno, i->fence->context); 431 i->fence->seqno, i->fence->context);
432 432
433 seq_printf(m, "\n"); 433 seq_printf(m, "\n");