drm/amd/powerplay: fixed wrong data type declaration for ppfeaturemask

Submitted by Rex Zhu on July 6, 2017, 2:38 a.m.

Details

Message ID CY4PR12MB16870B522F879C1EE7730D22FBD50@CY4PR12MB1687.namprd12.prod.outlook.com
State New
Headers show
Series "drm/amd/powerplay: fixed wrong data type declaration for ppfeaturemask" ( rev: 2 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Rex Zhu July 6, 2017, 2:38 a.m.
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>


Best Regards
Rex 
-----Original Message-----
From: amd-gfx [mailto:amd-gfx-bounces@lists.freedesktop.org] On Behalf Of Evan Quan

Sent: Thursday, July 06, 2017 10:02 AM
To: amd-gfx@lists.freedesktop.org
Cc: Quan, Evan
Subject: [PATCH] drm/amd/powerplay: fixed wrong data type declaration for ppfeaturemask

Change-Id: Icbe9fa02e653edf365880fc03089e5cf01716d52
Signed-off-by: Evan Quan <evan.quan@amd.com>

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 9644dd1..271c9d5 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -203,7 +203,7 @@  MODULE_PARM_DESC(sched_hw_submission, "the max number of HW submissions (default  module_param_named(sched_hw_submission, amdgpu_sched_hw_submission, int, 0444);
 
 MODULE_PARM_DESC(ppfeaturemask, "all power features enabled (default))"); -module_param_named(ppfeaturemask, amdgpu_pp_feature_mask, int, 0444);
+module_param_named(ppfeaturemask, amdgpu_pp_feature_mask, uint, 0444);
 
 MODULE_PARM_DESC(no_evict, "Support pinning request from user space (1 = enable, 0 = disable (default))");  module_param_named(no_evict, amdgpu_no_evict, int, 0444);
--
2.7.4


Comments

Reviewed-by: Christian König <christian.koenig@amd.com>.

Am 06.07.2017 um 04:38 schrieb Zhu, Rex:
> Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
>
> Best Regards
> Rex
> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces@lists.freedesktop.org] On Behalf Of Evan Quan
> Sent: Thursday, July 06, 2017 10:02 AM
> To: amd-gfx@lists.freedesktop.org
> Cc: Quan, Evan
> Subject: [PATCH] drm/amd/powerplay: fixed wrong data type declaration for ppfeaturemask
>
> Change-Id: Icbe9fa02e653edf365880fc03089e5cf01716d52
> Signed-off-by: Evan Quan <evan.quan@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 9644dd1..271c9d5 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
> @@ -203,7 +203,7 @@ MODULE_PARM_DESC(sched_hw_submission, "the max number of HW submissions (default  module_param_named(sched_hw_submission, amdgpu_sched_hw_submission, int, 0444);
>   
>   MODULE_PARM_DESC(ppfeaturemask, "all power features enabled (default))"); -module_param_named(ppfeaturemask, amdgpu_pp_feature_mask, int, 0444);
> +module_param_named(ppfeaturemask, amdgpu_pp_feature_mask, uint, 0444);
>   
>   MODULE_PARM_DESC(no_evict, "Support pinning request from user space (1 = enable, 0 = disable (default))");  module_param_named(no_evict, amdgpu_no_evict, int, 0444);
> --
> 2.7.4
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx