diff options
author | Kevin Wang <kevin1.wang@amd.com> | 2020-08-17 16:57:20 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-08-17 14:06:37 -0400 |
commit | 4444457450fa66860fca856c6dd20f7acde80efa (patch) | |
tree | 6c8540f4ac880f83c0e439eb51857f973809339c /drivers/gpu/drm/amd/display/modules/power/power_helpers.c | |
parent | 736b17297857cf533649a4161d1369e3cde0d922 (diff) | |
download | linux-4444457450fa66860fca856c6dd20f7acde80efa.tar.bz2 |
drm/amdgpu: add condition check for trace_amdgpu_cs()
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 <kevin1.wang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/power/power_helpers.c')
0 files changed, 0 insertions, 0 deletions