On Mon, Nov 5, 2012 at 11:34 AM, <alexdeucher@xxxxxxxxx> wrote: > From: Alex Deucher <alexander.deucher@xxxxxxx> > > Add missing index that may have led us to enabling > more crtcs than necessary. > > May also fix: > https://bugs.freedesktop.org/show_bug.cgi?id=56139 > > Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx Looks like the stable cc got dropped when this patch got pulled. The original patch was backported to older kernels. Alex > --- > drivers/gpu/drm/radeon/evergreen.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c > index 14313ad..af31f82 100644 > --- a/drivers/gpu/drm/radeon/evergreen.c > +++ b/drivers/gpu/drm/radeon/evergreen.c > @@ -1372,7 +1372,7 @@ void evergreen_mc_resume(struct radeon_device *rdev, struct evergreen_mc_save *s > WREG32(BIF_FB_EN, FB_READ_EN | FB_WRITE_EN); > > for (i = 0; i < rdev->num_crtc; i++) { > - if (save->crtc_enabled) { > + if (save->crtc_enabled[i]) { > if (ASIC_IS_DCE6(rdev)) { > tmp = RREG32(EVERGREEN_CRTC_BLANK_CONTROL + crtc_offsets[i]); > tmp |= EVERGREEN_CRTC_BLANK_DATA_EN; > -- > 1.7.7.5 > _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel