diff options
| author | Monk Liu <[email protected]> | 2017-08-10 12:38:41 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-08-24 15:48:46 +0000 |
| commit | ab7039325f4eef2e545d8cb3d6aed67998514bcb (patch) | |
| tree | 4809fd154366f6e3affd68924b91ad7efbce72e2 /drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c | |
| parent | drm/ttm: fix missing inc bo_count (diff) | |
| download | kernel-ab7039325f4eef2e545d8cb3d6aed67998514bcb.tar.gz kernel-ab7039325f4eef2e545d8cb3d6aed67998514bcb.zip | |
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 <[email protected]>
Reviewed-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c')
0 files changed, 0 insertions, 0 deletions
