Skip to contentSkip to conversation

drm/amdgpu: disable mes_dbgext by default on mes 12.1

PATCH New Yongqiang Sun 1 participant 1 message Oct 16

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/3 drm/amdgpu: disable mes_dbgext by default on mes 12.1

mes_v12_1_sw_init() seeded an 8 KB dbgext buffer,
so the log came up at boot with no module parameter. Leave dbgext_runtime_kb at 0 to disable it by default. hw_init() still starts the log when mes_dbgext_buffer_size is set, and debugfs can still enable it at runtime.

---
 drivers/gpu/drm/amd/amdgpu/mes_v12_1.c | 9 ---------
 1 file changed, 9 deletions(-)
drivers/gpu/drm/amd/amdgpu/mes_v12_1.c +0 -9
index 65adbf5541e4..a31da8d12fb4 100644
@@ -1583,15 +1583,6 @@ static int mes_v12_1_sw_init(struct amdgpu_ip_block *ip_block)
 	adev->mes.kiq_hw_fini = &mes_v12_1_kiq_hw_fini;
 	adev->mes.enable_legacy_queue_map = true;
 
-	/*
-	 * Enable mes_dbgext by default on mes12.1: seed an 8 KB runtime
-	 * request so hw_init() -> amdgpu_mes_dbgext_start() brings the log up at
-	 * boot with no mes_dbgext_buffer_size module param needed.  The
-	 * collection mode still follows mes_dbgext_options (default bit0 = 1,
-	 * interrupt-driven).  Both module params continue to override this.
-	 */
-	adev->mes.dbgext_runtime_kb = 8;
-
 	adev->mes.event_log_size = AMDGPU_MAX_MES_PIPES *
 				   AMDGPU_MES_LOG_BUFFER_SIZE * num_xcc;
 
Signature · 1 line
2.43.0