Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4444526ybv; Sun, 16 Feb 2020 22:40:16 -0800 (PST) X-Google-Smtp-Source: APXvYqxMz3qJyLHKEjd5ROLp2o0DZheRciHkHqHRyW+g7VmSByZjm80Zlj4gUlk3kNdEtF28x0Ms X-Received: by 2002:a9d:7f98:: with SMTP id t24mr11682860otp.338.1581921616314; Sun, 16 Feb 2020 22:40:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581921616; cv=none; d=google.com; s=arc-20160816; b=HbewHuL4fn2i8wuUfMRmuaBvlz7AygPWoNKcVG5amum/OSppK65oDP1GNFxHMHg8eZ JRSOJ2xWGKv2rKHEOZSxcZ+SWz0/QJV/uVWFj7RY5xwg3REC1axpqZrZ9kb8iD8OHXka yqLs0mYlmr1+dGEbP9Rg5aFyAqZFtLOCKzL0mARRXOLGWG3DNxUAgWcJRfS94HQYPIs3 OW869R86UVuCdlBhuHl6ZsOEeAJFI0zndt2jLL2gxrx/HEigXboRRfvuhuaMcqngptWT 6h9BzkwMJXYEyzhR+C0HcWXw6rjBhbDVPLiJbCYUL439VZdmT4RJDdeIqEXh5WM9WsRB 7JzQ== 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=QYhXHgp4LT/IAiEII1vcexxbrwwrkIpoZicvt90407A=; b=lHe9CB0Qoemocw4MgctXneBmplKKoFC0LMuQCV4K2sX69WMYgPb61/z/AGtn7aPKa7 otYimCeYH7UV77tbu7QFhDhISQ9IKUgIavMC5EYsCsPedfFOF3ZkW+yMtzirycXuZief knsjRxKLbk1GqHDGOd+zAvJhU0XD4yrWcaHz6QY8s4SfTxB9yVVKB5AwGy6nEutay/xz CH8sDGHjvSyA0kvHIz+BIJy+S8FH37JqeuuPqn+0mtjndy4XQ+QftyDxlBrZT21L4WgH s4jfZmmSZBasNRQBpMz4ulR12CLwF0g2SBhbJfO2rsAHELuyaKHOGiwNZa8769xNL7K/ 59Cw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i13si6815776otc.228.2020.02.16.22.40.04; Sun, 16 Feb 2020 22:40:16 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726314AbgBQGjF convert rfc822-to-8bit (ORCPT + 99 others); Mon, 17 Feb 2020 01:39:05 -0500 Received: from mailoutvs13.siol.net ([185.57.226.204]:51859 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726029AbgBQGjF (ORCPT ); Mon, 17 Feb 2020 01:39:05 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTP id 51884522CE8; Mon, 17 Feb 2020 07:39:01 +0100 (CET) X-Virus-Scanned: amavisd-new at psrvmta12.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta12.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id aQUjgWNbNH1b; Mon, 17 Feb 2020 07:39:01 +0100 (CET) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTPS id F4052522C8E; Mon, 17 Feb 2020 07:39:00 +0100 (CET) Received: from jernej-laptop.localnet (cpe-194-152-20-232.static.triera.net [194.152.20.232]) (Authenticated sender: jernej.skrabec@siol.net) by mail.siol.net (Zimbra) with ESMTPA id 1C5E9522CE8; Mon, 17 Feb 2020 07:38:59 +0100 (CET) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: a.hajda@samsung.com, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, boris.brezillon@collabora.com, Neil Armstrong Cc: linux-amlogic@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Neil Armstrong Subject: Re: [PATCH v4 02/11] drm/bridge: dw-hdmi: add max bpc connector property Date: Mon, 17 Feb 2020 07:38:58 +0100 Message-ID: <11463907.O9o76ZdvQC@jernej-laptop> In-Reply-To: <20200206191834.6125-3-narmstrong@baylibre.com> References: <20200206191834.6125-1-narmstrong@baylibre.com> <20200206191834.6125-3-narmstrong@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! Dne Ĩetrtek, 06. februar 2020 ob 20:18:25 CET je Neil Armstrong napisal(a): > From: Jonas Karlman > > Add the max_bpc property to the dw-hdmi connector to prepare support > for 10, 12 & 16bit output support. > > Signed-off-by: Jonas Karlman > Signed-off-by: Neil Armstrong > --- > 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 > 9e0927d22db6..051001f77dd4 100644 > --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c > +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c > @@ -2406,6 +2406,10 @@ static int dw_hdmi_bridge_attach(struct drm_bridge > *bridge) DRM_MODE_CONNECTOR_HDMIA, > hdmi->ddc); > > + drm_atomic_helper_connector_reset(connector); Why is this reset needed? Best regards, Jernej > + > + drm_connector_attach_max_bpc_property(connector, 8, 16); > + > if (hdmi->version >= 0x200a && hdmi->plat_data->use_drm_infoframe) > drm_object_attach_property(&connector->base, > connector->dev- >mode_config.hdr_output_metadata_property, 0);