[PATCH] drm/amdgpu: Enable VCN/JPEG CG on aldebaran

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[AMD Public Use]


Enable clockgating for VCN and JPEG blocks on aldebaran

 

Signed-off-by: Lijo Lazar lijo.lazar@xxxxxxx

Reviewed-by: Hawking Zhang Hawking.Zhang@xxxxxxx

---

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

1 file changed, 2 insertions(+), 2 deletions(-)

 

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

index 3808402cd964..a08000a3bdb9 100644

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

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

@@ -1495,8 +1495,8 @@ static int soc15_common_early_init(void *handle)

                        AMD_CG_SUPPORT_HDP_LS |

                        AMD_CG_SUPPORT_SDMA_MGCG |

                        AMD_CG_SUPPORT_SDMA_LS |

-                       AMD_CG_SUPPORT_IH_CG;

-                       /*AMD_CG_SUPPORT_VCN_MGCG |AMD_CG_SUPPORT_JPEG_MGCG;*/

+                       AMD_CG_SUPPORT_IH_CG |

+                       AMD_CG_SUPPORT_VCN_MGCG | AMD_CG_SUPPORT_JPEG_MGCG;

                adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG;

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

                break;

--

2.17.1

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

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux