mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-23 08:55:56 -04:00
drm/amdgpu/umsch: add support to capture fw debug log
Added support to capture unsch fw debug logs in debugfs. To enable set amdgpu_umschfw_log =1 in boot args. v1 - rename variable to umsch_mm_fwlog (Veera) Signed-off-by: Saleemkhan Jamadar <saleemkhan.jamadar@amd.com> Reviewed-by: Veerabadhran Gopalakrishnan <Veerabadhran.Gopalakrishnan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
4b0497d25d
commit
98a2e3a0d1
@@ -215,6 +215,7 @@ uint amdgpu_debug_mask;
|
||||
int amdgpu_agp = -1; /* auto */
|
||||
int amdgpu_wbrf = -1;
|
||||
int amdgpu_damage_clips = -1; /* auto */
|
||||
int amdgpu_umsch_mm_fwlog;
|
||||
|
||||
static void amdgpu_drv_delayed_reset_work_handler(struct work_struct *work);
|
||||
|
||||
@@ -975,6 +976,13 @@ MODULE_PARM_DESC(umsch_mm,
|
||||
"Enable Multi Media User Mode Scheduler (0 = disabled (default), 1 = enabled)");
|
||||
module_param_named(umsch_mm, amdgpu_umsch_mm, int, 0444);
|
||||
|
||||
/**
|
||||
* DOC: umsch_mm_fwlog (int)
|
||||
* Enable umschfw log output for debugging, the default is disabled.
|
||||
*/
|
||||
MODULE_PARM_DESC(umsch_mm_fwlog, "Enable umschfw log(0 = disable (default value), 1 = enable)");
|
||||
module_param_named(umsch_mm_fwlog, amdgpu_umsch_mm_fwlog, int, 0444);
|
||||
|
||||
/**
|
||||
* DOC: smu_pptable_id (int)
|
||||
* Used to override pptable id. id = 0 use VBIOS pptable.
|
||||
|
||||
Reference in New Issue
Block a user