diff options
author | Christian König <christian.koenig@amd.com> | 2016-02-15 09:28:34 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-02-16 17:31:15 -0500 |
commit | 3e4ae1dcbb8c821b855c39d75ae0f412ad1ab71a (patch) | |
tree | c57ac1af05ae14f71872f2618964a320c9a775f7 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 87d58c11ec17234c4636a588466260a95fec59cb (diff) |
drm/amdgpu: print pid as integer
Not sure why somebody thought that this is a long.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c index b1a611e79c94..8689e4a81783 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |||
@@ -720,9 +720,9 @@ 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 %8ld\n", | 723 | seq_printf(m, "bo[0x%08x] %8ldkB %8ldMB %s pid %8d\n", |
724 | i, amdgpu_bo_size(rbo) >> 10, amdgpu_bo_size(rbo) >> 20, | 724 | i, amdgpu_bo_size(rbo) >> 10, amdgpu_bo_size(rbo) >> 20, |
725 | placement, (unsigned long)rbo->pid); | 725 | placement, rbo->pid); |
726 | i++; | 726 | i++; |
727 | } | 727 | } |
728 | mutex_unlock(&adev->gem.mutex); | 728 | mutex_unlock(&adev->gem.mutex); |