mirror of
https://github.com/torvalds/linux.git
synced 2026-11-01 19:30:03 +01:00
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:
parent
004ffd7af4
commit
0eba89a91e
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user