diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c index 8689e4a81783..e6fb7ded5a66 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |||
@@ -720,9 +720,8 @@ static int amdgpu_debugfs_gem_info(struct seq_file *m, void *data) | |||
720 | placement = " CPU"; | 720 | placement = " CPU"; |
721 | break; | 721 | break; |
722 | } | 722 | } |
723 | seq_printf(m, "bo[0x%08x] %8ldkB %8ldMB %s pid %8d\n", | 723 | seq_printf(m, "bo[0x%08x] %12ld %s pid %8d\n", |
724 | i, amdgpu_bo_size(rbo) >> 10, amdgpu_bo_size(rbo) >> 20, | 724 | i, amdgpu_bo_size(rbo), placement, rbo->pid); |
725 | placement, rbo->pid); | ||
726 | i++; | 725 | i++; |
727 | } | 726 | } |
728 | mutex_unlock(&adev->gem.mutex); | 727 | mutex_unlock(&adev->gem.mutex); |