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

2020-08-17 Thread Christian König
Am 17.08.20 um 12:34 schrieb Kevin Wang: v1: add trace event enabled check to avoid nop loop when submit multi ibs in amdgpu_cs_ioctl() function. v2: add a new wrapper function to trace all amdgpu cs ibs. Signed-off-by: Kevin Wang Reviewed-by: Christian König --- drivers/gpu/drm/amd/amd

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

2020-08-17 Thread Kevin Wang
v1: add trace event enabled check to avoid nop loop when submit multi ibs in amdgpu_cs_ioctl() function. v2: add a new wrapper function to trace all amdgpu cs ibs. Signed-off-by: Kevin Wang --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 16 +--- 1 file changed, 13 insertions(+), 3 del