Skip to content

Commit 804cc4a

Browse files
committed
drm/radeon: properly track the crtc not_enabled case evergreen_mc_stop()
The save struct is not initialized previously so explicitly mark the crtcs as not used when they are not in use. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
1 parent 6f75511 commit 804cc4a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/gpu/drm/radeon/evergreen.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,8 @@ void evergreen_mc_stop(struct radeon_device *rdev, struct evergreen_mc_save *sav
13301330
break;
13311331
udelay(1);
13321332
}
1333+
} else {
1334+
save->crtc_enabled[i] = false;
13331335
}
13341336
}
13351337

0 commit comments

Comments
 (0)