From patchwork Fri Nov 30 13:42:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10706353 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 029DC13B0 for ; Fri, 30 Nov 2018 13:43:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E588230091 for ; Fri, 30 Nov 2018 13:43:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D955B30098; Fri, 30 Nov 2018 13:43:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8FD1530091 for ; Fri, 30 Nov 2018 13:43:23 +0000 (UTC) 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=i2V8qLykwVHY5mWmNpkxhWBx/g+xVm3fNO0DTXenlTI=; b=QksYk4h7hxqpm2 6JaeKdfWyr8GUW6sxwW/wOZmS2a2W/+kAsZk9sUASMWmp/w58A+j9E7fNo50mugied0S7JKD9FoIM ykBh4egYp9tfIRTz6KNZpgOKjzO/hv245e/3OFXAYx7lhmXtVUjUBI60mIWdVX1TNjkpvq8vjRHod B/5QIZK2i5Ed5jNaG0zaCNhDiLUIYJknSdFBC1VwXaZ9rOcUrqXYivFQthsDGtyx4Br08b8h7HYi3 qQBKnZgBl5PEpDURPjhN5Fa+D9aS0Z6gld4rynyQSM4Lnw0CG4Gi9DLKYw/efiakXN1eiWHueKjG9 mxFdnHGAs1HdeU9LbkFQ==; 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 1gSj4k-0003Bh-Hr; Fri, 30 Nov 2018 13:43:22 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gSj4e-0002yI-Qk for linux-amlogic@lists.infradead.org; Fri, 30 Nov 2018 13:43:20 +0000 Received: by mail-wr1-x443.google.com with SMTP id r10so5320599wrs.10 for ; Fri, 30 Nov 2018 05:43:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uSoaClJe2VwJrVf3BYX56JymGMy95DbVg8e+WAGVJ14=; b=f0an6cYGq1iPZp4oIws9G77BregI9k+0nmvJwA2K6wIWrTeYLEyHfrH95QNeWM6u/a dGvZnptAR39l7x/NxAMnm+d//Zxt6+K6i7lhfLay6inMslpPM97rRgVImMj/LQxKH2rP 7z9iZGxL4qWS0po/A01To3whKfN0POiocKtBh8TRD/BvwWYUQq/fllJq0nkeph2Ik0NW alLMEvcKyd/qX47AY+w8iChCa7D/X4rIkezV07o6clIKQ0DqnyvoCIddSR6ErtGlK93I /sfCHI3/c6Qzkee12CDDR7Is6sZ2/m2bH2p8cZs7dY7WGdasHiSAGcYsXQN8147Q/emZ WEqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uSoaClJe2VwJrVf3BYX56JymGMy95DbVg8e+WAGVJ14=; b=RkyUpTfplQlNkFud8J/dCZsMlaQhZi1/f54UibBpwJRP9V0iE/T0vmZKMLByQKGxoq A6avS3LpWrU/Ez2R8KlkOlBwLOs5Dg4LuhgHkGuuiKcmeSKXgkhA79BKMzoU3uPNlmZV qOIELuZY/rsGvQLYMMzipq3fZkjCwUrG2ySRlgh3Xr78DUSmwBU4dIcFkSjnyE6KcMUG nIK3PbblLb7QJwqOAYUlkM7RJAM6NxwnW3OaVMHlRwf/vStNQnluiM5YWbjhDn9wtB1X LjpA1eTS2EU6tk23zQd/o+BFQz+PdYk0o1bko7oh3Ub381zkuDhlzvpqEdux54RDI+8u 4JaQ== X-Gm-Message-State: AA+aEWYC+BE9qJxTxEn4qbAbu7vl/3h+i1ISlqm6l4mMX0cSCa1mY0DF u8lujgODzn6mg0x/Zh7fd5kiaE4DO5j+7g== X-Google-Smtp-Source: AFSGD/XMOjIFvJp5titmU+bmuir/auYOcVAWltP7EIdXNZVFnsJfO0vV+kvNF5mey6Gm5EYhwUoJgg== X-Received: by 2002:a05:6000:1189:: with SMTP id g9mr5357968wrx.221.1543585387856; Fri, 30 Nov 2018 05:43:07 -0800 (PST) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id 125sm6864898wml.35.2018.11.30.05.43.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Nov 2018 05:43:07 -0800 (PST) From: Neil Armstrong To: architt@codeaurora.org, a.hajda@samsung.com, Laurent.pinchart@ideasonboard.com Subject: [PATCH RFC v2 3/8] drm/meson: add support for HDMI2.0 2160p modes Date: Fri, 30 Nov 2018 14:42:56 +0100 Message-Id: <20181130134301.17963-4-narmstrong@baylibre.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181130134301.17963-1-narmstrong@baylibre.com> References: <20181130134301.17963-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181130_054316_941521_7760F88A X-CRM114-Status: UNSURE ( 9.66 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Neil Armstrong Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Now we support the TMDS Clock > 3.4GHz and support the SCDC Control operation in the DW-HDMI Controller, we can enable support for the HDMI2.0 3840x2160@60/50 RGB444 display modes. Signed-off-by: Neil Armstrong Reviewed-by: Andrzej Hajda --- drivers/gpu/drm/meson/meson_venc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/meson/meson_venc.c b/drivers/gpu/drm/meson/meson_venc.c index 0ba04f6813e6..66d73a932d19 100644 --- a/drivers/gpu/drm/meson/meson_venc.c +++ b/drivers/gpu/drm/meson/meson_venc.c @@ -848,6 +848,8 @@ struct meson_hdmi_venc_vic_mode { { 93, &meson_hdmi_encp_mode_2160p24 }, { 94, &meson_hdmi_encp_mode_2160p25 }, { 95, &meson_hdmi_encp_mode_2160p30 }, + { 96, &meson_hdmi_encp_mode_2160p25 }, + { 97, &meson_hdmi_encp_mode_2160p30 }, { 0, NULL}, /* sentinel */ };