[PATCH Review 1/1] drm/amdgpu: Support setting reset_method at runtime

Yang, Stanley Stanley.Yang at amd.com
Wed Apr 17 09:31:16 UTC 2024


[AMD Official Use Only - General]

Ping...

Regards,
Stanley
> -----Original Message-----
> From: Yang, Stanley <Stanley.Yang at amd.com>
> Sent: Friday, April 12, 2024 2:21 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Yang, Stanley <Stanley.Yang at amd.com>
> Subject: [PATCH Review 1/1] drm/amdgpu: Support setting reset_method at
> runtime
>
> Signed-off-by: Stanley.Yang <Stanley.Yang at amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> index 80b9642f2bc4..5f5bf0c26b1f 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> @@ -915,7 +915,7 @@ module_param_named(freesync_video,
> amdgpu_freesync_vid_mode, uint, 0444);
>   * GPU reset method (-1 = auto (default), 0 = legacy, 1 = mode0, 2 = mode1, 3 =
> mode2, 4 = baco)
>   */
>  MODULE_PARM_DESC(reset_method, "GPU reset method (-1 = auto (default), 0
> = legacy, 1 = mode0, 2 = mode1, 3 = mode2, 4 = baco/bamaco)"); -
> module_param_named(reset_method, amdgpu_reset_method, int, 0444);
> +module_param_named(reset_method, amdgpu_reset_method, int, 0644);
>
>  /**
>   * DOC: bad_page_threshold (int) Bad page threshold is specifies the
> --
> 2.25.1



More information about the amd-gfx mailing list