drm/amd/amdgpu: Enable UVD PG on Tonga
authorTom St Denis <tom.stdenis@amd.com>
Fri, 30 Sep 2016 15:00:16 +0000 (11:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Oct 2016 18:38:26 +0000 (14:38 -0400)
Tested by reading tile/clk bits during load/idle.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vi.c

index ea3331c40391b54d216d443f2b84e146877111e6..657de2a9ba3414d0cd41b238df0e5818d6d2fab4 100644 (file)
@@ -1593,7 +1593,7 @@ static int vi_common_early_init(void *handle)
                break;
        case CHIP_TONGA:
                adev->cg_flags = AMD_CG_SUPPORT_UVD_MGCG;
-               adev->pg_flags = 0;
+               adev->pg_flags = AMD_PG_SUPPORT_UVD;
                adev->external_rev_id = adev->rev_id + 0x14;
                break;
        case CHIP_POLARIS11: