From patchwork Wed Mar 22 17:36:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jose Abreu X-Patchwork-Id: 9640217 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8FA906020B for ; Wed, 22 Mar 2017 22:27:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 83BD526E48 for ; Wed, 22 Mar 2017 22:27:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 78B9B28495; Wed, 22 Mar 2017 22:27:59 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EDBAE26E48 for ; Wed, 22 Mar 2017 22:27:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4002B6E9A6; Wed, 22 Mar 2017 22:27:11 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from smtprelay.synopsys.com (us01smtprelay-2.synopsys.com [198.182.47.9]) by gabe.freedesktop.org (Postfix) with ESMTPS id 987EB6E955 for ; Wed, 22 Mar 2017 17:36:28 +0000 (UTC) Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id 601FE24E0C78 for ; Wed, 22 Mar 2017 10:36:28 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 4E8B7613; Wed, 22 Mar 2017 10:36:28 -0700 (PDT) Received: from joabreu-VirtualBox.internal.synopsys.com (joabreu-e7440.internal.synopsys.com [10.107.19.97]) by mailhost.synopsys.com (Postfix) with ESMTP id 19B175F9; Wed, 22 Mar 2017 10:36:26 -0700 (PDT) From: Jose Abreu To: dri-devel@lists.freedesktop.org Subject: [RFC 4/5] drm: connector: Add hdmi2_allowed flag Date: Wed, 22 Mar 2017 17:36:00 +0000 Message-Id: X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: X-Mailman-Approved-At: Wed, 22 Mar 2017 22:26:38 +0000 Cc: Jose Abreu , Carlos Palminha X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Add a new HDMI 2.0+ flag which will signal core that the connector can handle HDMI 2.0+ video modes. Signed-off-by: Jose Abreu Cc: Carlos Palminha Cc: dri-devel@lists.freedesktop.org --- include/drm/drm_connector.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index f8b766d..f3db9bd 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h @@ -637,6 +637,7 @@ struct drm_cmdline_mode { * @interlace_allowed: can this connector handle interlaced modes? * @doublescan_allowed: can this connector handle doublescan? * @stereo_allowed: can this connector handle stereo modes? + * @hdmi2_allowed: can this connector handle HDMI 2.0+ modes? * @funcs: connector control functions * @edid_blob_ptr: DRM property containing EDID if present * @properties: property tracking for this connector @@ -701,6 +702,7 @@ struct drm_connector { bool interlace_allowed; bool doublescan_allowed; bool stereo_allowed; + bool hdmi2_allowed; /** * @registered: Is this connector exposed (registered) with userspace? * Protected by @mutex.