From patchwork Thu Apr 19 09:31:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 10349355 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 2A7AE60365 for ; Thu, 19 Apr 2018 09:32:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C0FA28829 for ; Thu, 19 Apr 2018 09:32:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 106D3289A9; Thu, 19 Apr 2018 09:32:19 +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=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C85D728829 for ; Thu, 19 Apr 2018 09:32:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752706AbeDSJcG (ORCPT ); Thu, 19 Apr 2018 05:32:06 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:47939 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750990AbeDSJbo (ORCPT ); Thu, 19 Apr 2018 05:31:44 -0400 X-Originating-IP: 2.224.242.101 Received: from w540.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 5FBDD6004B; Thu, 19 Apr 2018 11:31:40 +0200 (CEST) From: Jacopo Mondi To: architt@codeaurora.org, a.hajda@samsung.com, Laurent.pinchart@ideasonboard.com, airlied@linux.ie Cc: Jacopo Mondi , daniel@ffwll.ch, peda@axentia.se, linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 8/8] drm: connector: Remove DRM_BUS_FLAG_DATA_* flags Date: Thu, 19 Apr 2018 11:31:09 +0200 Message-Id: <1524130269-32688-9-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524130269-32688-1-git-send-email-jacopo+renesas@jmondi.org> References: <1524130269-32688-1-git-send-email-jacopo+renesas@jmondi.org> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP DRM_BUS_FLAG_DATA_* flags, defined in drm_connector.h header file are used to swap ordering of LVDS RGB format to accommodate DRM objects that need to handle LVDS components ordering. Now that the only 2 users of DRM_BUS_FLAG_DATA_* flags have been ported to use the newly introduced MEDIA_BUS_FMT_RGB888_1X7X*_LE media bus formats, remove them. Signed-off-by: Jacopo Mondi --- include/drm/drm_connector.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index 675cc3f..9e0d6d5 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h @@ -286,10 +286,6 @@ struct drm_display_info { #define DRM_BUS_FLAG_PIXDATA_POSEDGE (1<<2) /* drive data on neg. edge */ #define DRM_BUS_FLAG_PIXDATA_NEGEDGE (1<<3) -/* data is transmitted MSB to LSB on the bus */ -#define DRM_BUS_FLAG_DATA_MSB_TO_LSB (1<<4) -/* data is transmitted LSB to MSB on the bus */ -#define DRM_BUS_FLAG_DATA_LSB_TO_MSB (1<<5) /** * @bus_flags: Additional information (like pixel signal polarity) for