> -----Original Message----- > From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf > Of Michel Dänzer > Sent: Tuesday, December 06, 2016 4:33 AM > To: amd-gfx at lists.freedesktop.org > Subject: [PATCH] drm/amdgpu/dce6: Set MASTER_UPDATE_MODE to 0 in > resume_mc_access as well > > From: Michel Dänzer <michel.daenzer at amd.com> > > Looks like this was missed when dce_v6_0.c was added. > > Fixes: e2cdf640cbb5 ("drm/amdgpu: add display controller implementation > for si v10") > Signed-off-by: Michel Dänzer <michel.daenzer at amd.com> Reviewed-by: Alex Deucher <alexander.deucher at amd.com> > --- > drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c > b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c > index 03c8529a8e02..c81ae9c4e4b8 100644 > --- a/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c > +++ b/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c > @@ -456,9 +456,8 @@ static void dce_v6_0_resume_mc_access(struct > amdgpu_device *adev, > for (i = 0; i < adev->mode_info.num_crtc; i++) { > if (save->crtc_enabled[i]) { > tmp = > RREG32(EVERGREEN_MASTER_UPDATE_MODE + crtc_offsets[i]); > - if ((tmp & 0x7) != 3) { > + if ((tmp & 0x7) != 0) { > tmp &= ~0x7; > - tmp |= 0x3; > > WREG32(EVERGREEN_MASTER_UPDATE_MODE + crtc_offsets[i], > tmp); > } > tmp = RREG32(EVERGREEN_GRPH_UPDATE + > crtc_offsets[i]); > -- > 2.11.0 > > _______________________________________________ > amd-gfx mailing list > amd-gfx at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx