aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorshaoyunl <[email protected]>2023-11-23 18:59:44 +0000
committerAlex Deucher <[email protected]>2023-12-07 22:43:13 +0000
commitb2662d4cc4ce2db4bd55e00a528b1d35be82c6c3 (patch)
treee3506fd1f4a0badec0394dc24027f29693be2677 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentdrm/amd/display: Restore guard against default backlight value < 1 nit (diff)
downloadkernel-b2662d4cc4ce2db4bd55e00a528b1d35be82c6c3.tar.gz
kernel-b2662d4cc4ce2db4bd55e00a528b1d35be82c6c3.zip
drm/amdgpu: SW part of MES event log enablement
This is the generic SW part, prepare the event log buffer and dump it through debugfs Signed-off-by: shaoyunl <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
index c480192e33f5..424bed738296 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
@@ -2147,6 +2147,8 @@ int amdgpu_debugfs_init(struct amdgpu_device *adev)
amdgpu_debugfs_firmware_init(adev);
amdgpu_ta_if_debugfs_init(adev);
+ amdgpu_debugfs_mes_event_log_init(adev);
+
#if defined(CONFIG_DRM_AMD_DC)
if (adev->dc_enabled)
dtn_debugfs_init(adev);