drm/amdgpu/mmhub: add clockgating support for vega12
Treat it the same as vega10 for now. Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
This commit is contained in:
parent
273a14cd15
commit
f8d27677e1
|
@ -733,6 +733,7 @@ int mmhub_v1_0_set_clockgating(struct amdgpu_device *adev,
|
||||||
|
|
||||||
switch (adev->asic_type) {
|
switch (adev->asic_type) {
|
||||||
case CHIP_VEGA10:
|
case CHIP_VEGA10:
|
||||||
|
case CHIP_VEGA12:
|
||||||
case CHIP_RAVEN:
|
case CHIP_RAVEN:
|
||||||
mmhub_v1_0_update_medium_grain_clock_gating(adev,
|
mmhub_v1_0_update_medium_grain_clock_gating(adev,
|
||||||
state == AMD_CG_STATE_GATE ? true : false);
|
state == AMD_CG_STATE_GATE ? true : false);
|
||||||
|
|
Loading…
Reference in New Issue