diff options
author | Christian König <christian.koenig@amd.com> | 2016-02-15 15:28:34 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-02-16 23:31:15 +0100 |
commit | 3e4ae1dcbb8c821b855c39d75ae0f412ad1ab71a (patch) | |
tree | c57ac1af05ae14f71872f2618964a320c9a775f7 /drivers/gpu/drm/amd | |
parent | drm/amdgpu: remove page flip work queue v3 (diff) | |
download | linux-3e4ae1dcbb8c821b855c39d75ae0f412ad1ab71a.tar.xz linux-3e4ae1dcbb8c821b855c39d75ae0f412ad1ab71a.zip |
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')
-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) placement = " CPU"; break; } - seq_printf(m, "bo[0x%08x] %8ldkB %8ldMB %s pid %8ld\n", + seq_printf(m, "bo[0x%08x] %8ldkB %8ldMB %s pid %8d\n", i, amdgpu_bo_size(rbo) >> 10, amdgpu_bo_size(rbo) >> 20, - placement, (unsigned long)rbo->pid); + placement, rbo->pid); i++; } mutex_unlock(&adev->gem.mutex); |