From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423603Ab2LGBAM (ORCPT ); Thu, 6 Dec 2012 20:00:12 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:46480 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423581Ab2LGBAE (ORCPT ); Thu, 6 Dec 2012 20:00:04 -0500 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Greg Kroah-Hartman , alan@lxorguk.ukuu.org.uk, Alex Deucher Subject: [ 05/27] drm/radeon: properly track the crtc not_enabled case evergreen_mc_stop() Date: Thu, 6 Dec 2012 16:58:49 -0800 Message-Id: <20121207005826.938801822@linuxfoundation.org> X-Mailer: git-send-email 1.8.0.197.g5a90748 In-Reply-To: <20121207005825.232489605@linuxfoundation.org> References: <20121207005825.232489605@linuxfoundation.org> User-Agent: quilt/0.60-2.1.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Alex Deucher commit 804cc4a0ad3a896ca295f771a28c6eb36ced7903 upstream. 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 Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/radeon/evergreen.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon/evergreen.c @@ -1276,6 +1276,8 @@ void evergreen_mc_stop(struct radeon_dev break; udelay(1); } + } else { + save->crtc_enabled[i] = false; } }