All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH Review 1/1] drm/amdgpu: Support setting reset_method at runtime
@ 2024-04-12  6:21 Stanley.Yang
  2024-04-17  9:31 ` Yang, Stanley
  2024-04-17 12:46 ` Christian König
  0 siblings, 2 replies; 4+ messages in thread
From: Stanley.Yang @ 2024-04-12  6:21 UTC (permalink / raw)
  To: amd-gfx; +Cc: Stanley.Yang

Signed-off-by: Stanley.Yang <Stanley.Yang@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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: [PATCH Review 1/1] drm/amdgpu: Support setting reset_method at runtime
  2024-04-12  6:21 [PATCH Review 1/1] drm/amdgpu: Support setting reset_method at runtime Stanley.Yang
@ 2024-04-17  9:31 ` Yang, Stanley
  2024-04-17 12:46 ` Christian König
  1 sibling, 0 replies; 4+ messages in thread
From: Yang, Stanley @ 2024-04-17  9:31 UTC (permalink / raw)
  To: amd-gfx, Koenig,  Christian, Lazar, Lijo

[AMD Official Use Only - General]

Ping...

Regards,
Stanley
> -----Original Message-----
> From: Yang, Stanley <Stanley.Yang@amd.com>
> Sent: Friday, April 12, 2024 2:21 PM
> To: amd-gfx@lists.freedesktop.org
> Cc: Yang, Stanley <Stanley.Yang@amd.com>
> Subject: [PATCH Review 1/1] drm/amdgpu: Support setting reset_method at
> runtime
>
> Signed-off-by: Stanley.Yang <Stanley.Yang@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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH Review 1/1] drm/amdgpu: Support setting reset_method at runtime
  2024-04-12  6:21 [PATCH Review 1/1] drm/amdgpu: Support setting reset_method at runtime Stanley.Yang
  2024-04-17  9:31 ` Yang, Stanley
@ 2024-04-17 12:46 ` Christian König
  2024-04-17 14:32   ` Yang, Stanley
  1 sibling, 1 reply; 4+ messages in thread
From: Christian König @ 2024-04-17 12:46 UTC (permalink / raw)
  To: Stanley.Yang, amd-gfx

Am 12.04.24 um 08:21 schrieb Stanley.Yang:
> Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>

You are missing a commit message, without it the patch will 
automatically be rejected when you try to push it.

With that added Reviewed-by: Christian König <christian.koenig@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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH Review 1/1] drm/amdgpu: Support setting reset_method at runtime
  2024-04-17 12:46 ` Christian König
@ 2024-04-17 14:32   ` Yang, Stanley
  0 siblings, 0 replies; 4+ messages in thread
From: Yang, Stanley @ 2024-04-17 14:32 UTC (permalink / raw)
  To: Christian König, amd-gfx

[AMD Official Use Only - General]

> -----Original Message-----
> From: Christian König <ckoenig.leichtzumerken@gmail.com>
> Sent: Wednesday, April 17, 2024 8:46 PM
> To: Yang, Stanley <Stanley.Yang@amd.com>; amd-gfx@lists.freedesktop.org
> Subject: Re: [PATCH Review 1/1] drm/amdgpu: Support setting reset_method
> at runtime
>
> Am 12.04.24 um 08:21 schrieb Stanley.Yang:
> > Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
>
> You are missing a commit message, without it the patch will automatically be
> rejected when you try to push it.

Thank you Chris, will add it before push.

Regards,
Stanley

>
> With that added Reviewed-by: Christian König <christian.koenig@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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-17 14:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-12  6:21 [PATCH Review 1/1] drm/amdgpu: Support setting reset_method at runtime Stanley.Yang
2024-04-17  9:31 ` Yang, Stanley
2024-04-17 12:46 ` Christian König
2024-04-17 14:32   ` Yang, Stanley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.