From patchwork Wed Dec 5 08:49:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 10713301 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 72A27109C for ; Wed, 5 Dec 2018 08:49:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 64BC82C627 for ; Wed, 5 Dec 2018 08:49:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 583D72C6BE; Wed, 5 Dec 2018 08:49:33 +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,MAILING_LIST_MULTI, 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 111482C627 for ; Wed, 5 Dec 2018 08:49:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9316A6E3A5; Wed, 5 Dec 2018 08:49:16 +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 [213.167.242.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id 211746E39F for ; Wed, 5 Dec 2018 08:48:57 +0000 (UTC) Received: from avalon.bb.dnainternet.fi (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4AEDE546; Wed, 5 Dec 2018 09:48:54 +0100 (CET) From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Subject: [PATCH v2 0/2] Clarify display info PIXDATA bus flags Date: Wed, 5 Dec 2018 10:49:23 +0200 Message-Id: <20181205084925.25173-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Tomi Valkeinen , Thierry Reding Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hello, This patch series attemps at clarifying usage of the DRM_BUS_FLAG_(PIXDATA|SYNC)_(POS|NEG)EDGE flags. It results from a discussion on the mailing list available at [1]. The problem being discussed was confusion around how the DRM_BUS_FLAG_(PIXDATA|SYNC)_POSEDGE and DRM_BUS_FLAG_(PIXDATA|SYNC)_NEGEDGE flags could be interpreted (and are interpreted now by drivers). Patch 1/2 introduces new, more explicit flags, and explains the rationale. Patch 2/2 then updates the drivers to use the new flags. Compared to the previous RFC series, the DRM_BUS_FLAG_SYNC_* flags have been addressed too, and the series got rebased on top of drm-next (with one more use of the old flags being replaced). [1] https://www.spinics.net/lists/arm-kernel/msg677079.html Laurent Pinchart (2): drm: Clarify definition of the DRM_BUS_FLAG_(PIXDATA|SYNC)_* macros drm: Use new DRM_BUS_FLAG_*_(DRIVE|SAMPLE)_(POS|NEG)EDGE flags drivers/gpu/drm/bridge/dumb-vga-dac.c | 6 ++-- drivers/gpu/drm/drm_modes.c | 12 +++---- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 2 +- drivers/gpu/drm/imx/ipuv3-crtc.c | 2 +- drivers/gpu/drm/mxsfb/mxsfb_crtc.c | 6 ++-- .../gpu/drm/omapdrm/displays/encoder-tfp410.c | 5 +-- .../displays/panel-lgphilips-lb035q02.c | 5 +-- .../omapdrm/displays/panel-nec-nl8048hl11.c | 5 +-- .../displays/panel-sharp-ls037v7dw01.c | 5 +-- .../omapdrm/displays/panel-sony-acx565akm.c | 5 +-- .../omapdrm/displays/panel-tpo-td028ttec1.c | 5 +-- .../omapdrm/displays/panel-tpo-td043mtea1.c | 5 +-- drivers/gpu/drm/omapdrm/dss/dsi.c | 4 +-- drivers/gpu/drm/omapdrm/dss/sdi.c | 4 +-- drivers/gpu/drm/omapdrm/omap_encoder.c | 8 ++--- drivers/gpu/drm/panel/panel-arm-versatile.c | 4 +-- drivers/gpu/drm/panel/panel-ilitek-ili9322.c | 4 +-- drivers/gpu/drm/panel/panel-seiko-43wvf1g.c | 2 +- drivers/gpu/drm/panel/panel-simple.c | 24 ++++++------- drivers/gpu/drm/pl111/pl111_display.c | 2 +- drivers/gpu/drm/sun4i/sun4i_tcon.c | 4 +-- drivers/gpu/drm/tve200/tve200_display.c | 3 +- include/drm/drm_bridge.h | 9 ++--- include/drm/drm_connector.h | 36 ++++++++++++++++--- 24 files changed, 102 insertions(+), 65 deletions(-)