Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2089765ybf; Mon, 2 Mar 2020 01:39:30 -0800 (PST) X-Google-Smtp-Source: APXvYqzxNiAquLRpI8OfZUHygWK34/MYsEo1eqoeWVjYXFkGbSJbDvO0ujKCvsKQkPkyv/D7SKZ4 X-Received: by 2002:aca:3f54:: with SMTP id m81mr10611847oia.73.1583141970436; Mon, 02 Mar 2020 01:39:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583141970; cv=none; d=google.com; s=arc-20160816; b=thtjXuej/mCeS3d7VM2KJ5wKmTjdgYsEQc5JmtvNwOn5WK3WsD2hELJo+Rzisw1CeS Hqnx3GflN6i0UpHSNcd5m9oD8WYysnXLWtvYNPThenTOJ/pu4jKvINpkerfB7o1ICcuY km7ufG3pmiaZeCJ4FaHsqIk2VK0cly+rHg8iUWGPwh0sKC3fgtPedGfPPF9MB/UAiG95 Fwa5F8g43kinJIW6NGSLcKj+6Af9hviq6eExtzBRFklJR/CD+0PX97zGeXK3qyAJMgSW 5OypusLchXr3MLWbrpFALdUqArvdsfd+9mlxD5g6bKJmxX56eFYhRi1SzXoyzoEjrQjO EjFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=lG2LTbKY6iLVNzsR+nyVpA1GLcDonBMEaD6WQEfQ5aA=; b=GmQW/LgItqsugb+RR/pgdD/UlTjLO2SDN2ZruY4l5dZnfee92MtkFyj5c97+bRCb/C iD4Cxa/j0cnSO2+AyvJR30bm2J35pKh/Inc9zaRAt+NvK1Mjk/nqbtO9x7sIkFZQvaYK gAQPb4PPBJaoiu6LCxat3S6h0JB44ececV4Lft5pcVIRuzseusIGNKhPdKYGUa3UBxOO nZfJd3M/lECnANkdZEx7C5UvWbvVeP5x4AAQGPAMnRlbgBLppdifmwcoeiWa5b66wi9B jvXlN7MNg2M1m77MRMaSnQS4O8c/6PfewoPvzUG8O2feJ7TcK6DUexIPXMO0BADYRBOs 4ouw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=cwlhJHtI; 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 v81si5373661oia.114.2020.03.02.01.39.18; Mon, 02 Mar 2020 01:39:30 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=cwlhJHtI; 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 S1727198AbgCBJhx (ORCPT + 99 others); Mon, 2 Mar 2020 04:37:53 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:50698 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726674AbgCBJhx (ORCPT ); Mon, 2 Mar 2020 04:37:53 -0500 Received: from pendragon.ideasonboard.com (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 00E6E54A; Mon, 2 Mar 2020 10:37:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1583141872; bh=JaiLwKwLjbPQuu84TSj6iCTI4JbyTTiFDByTAxo6at0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cwlhJHtIEgnNQ53Hmp8isgrboXULKcbj4DthZ127fTLcRs2IRyEnA43pDcWOLmgtX 0/3jRu7JSVq7+lldyxuk8/en/DJHOCMYAPkF/hQ/scvzhICy2dRofuOsoAFgfc+3tR bkynMlVN6FWoRhsTQj2kz0BCydMkSLjWhS6RW+gw= Date: Mon, 2 Mar 2020 11:37:28 +0200 From: Laurent Pinchart To: Jernej Skrabec Cc: a.hajda@samsung.com, narmstrong@baylibre.com, jonas@kwiboo.se, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] drm/bridge: dw-hdmi: do not force "none" scan mode Message-ID: <20200302093728.GF11960@pendragon.ideasonboard.com> References: <20200229163043.158262-1-jernej.skrabec@siol.net> <20200229163043.158262-4-jernej.skrabec@siol.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200229163043.158262-4-jernej.skrabec@siol.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jernej and Jonas, Thank you for the patch. On Sat, Feb 29, 2020 at 05:30:42PM +0100, Jernej Skrabec wrote: > From: Jonas Karlman > > Setting scan mode to "none" confuses some TVs like LG B8, which randomly > change overscan procentage over time. Digital outputs like HDMI and DVI, s/procentage/percentage/ ? > handled by this controller, don't really need overscan, so we can always > set scan mode to underscan. Actually, this is exactly what > drm_hdmi_avi_infoframe_from_display_mode() already does, so we can just > remove offending line. > > Signed-off-by: Jonas Karlman > [updated commit message] > Signed-off-by: Jernej Skrabec Acked-by: Laurent Pinchart > --- > drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c > index 9d7bfb1cb213..3d6021119942 100644 > --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c > +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c > @@ -1655,8 +1655,6 @@ static void hdmi_config_AVI(struct dw_hdmi *hdmi, struct drm_display_mode *mode) > HDMI_EXTENDED_COLORIMETRY_XV_YCC_601; > } > > - frame.scan_mode = HDMI_SCAN_MODE_NONE; > - > /* > * The Designware IP uses a different byte format from standard > * AVI info frames, though generally the bits are in the correct -- Regards, Laurent Pinchart