aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorshaoyunl <[email protected]>2024-03-22 16:25:16 +0000
committerAlex Deucher <[email protected]>2024-04-10 01:50:27 +0000
commite58acb7613aa5e4be59c05226373a40dc7c25dc8 (patch)
tree9d7182e0f5909df0e5af4fdc16908ed292005d06 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amd/pm: fixes a random hang in S4 for SMU v13.0.4/11 (diff)
downloadkernel-e58acb7613aa5e4be59c05226373a40dc7c25dc8.tar.gz
kernel-e58acb7613aa5e4be59c05226373a40dc7c25dc8.zip
drm/amdgpu : Add mes_log_enable to control mes log feature
The MES log might slow down the performance for extra step of log the data, disable it by default and introduce a parameter can enable it when necessary Signed-off-by: shaoyunl <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 9c62552bec34..b3b84647207e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -210,6 +210,7 @@ extern int amdgpu_async_gfx_ring;
extern int amdgpu_mcbp;
extern int amdgpu_discovery;
extern int amdgpu_mes;
+extern int amdgpu_mes_log_enable;
extern int amdgpu_mes_kiq;
extern int amdgpu_noretry;
extern int amdgpu_force_asic_type;