drm/amdgpu: use underscores in TLB fence driver and timeline names

Replace spaces with hyphens in amdgpu_tlb_fence_get_driver_name() and
amdgpu_tlb_fence_get_timeline_name(). Returning string literals with
spaces makes ftrace fence events and debugfs fence entries visually
ambiguous and harder to parse using standard log analysis tools.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Prike Liang 2026-08-25 16:10:07 +08:00 committed by Alex Deucher
parent 004ffd7af4
commit 0eba89a91e

View File

@ -40,12 +40,12 @@ struct amdgpu_tlb_fence {
static const char *amdgpu_tlb_fence_get_driver_name(struct dma_fence *fence)
{
return "amdgpu tlb fence";
return "amdgpu_tlb_fence";
}
static const char *amdgpu_tlb_fence_get_timeline_name(struct dma_fence *f)
{
return "amdgpu tlb timeline";
return "amdgpu_tlb_timeline";
}
static void amdgpu_tlb_fence_work(struct work_struct *work)