From e5e0e8671713633f89451280e694d14206b38ef0 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Fri, 2 Feb 2018 12:24:23 -0500 Subject: drm/amdgpu/dce: fix mask in dce_v*_0_is_in_vblank MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Using the wrong mask. Reviewed-by: Michel Dänzer Noticed-by: Hans de Ruiter Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/drm/amd/amdgpu/dce_v8_0.c') diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c index 823a8c331da5..6fc3e05aadbc 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c @@ -143,7 +143,7 @@ static void dce_v8_0_audio_endpt_wreg(struct amdgpu_device *adev, static bool dce_v8_0_is_in_vblank(struct amdgpu_device *adev, int crtc) { if (RREG32(mmCRTC_STATUS + crtc_offsets[crtc]) & - CRTC_V_BLANK_START_END__CRTC_V_BLANK_START_MASK) + CRTC_STATUS__CRTC_V_BLANK_MASK) return true; else return false; -- cgit v1.2.3