aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-02-04 23:31:32 -0500
committerAlex Deucher <alexander.deucher@amd.com>2016-02-08 10:37:43 -0500
commit0fd4af9e328c0f694d21a646232a7a62da7ec4ae (patch)
tree2abe4b72cfde49bac9ba4ee2d1b4c734f183baf2
parent808a934fd47c1c4a1670069cbe2fae7c23068b14 (diff)
downloadstm-0fd4af9e328c0f694d21a646232a7a62da7ec4ae.tar.gz
drm/amdgpu: clean up vce pg flags for cz/st
It was already disabled elsewhere, make it offical. Reviewed-by: Eric Huang <JinHuiEric.Huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
index 89f5a1ff6f43ab..0d14d108a6c4ad 100644
--- a/drivers/gpu/drm/amd/amdgpu/vi.c
+++ b/drivers/gpu/drm/amd/amdgpu/vi.c
@@ -1457,8 +1457,7 @@ static int vi_common_early_init(void *handle)
case CHIP_STONEY:
adev->has_uvd = true;
adev->cg_flags = 0;
- /* Disable UVD pg */
- adev->pg_flags = /* AMDGPU_PG_SUPPORT_UVD | */AMDGPU_PG_SUPPORT_VCE;
+ adev->pg_flags = 0;
adev->external_rev_id = adev->rev_id + 0x1;
break;
default: