On 21-02-2026 10:49, sguttula wrote:

This will set DPG flags for enabling power gating on GFX11_5_4



Signed-off-by: sguttula <[email protected]><mailto:[email protected]>
Reviewed-by:  Pratik Vishwakarma 
<[email protected]<mailto:[email protected]>>



---

 drivers/gpu/drm/amd/amdgpu/soc21.c | 4 +++-

 1 file changed, 3 insertions(+), 1 deletion(-)



diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c 
b/drivers/gpu/drm/amd/amdgpu/soc21.c

index 8122a5cacf07..a0ad1f8a76f0 100644

--- a/drivers/gpu/drm/amd/amdgpu/soc21.c

+++ b/drivers/gpu/drm/amd/amdgpu/soc21.c

@@ -858,7 +858,9 @@ static int soc21_common_early_init(struct amdgpu_ip_block 
*ip_block)

                 AMD_CG_SUPPORT_IH_CG |

                 AMD_CG_SUPPORT_BIF_MGCG |

                 AMD_CG_SUPPORT_BIF_LS;

-        adev->pg_flags = AMD_PG_SUPPORT_VCN |

+        adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG |

+                AMD_PG_SUPPORT_VCN |

+                AMD_PG_SUPPORT_JPEG_DPG |

                 AMD_PG_SUPPORT_JPEG |

                 AMD_PG_SUPPORT_GFX_PG;

         adev->external_rev_id = adev->rev_id + 0x1;

Reply via email to