Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp2333249ybb; Sat, 30 Mar 2019 02:26:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOWzZ9lmX+nQBt7m8/oC/Lh9VVDxi/akl4Z1DIVrx6KzN4sUXXgj4rH02C7Pp0C6VH6e32 X-Received: by 2002:a63:464c:: with SMTP id v12mr49799318pgk.431.1553937969437; Sat, 30 Mar 2019 02:26:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553937969; cv=none; d=google.com; s=arc-20160816; b=qCaqyruRU3EigHXuK7iptru6NsJL1M5AX4CcLLppKoG2c/O3K034yjpAWjd2RIpPv1 wKPje62owtRWkW6dSc6XcZOLGuURC+thsOz6BRj4+TpPIiYfiMts/+p1fOuMV+8yBub8 okrUIJ2P5HpEXNQHk3pWETJDZWXi8nv8r0pa34DcPbC/rFpgVYDwDkozobHVcPExVTLW BN3uUU2V64PcP3rhmHX+1PsTvhnVB9B52+d0mAoz+zriLzGd9s0LIMwsWB5FQTA/xJqx pXM4jFk5euLtSZOluwccsg86hh54cnJwEU7kw7/0oiA1C1bw3LE9mzbGwMh1B6kHAoDo 0X4g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=/4k5jwZoWzSIYBzihCcVe3kZQijl15BF8KTEha5v4Zk=; b=xauRmFi1iYrwVJ5QhChArhv4PwbYaly9oN6+onjoVDtMlKxFDW+XVTfTsUI0hUB+ya jOk4A1sgmgEHuKZE94antDWOZ8Lg56rkbltQV7iInUs0tzvFGHPQHvjANnbeKXxC0zx9 NqmaSuTehfLdLTRcFZLPkE1+eudtMhePHcSRaDVYCmbPRHfGd0t9B4hsC1hVeiDXSeF8 oW6COfr5CvrD6xYu425VdSfBPCY7h6l6yOA7sBAw+Zbvbe0X3eacaGb7KDaOwH1jrwH8 UkBb89DeS+5uJvguZau7g75SiCo5v1wfQnmePu4XlxvSln6huphz2Zy2wMvqQc6RL3Ht 4Y8w== ARC-Authentication-Results: i=1; mx.google.com; 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 t8si3942303pgp.174.2019.03.30.02.25.53; Sat, 30 Mar 2019 02:26:09 -0700 (PDT) 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; 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 S1730537AbfC3JYc (ORCPT + 99 others); Sat, 30 Mar 2019 05:24:32 -0400 Received: from gloria.sntech.de ([185.11.138.130]:44734 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730384AbfC3JYc (ORCPT ); Sat, 30 Mar 2019 05:24:32 -0400 Received: from ip5f5a6320.dynamic.kabel-deutschland.de ([95.90.99.32] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hAADp-0003Js-GG; Sat, 30 Mar 2019 10:24:17 +0100 From: Heiko Stuebner To: Jonas Karlman Cc: "dri-devel@lists.freedesktop.org" , "linux-rockchip@lists.infradead.org" , Archit Taneja , Andrzej Hajda , Laurent Pinchart , David Airlie , Daniel Vetter , Sean Paul , Neil Armstrong , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] drm: bridge: dw-hdmi: Fix overflow workaround for Rockchip SoCs Date: Sat, 30 Mar 2019 10:24:16 +0100 Message-ID: <2505351.MTFty8Ks2V@phil> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, 20. Februar 2019, 08:52:31 CET schrieb Jonas Karlman: > The Rockchip RK3288 SoC (v2.00a) and RK3328/RK3399 SoCs (v2.11a) have > also been identified as needing this workaround with a single iteration. > > Fixes: be41fc55f1aa ("drm: bridge: dw-hdmi: Handle overflow workaround based on device version") > Signed-off-by: Jonas Karlman On rk3328 and rk3288 Tested-by: Heiko Stueber If I remember correctly, this should remove the pink line that shows up sometimes. With this patch I couldn't see it anymore during multiple reboots. Heiko > --- > drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c > index 64c3cf027518..14223c0ee784 100644 > --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c > +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c > @@ -1655,6 +1655,8 @@ static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi) > * iteration for others. > * The Amlogic Meson GX SoCs (v2.01a) have been identified as needing > * the workaround with a single iteration. > + * The Rockchip RK3288 SoC (v2.00a) and RK3328/RK3399 SoCs (v2.11a) have > + * been identified as needing the workaround with a single iteration. > */ > > switch (hdmi->version) { > @@ -1663,7 +1665,9 @@ static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi) > break; > case 0x131a: > case 0x132a: > + case 0x200a: > case 0x201a: > + case 0x211a: > case 0x212a: > count = 1; > break; >