From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60262C43381 for ; Sun, 31 Mar 2019 14:01:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2FCCC2146F for ; Sun, 31 Mar 2019 14:01:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="LbPH+MD5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2FCCC2146F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sntech.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=S1EccR7i2RWQbsdnfD6yyTxeAUzIzh6rlSg6TYfvlvs=; b=LbPH+MD5npIgTP PC4P5hiVJ1/AVgxlEGxuCNBBolpIisifd7LoJC0SbdjF2dEo1jlFOpMDVMnQY1aEzLpU262rgCcE5 Hxp7CtrKkSy8MPcqmetPOsNB2t/DDBzhFR8rHH/WwJS8Dmuw4rrJn+4CmXj5VJN4hk4nvlsVKlSdi B6AonffCMaHRENaCr8iG5J77jnQnGrT4t4afx9Js5Q5Np4bo5kMQ+LRrKFLzB86+0a+l5RGPmMGvE b/0Eb6UIMKkbsh31mH2SNiFChuXDxCT7eDwa5Z25gauQjWqjE/y9fs/oyGW3IIFeJdcH+LME97NBZ DwWiR9cIjBshjmsJeEYA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAb1Y-0001k0-JP; Sun, 31 Mar 2019 14:01:24 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAb1V-0001jX-1U; Sun, 31 Mar 2019 14:01:22 +0000 Received: from p5b1271a2.dip0.t-ipconnect.de ([91.18.113.162] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hAb1Q-0000NF-BB; Sun, 31 Mar 2019 16:01:16 +0200 From: Heiko Stuebner To: Johan Jonker Subject: Re: [PATCH v6 1/4] drm: rockchip: introduce rk3066 hdmi Date: Sun, 31 Mar 2019 16:01:15 +0200 Message-ID: <3503295.Ps5hWAbIar@phil> In-Reply-To: <20190330095639.14626-2-jbx6244@gmail.com> References: <20190330095639.14626-1-jbx6244@gmail.com> <20190330095639.14626-2-jbx6244@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190331_070121_232479_D198E997 X-CRM114-Status: GOOD ( 11.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, airlied@linux.ie, hjc@rock-chips.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, daniel@ffwll.ch, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Johan, Am Samstag, 30. M=E4rz 2019, 10:56:36 CEST schrieb Johan Jonker: > From: Zheng Yang > = > The RK3066 HDMI TX serves as interface between a LCD Controller and > a HDMI bus. A HDMI TX consists of one HDMI transmitter controller and > one HDMI transmitter PHY. The interface has three (3) 8-bit data channels > which can be configured for a number of bus widths (8/10/12/16/20/24-bit) > and different video formats (RGB, YCbCr). > = > Features: > HDMI version 1.4a, HDCP revision 1.4 and > DVI version 1.0 compliant transmitter. > Supports DTV resolutions from 480i to 1080i/p HD. > Master I2C interface for a DDC connection. > HDMI TX supports multiple power save modes. > The HDMI TX input can switch between LCDC0 and LCDC1. > (Sound support is not included in this patch) > = > Signed-off-by: Zheng Yang > Signed-off-by: Johan Jonker applied to drm-misc-next with a smallish change as described below, please double check. [0] > +static int > +rk3066_hdmi_probe_single_connector_modes(struct drm_connector *connector, > + uint32_t maxX, uint32_t maxY) > +{ instead of > + return drm_helper_probe_single_connector_modes(connector, 1920, 1080); it is now doing + if (maxX > 1920) + maxX =3D 1920; + if (maxY > 1080) + maxY =3D 1080; + + return drm_helper_probe_single_connector_modes(connector, maxX, maxY); to take into account maxX / maxY being already below 1920x1080 > +} Heiko [0] https://cgit.freedesktop.org/drm/drm-misc/commit/?id=3Df84d3d37b7fbb022= e33b79d54374466f6fbc7186 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel