Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2572680imu; Thu, 29 Nov 2018 07:05:24 -0800 (PST) X-Google-Smtp-Source: AFSGD/VcneuzvV1+z7PsT+fba82dsxxJ88dChkeyqbjf4zCcmdmwAzU286IEOUHbM6b0moyKk9IT X-Received: by 2002:a17:902:a03:: with SMTP id 3mr1835327plo.112.1543503924153; Thu, 29 Nov 2018 07:05:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543503924; cv=none; d=google.com; s=arc-20160816; b=zPgobQP6dl/gWF++ZaCR48h8+2+XNGBRgdQdPGivdNjFRkDgNBRw03aFxBw0aaU6hK Q12uHOYSNsq//ddIk9FUSqUVxXlUjXWRE9OstxjTXPdhzd+CFxMj6S1DVtrlbrjHK1Y1 ryAiW4suTZ+Sm83cqr/Armq1AIv6AsoG3IopBx+ebMp7QP0meXIbNLw9EpX2uJ3RnPEP 1ez34/icF0MorVAd/lDhqgxnVWiC5NNQfPs2srJ9GZquLYmhQeSqjtc/FPEnZ/K/JHNL BE5kFFUeGvopS2YvMJhzeXywxBpat2zJgwMMlU2Iv+G6LNPX3v6aiQX3gQ/RkKNgD34N viBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=vyNCoRVOWa4iV8mFNahXkWv47wchQ9genTZ2uq8qCME=; b=tTJUuISRKCxJ5NEQe7srVdXiBIu3sHCCv4f/kiFPtcEpJuelBJ7jD1kphuMvyf3x66 E3JOd2ACMmA5/ePbD4JTfaLmS1R7zFuxkOQTsYRte4G/BgIB9edraW+x56hSJ0MBj9/Y XuzcQvB835MHFGSG8Rg2ZP0aiukrqsu4KdfMsA2a8QRbxCO0xvUObj4WNrShqWDUsj7L qhIIJEssEmLC+lptMG9v6zuMe1Dhe59FcD9ouup/dT0pYUL2c2bmPm1dz4JhYfRM13fJ JaOuc6z88D8BBn/gep4nT9Fs34fw7TpA+BQpZhgpnbazWA6iTooHqjPrQK+IBMG+iF5h 8R+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=atnbKPOY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w1si2162305pgi.66.2018.11.29.07.05.08; Thu, 29 Nov 2018 07:05:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=atnbKPOY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730228AbeK3BWb (ORCPT + 99 others); Thu, 29 Nov 2018 20:22:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:44224 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728190AbeK3BWa (ORCPT ); Thu, 29 Nov 2018 20:22:30 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6E577208E7; Thu, 29 Nov 2018 14:16:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543501019; bh=A4TYvWLog5vCbEjHgLR8Bpsyzid5q3FnpB5KfwSadYs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=atnbKPOYPAkGnv/UL+svDeh8QEzcTJ3gkuXIOvXl4+Ro6DHxN4OvpSEnu0eDfQ7ns DSsCx3JOmMkKoqKJEkK4X+pvMYVivYiAVq9Z069yJfdimE6oOnZmKwBVKUGYBVK01z /H2v2bTSyYfSG1WYnkdWFxAjL8Sb/56x4WHdrV5Y= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Y.C. Chen" , Jean Delvare , Dave Airlie Subject: [PATCH 4.4 10/86] drm/ast: change resolution may cause screen blurred Date: Thu, 29 Nov 2018 15:11:35 +0100 Message-Id: <20181129140110.761654710@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181129140109.832117862@linuxfoundation.org> References: <20181129140109.832117862@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Y.C. Chen commit 1a37bd823891568f8721989aed0615835632d81a upstream. The value of pitches is not correct while calling mode_set. The issue we found so far on following system: - Debian8 with XFCE Desktop - Ubuntu with KDE Desktop - SUSE15 with KDE Desktop Signed-off-by: Y.C. Chen Cc: Tested-by: Jean Delvare Reviewed-by: Jean Delvare Signed-off-by: Dave Airlie Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/ast/ast_mode.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/gpu/drm/ast/ast_mode.c +++ b/drivers/gpu/drm/ast/ast_mode.c @@ -552,6 +552,7 @@ static int ast_crtc_do_set_base(struct d } ast_bo_unreserve(bo); + ast_set_offset_reg(crtc); ast_set_start_address_crt1(crtc, (u32)gpu_addr); return 0;