mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drm/amdgpu: Describe all object placements in debugfs
Accurately show all placements when describing objects in debugfs, instead of bunching them up under the 'CPU' placement. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com> Cc: Christian König <christian.koenig@amd.com> Cc: Felix Kuehling <felix.kuehling@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
8fb0efb101
commit
50bff04d02
@@ -1611,6 +1611,21 @@ u64 amdgpu_bo_print_info(int id, struct amdgpu_bo *bo, struct seq_file *m)
|
||||
case TTM_PL_TT:
|
||||
placement = "GTT";
|
||||
break;
|
||||
case AMDGPU_PL_GDS:
|
||||
placement = "GDS";
|
||||
break;
|
||||
case AMDGPU_PL_GWS:
|
||||
placement = "GWS";
|
||||
break;
|
||||
case AMDGPU_PL_OA:
|
||||
placement = "OA";
|
||||
break;
|
||||
case AMDGPU_PL_PREEMPT:
|
||||
placement = "PREEMPTIBLE";
|
||||
break;
|
||||
case AMDGPU_PL_DOORBELL:
|
||||
placement = "DOORBELL";
|
||||
break;
|
||||
case TTM_PL_SYSTEM:
|
||||
default:
|
||||
placement = "CPU";
|
||||
|
||||
Reference in New Issue
Block a user