drm/amdgpu/vcn: remove duplicate mask
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 11 May 2017 20:44:56 +0000 (16:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:41:57 +0000 (17:41 -0400)
Looks like a copy past issue.

Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c

index 61a25a16699db8d708b1f7e6a535e1d09cfaecc6..454d4af348e65abbb2027a104cf5fa2bee86354c 100644 (file)
@@ -373,7 +373,6 @@ static void vcn_v1_0_disable_clock_gating(struct amdgpu_device *adev, bool sw)
                | UVD_SUVD_CGC_GATE__SCM_MASK
                | UVD_SUVD_CGC_GATE__SDB_MASK
                | UVD_SUVD_CGC_GATE__SRE_H264_MASK
-               | UVD_SUVD_CGC_GATE__SRE_H264_MASK
                | UVD_SUVD_CGC_GATE__SRE_HEVC_MASK
                | UVD_SUVD_CGC_GATE__SIT_H264_MASK
                | UVD_SUVD_CGC_GATE__SIT_HEVC_MASK