diff options
author | Monk Liu <monk.liu@amd.com> | 2017-08-10 20:38:41 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-08-29 15:27:45 -0400 |
commit | 172423bcc7654a9cc71ff208b8f797e5e11a08af (patch) | |
tree | 6eba9d71390d2974c1343a74da0763e54f8643c8 /drivers/gpu/drm/amd/amdgpu | |
parent | 7e96a13523af12645b7e18d7cc268a95b72ff026 (diff) |
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')
0 files changed, 0 insertions, 0 deletions