From patchwork Fri Aug 4 22:44:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 9882247 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 4A9D860375 for ; Fri, 4 Aug 2017 22:46:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3D680289EF for ; Fri, 4 Aug 2017 22:46:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 32472289F1; Fri, 4 Aug 2017 22:46:12 +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.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID 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 74C6B289EF for ; Fri, 4 Aug 2017 22:46:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C25756E5F5; Fri, 4 Aug 2017 22:44:31 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from galahad.ideasonboard.com (galahad.ideasonboard.com [IPv6:2001:4b98:dc2:45:216:3eff:febb:480d]) by gabe.freedesktop.org (Postfix) with ESMTPS id 307816E5EA for ; Fri, 4 Aug 2017 22:44:30 +0000 (UTC) Received: from avalon.bb.dnainternet.fi (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id 915EB21648; Sat, 5 Aug 2017 00:43:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1501886594; bh=gAPQnUFDl1lgHJTCqgSKvPjSOMjOg6F9mjuH4fiWmiI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nK/taiAx1PwTKZ7PWWWhq/+YXfFdqRl8WoUrIkVHEx3M+F5CfmOSINuazQiYhGAaZ aOd+L6U2nF/dgrkcJyTXT3QXYxzE1tBM5emGyk2j157CFuwZrwLG662uo22M4JN15e LlbiQiPYUfBpznOaJRKbhHuJP7Z+75pEbw78UM5o= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Subject: [PATCH v3 26/35] drm: omapdrm: Move FEAT_DSI_* features to dsi driver Date: Sat, 5 Aug 2017 01:44:10 +0300 Message-Id: <20170804224419.30758-27-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170804224419.30758-1-laurent.pinchart@ideasonboard.com> References: <20170804224419.30758-1-laurent.pinchart@ideasonboard.com> Cc: Tomi Valkeinen 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 The FEAT_DSI_* features are specific to the DSI, move them from the omap_dss_features structure to the dsi driver. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/dss/dsi.c | 137 ++++++++++++++++++----------- drivers/gpu/drm/omapdrm/dss/dss_features.c | 16 ---- drivers/gpu/drm/omapdrm/dss/dss_features.h | 7 -- 3 files changed, 88 insertions(+), 72 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dsi.c b/drivers/gpu/drm/omapdrm/dss/dsi.c index 3d98e9ce9a43..1af2c5329c99 100644 --- a/drivers/gpu/drm/omapdrm/dss/dsi.c +++ b/drivers/gpu/drm/omapdrm/dss/dsi.c @@ -44,6 +44,7 @@ #include #include #include +#include #include