All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: enable ATHUB clock gatting
@ 2020-08-20 21:05 Alex Deucher
  2020-08-20 21:05 ` [PATCH] drm/amdgpu: enable HDP " Alex Deucher
  2020-08-21  1:29 ` [PATCH] drm/amdgpu: enable ATHUB " Huang Rui
  0 siblings, 2 replies; 3+ messages in thread
From: Alex Deucher @ 2020-08-20 21:05 UTC (permalink / raw)
  To: amd-gfx; +Cc: Alex Deucher, Prike.Liang, Evan Quan, Huang Rui

From: "Prike.Liang" <Prike.Liang@amd.com>

Enable ATHUB clock gatting set in Renoir series.

Signed-off-by: Prike.Liang <Prike.Liang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/athub_v1_0.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/athub_v1_0.c b/drivers/gpu/drm/amd/amdgpu/athub_v1_0.c
index 847ca9b3ce4e..3ea557864320 100644
--- a/drivers/gpu/drm/amd/amdgpu/athub_v1_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/athub_v1_0.c
@@ -73,6 +73,7 @@ int athub_v1_0_set_clockgating(struct amdgpu_device *adev,
 	case CHIP_VEGA12:
 	case CHIP_VEGA20:
 	case CHIP_RAVEN:
+	case CHIP_RENOIR:
 		athub_update_medium_grain_clock_gating(adev,
 				state == AMD_CG_STATE_GATE);
 		athub_update_medium_grain_light_sleep(adev,
-- 
2.25.4

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

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

* [PATCH] drm/amdgpu: enable HDP clock gatting
  2020-08-20 21:05 [PATCH] drm/amdgpu: enable ATHUB clock gatting Alex Deucher
@ 2020-08-20 21:05 ` Alex Deucher
  2020-08-21  1:29 ` [PATCH] drm/amdgpu: enable ATHUB " Huang Rui
  1 sibling, 0 replies; 3+ messages in thread
From: Alex Deucher @ 2020-08-20 21:05 UTC (permalink / raw)
  To: amd-gfx; +Cc: Alex Deucher, Prike.Liang, Evan Quan, Huang Rui

From: "Prike.Liang" <Prike.Liang@amd.com>

Enabe HDP SD/DS clock gatting in Renoir series.

Signed-off-by: Prike.Liang <Prike.Liang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/soc15.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 3cd98c144bc6..3c3a7adad024 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1452,7 +1452,8 @@ static void soc15_update_hdp_light_sleep(struct amdgpu_device *adev, bool enable
 	uint32_t def, data;
 
 	if (adev->asic_type == CHIP_VEGA20 ||
-		adev->asic_type == CHIP_ARCTURUS) {
+		adev->asic_type == CHIP_ARCTURUS ||
+		adev->asic_type == CHIP_RENOIR) {
 		def = data = RREG32(SOC15_REG_OFFSET(HDP, 0, mmHDP_MEM_POWER_CTRL));
 
 		if (enable && (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS))
-- 
2.25.4

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

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

* Re: [PATCH] drm/amdgpu: enable ATHUB clock gatting
  2020-08-20 21:05 [PATCH] drm/amdgpu: enable ATHUB clock gatting Alex Deucher
  2020-08-20 21:05 ` [PATCH] drm/amdgpu: enable HDP " Alex Deucher
@ 2020-08-21  1:29 ` Huang Rui
  1 sibling, 0 replies; 3+ messages in thread
From: Huang Rui @ 2020-08-21  1:29 UTC (permalink / raw)
  To: Alex Deucher; +Cc: Deucher, Alexander, Liang, Prike, Quan, Evan, amd-gfx

Series are Reviewed-by: Huang Rui <ray.huang@amd.com>

On Fri, Aug 21, 2020 at 05:05:03AM +0800, Alex Deucher wrote:
> From: "Prike.Liang" <Prike.Liang@amd.com>
> 
> Enable ATHUB clock gatting set in Renoir series.
> 
> Signed-off-by: Prike.Liang <Prike.Liang@amd.com>
> Reviewed-by: Evan Quan <evan.quan@amd.com>
> Reviewed-by: Huang Rui <ray.huang@amd.com>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/athub_v1_0.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/athub_v1_0.c b/drivers/gpu/drm/amd/amdgpu/athub_v1_0.c
> index 847ca9b3ce4e..3ea557864320 100644
> --- a/drivers/gpu/drm/amd/amdgpu/athub_v1_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/athub_v1_0.c
> @@ -73,6 +73,7 @@ int athub_v1_0_set_clockgating(struct amdgpu_device *adev,
>  	case CHIP_VEGA12:
>  	case CHIP_VEGA20:
>  	case CHIP_RAVEN:
> +	case CHIP_RENOIR:
>  		athub_update_medium_grain_clock_gating(adev,
>  				state == AMD_CG_STATE_GATE);
>  		athub_update_medium_grain_light_sleep(adev,
> -- 
> 2.25.4
> 
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

end of thread, other threads:[~2020-08-21  1:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-20 21:05 [PATCH] drm/amdgpu: enable ATHUB clock gatting Alex Deucher
2020-08-20 21:05 ` [PATCH] drm/amdgpu: enable HDP " Alex Deucher
2020-08-21  1:29 ` [PATCH] drm/amdgpu: enable ATHUB " Huang Rui

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.