From patchwork Fri Jan 24 03:53:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 11349623 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DFED1924 for ; Fri, 24 Jan 2020 03:55:25 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 BE20922527 for ; Fri, 24 Jan 2020 03:55:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Nl8gH76i" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BE20922527 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 41A126FECD; Fri, 24 Jan 2020 03:55:12 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by gabe.freedesktop.org (Postfix) with ESMTPS id E481E6FECC for ; Fri, 24 Jan 2020 03:55:10 +0000 (UTC) Received: from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 96ABE11B7; Fri, 24 Jan 2020 04:55:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1579838108; bh=zUVagoRyhKBsPFr6RHnnmA10xl6GWlQ5+ttBaizjtQ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Nl8gH76ibg9hmXBnSoNvQxOLiTDhDiW0bnu4IKNlqLIKbwI6W6oDouWq+5JYfP5DN EROYzE5zuTW/lEPDBlV/0Ez32VCo6vGNwemwbe4O1V81wMb1vl8LG+ZYxEDQ1WKJrc K6JaDQLdswtLPQ3agwMf+apQaGW6IOqN2t46kyyI= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Subject: [PATCH v5 05/52] drm/bridge: Add interlace_allowed flag to drm_bridge Date: Fri, 24 Jan 2020 05:53:58 +0200 Message-Id: <20200124035445.1830-6-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200124035445.1830-1-laurent.pinchart@ideasonboard.com> References: <20200124035445.1830-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tomi Valkeinen , Sam Ravnborg , Sebastian Reichel , Boris Brezillon Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" In preparation for a connector creation helper based on a chain of bridges, add a flag to the drm_bridge structure to report support for interlaced modes. This will be used to set the connector's interlace_allowed flag. Signed-off-by: Laurent Pinchart --- include/drm/drm_bridge.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h index dbaf6a2e7e4e..c109e227e496 100644 --- a/include/drm/drm_bridge.h +++ b/include/drm/drm_bridge.h @@ -561,6 +561,11 @@ struct drm_bridge { * identifies the type of connected display. */ int type; + /** + * @interlace_allowed: Indicate that the bridge can handle interlaced + * modes. + */ + bool interlace_allowed; /** * @ddc: Associated I2C adapter for DDC access, if any. */