Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2555806imu; Thu, 29 Nov 2018 06:51:01 -0800 (PST) X-Google-Smtp-Source: AFSGD/UBSpBIUPUGFKWYIMT3JL7yfYt1SlAOqdLAzgp8t8xHz51CQgnT1cKLFLfnRxewGIjA2Fw3 X-Received: by 2002:a62:5658:: with SMTP id k85mr1636604pfb.231.1543503061022; Thu, 29 Nov 2018 06:51:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543503060; cv=none; d=google.com; s=arc-20160816; b=m9Khdjv80CwYrXW2mU8XpXYEuBd8WyTnRzwIgLkxnbCm1fj5p/1Ur09jNaoAnqNZus 6UQH/pMx49tWBtRqFMti3+NsjV8Ok4DfAg05CpVPCqLxleqeaDccL+Vt5rEDbuIdrgSj 5SIIKbMizXT8g3IIbiFAnydqXHzqTvCX24ll/CEs1Hhn26qaX/HvHfBYRGyPDV+YeKGo SrDl7qwU18FgAl/VDeoMY0puRKiYilw6xOcqKzrhCTyqfAmSUIuIduqiKRJL3O2zq4wp QG5uKad853lJNJr0TOSWWmCJVxporUz1yEDne+etv+dgnL8NdX3CKbWqcEbXDzIhbAaJ pE9A== 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=nQvTVAX9Fv4/k2z1u9OqBmWPD84nsoJf2DS+VlFnUwM=; b=C+WT/RUHF2bUbqlUf5qRGC3UTz1de2rGa9FgaTMQss/o+iL/8otdV/Sjgm6oYmpdxs qkmCYddXDEyWBb5yodZvlKUeh0yqviG3RkW/Rm0P2qwf2eYY3kiEBBRO8z9FQSqyFacM iALnRLFjoWsOEWU3VEKFBuW7sLbOs4bTrimkyDcIBdm+ieecTH5JUcdipy56GKgld2qd xk+bpsWZMggzU3fXY1E7+VsV3cCoL/cq3o4yHCN+cDSyvhLpx+jyVVB87sLLyz8TVhxb PeUSqasjLuIqcJgbUZicV8Aai/DAPyJo4w3yr8+ALYKYjO1E5Hx39ninzW2932RNZizn bevA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=C3qVrwdg; 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 g71si2070395pgc.419.2018.11.29.06.50.46; Thu, 29 Nov 2018 06:51:00 -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=C3qVrwdg; 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 S1732986AbeK3Ba6 (ORCPT + 99 others); Thu, 29 Nov 2018 20:30:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:58284 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728456AbeK3Ba5 (ORCPT ); Thu, 29 Nov 2018 20:30:57 -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 3765F21104; Thu, 29 Nov 2018 14:25:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543501525; bh=q3uNJw2uMgLge8PpPb8d/oKcy/W+o8GSILzaVXiV8Hw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C3qVrwdgFg/g4YiA9WgyU0dwEeDNjt4MsRCBamEuA2WfN86RN3poZtcAgKpJYaHJ7 f9FnCvUZ41aU9k5mFXuJozHAYeAYfkVchZSobT8gnjZXoJ9RfRcLucpMzxal76xFWh DtxHmtK4uEDzU7yrSl2p2BwKbV5uDJKKsZKVme9U= 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.14 033/100] drm/ast: change resolution may cause screen blurred Date: Thu, 29 Nov 2018 15:12:03 +0100 Message-Id: <20181129140101.664780167@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181129140058.768942700@linuxfoundation.org> References: <20181129140058.768942700@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.14-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 @@ -568,6 +568,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;