diff options
author | Monk Liu <monk.liu@amd.com> | 2017-08-10 15:38:41 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-08-24 18:48:46 +0300 |
commit | ab7039325f4eef2e545d8cb3d6aed67998514bcb (patch) | |
tree | 4809fd154366f6e3affd68924b91ad7efbce72e2 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | a101a41fca04ea8ee71045b049356f93658ff28f (diff) | |
download | linux-ab7039325f4eef2e545d8cb3d6aed67998514bcb.tar.xz |
drm/ttm:fix wrong decoding of bo_count
we observe abnormal number from:
/sys/devices/virtual/drm/amdttm/buffer_objects/bo_count
bo_count is atomic_inc which is "int" type,
shouldn't explicitly turn it to unsigned long.
Signed-off-by: Monk Liu <monk.liu@amd.com>
Reviewed-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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions