]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Revert "drm/amdgpu: enable VCN DPG on Raven and Raven2"
authorThong Thai <thong.thai@amd.com>
Fri, 6 Dec 2019 14:19:20 +0000 (09:19 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Dec 2019 22:02:33 +0000 (17:02 -0500)
This reverts commit a4840d91c984f93b2acdcd44441d624bbc1af0d2.

Reverting due to power efficiency issues seen on Raven 1 and 2
when DPG mode is enabled.

Signed-off-by: Thong Thai <thong.thai@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c

index 48649f55f3baa3ddf8b3f4fd23f424b8ba03bb85..863c88be055f76f9ad3301c5c21383783b610efe 100644 (file)
@@ -1181,9 +1181,7 @@ static int soc15_common_early_init(void *handle)
                                AMD_CG_SUPPORT_SDMA_LS |
                                AMD_CG_SUPPORT_VCN_MGCG;
 
-                       adev->pg_flags = AMD_PG_SUPPORT_SDMA |
-                               AMD_PG_SUPPORT_VCN |
-                               AMD_PG_SUPPORT_VCN_DPG;
+                       adev->pg_flags = AMD_PG_SUPPORT_SDMA | AMD_PG_SUPPORT_VCN;
                } else if (adev->pdev->device == 0x15d8) {
                        adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |
                                AMD_CG_SUPPORT_GFX_MGLS |
@@ -1226,9 +1224,7 @@ static int soc15_common_early_init(void *handle)
                                AMD_CG_SUPPORT_SDMA_LS |
                                AMD_CG_SUPPORT_VCN_MGCG;
 
-                       adev->pg_flags = AMD_PG_SUPPORT_SDMA |
-                               AMD_PG_SUPPORT_VCN |
-                               AMD_PG_SUPPORT_VCN_DPG;
+                       adev->pg_flags = AMD_PG_SUPPORT_SDMA | AMD_PG_SUPPORT_VCN;
                }
                break;
        case CHIP_ARCTURUS: