drm/amdgpu/powerplay: use proper revision id for navi
Subsystems (2)
PATCH 1/1 drm/amdgpu/powerplay: use proper revision id for navi
The PCI revision id determines the sku.
--- drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/navi10_ppt.c +1 -1
@@ -1592,7 +1592,7 @@ static int navi10_set_peak_clock_by_device(struct smu_context *smu)uint32_t sclk_freq =0 , uclk_freq =0 ;uint32_t uclk_level =0 ; -switch (adev->rev_id) { +switch (adev->pdev->revision) {case 0xf0 :/* XTX */ case 0xc0 : sclk_freq =NAVI10_PEAK_SCLK_XTX ;
Signature · 6 lines
2.20.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20190726041041.4023-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org
Xu, Feifei
Reviewed-by Feifei Xu-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Friday, July 26, 2019 12:11 PM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH] drm/amdgpu/powerplay: use proper revision id for navi
The PCI revision id determines the sku.
--- drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/navi10_ppt.c +1 -1
@@ -1592,7 +1592,7 @@ static int navi10_set_peak_clock_by_device(struct smu_context *smu)uint32_t sclk_freq =0 , uclk_freq =0 ;uint32_t uclk_level =0 ; -switch (adev->rev_id) { +switch (adev->pdev->revision) {case 0xf0 :/* XTX */ case 0xc0 : sclk_freq =NAVI10_PEAK_SCLK_XTX ;
Signature · 10 lines
2.20.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): MN2PR12MB3775A0024DE6CC275E1AA4AFFEC00-rweVpJHSKTrZ2I3O+RQqCgdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org
Best Regards,
Kevin
________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Xu, Feifei <[email protected]>
Sent: Friday, July 26, 2019 12:20 PM
To: Alex Deucher <[email protected]>; [email protected] <[email protected]>
Cc: Deucher, Alexander <[email protected]>
Subject: RE: [PATCH] drm/amdgpu/powerplay: use proper revision id for navi
-----Original Message-----
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> On Behalf Of Alex Deucher
Sent: Friday, July 26, 2019 12:11 PM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH] drm/amdgpu/powerplay: use proper revision id for navi
The PCI revision id determines the sku.
--- drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/navi10_ppt.c +1 -1
@@ -1592,7 +1592,7 @@ static int navi10_set_peak_clock_by_device(struct smu_context *smu)uint32_t sclk_freq =0 , uclk_freq =0 ;uint32_t uclk_level =0 ; -switch (adev->rev_id) { +switch (adev->pdev->revision) {case 0xf0 :/* XTX */ case 0xc0 : sclk_freq =NAVI10_PEAK_SCLK_XTX ;
--
2.20.1
_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quan, Evan
Reviewed-by Evan QuanQuoted 33 lines
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Alex Deucher
Sent: Friday, July 26, 2019 12:11 PM
To: [email protected]
Cc: Deucher, Alexander <[email protected]>
Subject: [PATCH] drm/amdgpu/powerplay: use proper revision id for naviThe PCI revision id determines the sku.
Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/powerplay/navi10_ppt.c +1
-1@@ -1592,7 +1592,7 @@ static int navi10_set_peak_clock_by_device(struct smu_context *smu)uint32_t sclk_freq =0 , uclk_freq =0 ;uint32_t uclk_level =0 ; -switch (adev->rev_id) { +switch (adev->pdev->revision) {case 0xf0 :/* XTX */ case 0xc0 :
sclk_freq=NAVI10_PEAK_SCLK_XTX;
--
2.20.1
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx