diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2016-04-08 01:01:18 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-05-04 20:21:59 -0400 |
commit | 3fde56b8dbed354c54651d0566c9719106d024f7 (patch) | |
tree | 09c93d3d54a2bcdcba9ae978fddb951af8d2d22f /drivers/gpu/drm/amd/amdgpu/vi.c | |
parent | c90766cf4e78e4708111afe5011a00288e60c66e (diff) | |
download | talos-obmc-linux-3fde56b8dbed354c54651d0566c9719106d024f7.tar.gz talos-obmc-linux-3fde56b8dbed354c54651d0566c9719106d024f7.zip |
drm/amdgpu/gmc: add proper CG flags for fiji
We were already enabling these CG features, this uses
the standard interface for doing so.
Acked-by: Tom St Denis <tom.stdenis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vi.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index ea9edf4e32ad..16b2a299f3a4 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi.c +++ b/drivers/gpu/drm/amd/amdgpu/vi.c @@ -1089,7 +1089,9 @@ static int vi_common_early_init(void *handle) AMD_CG_SUPPORT_BIF_LS | AMD_CG_SUPPORT_HDP_MGCG | AMD_CG_SUPPORT_HDP_LS | - AMD_CG_SUPPORT_ROM_MGCG; + AMD_CG_SUPPORT_ROM_MGCG | + AMD_CG_SUPPORT_MC_MGCG | + AMD_CG_SUPPORT_MC_LS; adev->pg_flags = 0; adev->external_rev_id = adev->rev_id + 0x3c; break; |