drm/amdgpu: fix amdgpu_debugfs_gem_bo_info
authorChristian König <christian.koenig@amd.com>
Mon, 26 Jun 2017 13:19:30 +0000 (15:19 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jul 2017 15:05:53 +0000 (11:05 -0400)
commitb8e0e6e16e3ac130901111e2c503b3533f9719ee
tree502013ab5d5504ea581340aff11c5946b38b6cec
parent011d4bbea969268c013eaf6e39721d3181833711
drm/amdgpu: fix amdgpu_debugfs_gem_bo_info

Otherwise we trigger a bunch of WARN_ONs when this is called.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c