Re: [PATCH] drm/amdgpu: add condition check for trace_amdgpu_cs()

2020-08-17 Thread Christian König
Am 17.08.20 um 11:04 schrieb Kevin Wang: add trace event enabled check to avoid nop loop when submit multi ibs in amdgpu_cs_ioctl() function. Maybe we should change the trace point instead to trace all IBs with just a single call. Signed-off-by: Kevin Wang ---

[PATCH] drm/amdgpu: add condition check for trace_amdgpu_cs()

2020-08-17 Thread Kevin Wang
add trace event enabled check to avoid nop loop when submit multi ibs in amdgpu_cs_ioctl() function. Signed-off-by: Kevin Wang --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c