summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/vega20_ih.h
diff options
context:
space:
mode:
authorshaoyunl <shaoyun.liu@amd.com>2024-01-31 09:20:07 -0500
committerAlex Deucher <alexander.deucher@amd.com>2024-02-07 10:00:56 -0500
commit3fad1565720ffd8fc944849ebf21e53b5947c9ed (patch)
tree7cd7e920e67bb62505ca20e0a4e6ff6177b3a926 /drivers/gpu/drm/amd/amdgpu/vega20_ih.h
parentfb5a3d037082b52a5c52be647c3936ca7651d7d5 (diff)
drm/amdgpu: Only create mes event log debugfs when mes is enabled
Skip the debugfs file creation for mes event log if the GPU doesn't use MES. This to prevent potential kernel oops when user try to read the event log in debugfs on a GPU without MES Signed-off-by: shaoyunl <shaoyun.liu@amd.com> Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vega20_ih.h')
0 files changed, 0 insertions, 0 deletions