commit | 172423bcc7654a9cc71ff208b8f797e5e11a08af | [log] [tgz] |
---|---|---|
author | Monk Liu <monk.liu@amd.com> | Thu Aug 10 20:38:41 2017 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Aug 29 15:27:45 2017 -0400 |
tree | 6eba9d71390d2974c1343a74da0763e54f8643c8 | |
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>