Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9988424imu; Sun, 30 Dec 2018 09:50:45 -0800 (PST) X-Google-Smtp-Source: ALg8bN4MLsliBg6rl6RKCzD9/xZo5bO1seZXQL570qvT3teB1HPk5tL3W6JlfDmNkhzIbTsw4zFR X-Received: by 2002:a17:902:7882:: with SMTP id q2mr35711962pll.305.1546192245235; Sun, 30 Dec 2018 09:50:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546192245; cv=none; d=google.com; s=arc-20160816; b=ja1vWtQR2OHV3YLTHot1nHgSHIumvcy/TSHaZBmXatkL6+HZYoRnmNYGgw6qSE6K65 ia2dVwHG0O3DUZ9jd2hfKv8ilrbdemykNAbH7slq9qDV4PRGGFhDYdDz6u1bMAy2ipMD HWCrF9340A1sEioC09bKIgs9YJVS+1Sds+Uj/7TJhYgjM9H047t3JgDxdevm4i46QHTF dmcxnXARpgvoQUF/aJ09YMC3hvfwyBxRNcgcvuOFkleM0bg+26HCrhET57E+L0htgZ5C sQoSuEsoDtNx8wPQbh8s/IiHOQG1/ednnPB4bUSx79JoflpjS3xWwhgimmXkjwiJIoRK mdww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=/ZTcPKETlii/w2Tbc/AE/b6eZh03/XEmwz48FJPu78E=; b=l89EtLHpk+gui3iuTUp9vM53+LeuoeuPwSAtii2osOGkix9pyEeUiGss43ZIeVVQd8 XcAPPj9iqLpFPRGvMGOIRPGhvncZYhj6IV1qt+kLgCiaL3vgdbziLV9u8EYguwBzL3un XDG3ddyDOLyDFfaVo88SGCVDeQpLSWxAwU5NO1N8aFFVtJV4tq/4XUC9asaQiyg/UYAi 5CSxv06pFWSu3Fy0h8OHcq3NfSLJn+c7OKanhzUKHJnhaCC6sfkqbyDNndpGQwA12PdR r5beZcUPjWK9D9OSirpt/eIpv/OnP1pCMUmJztCHKXxcwYqDdcmg7f+dAG5B37LPF0NX yUmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=sMxAXL0Z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o5si26222580pgs.497.2018.12.30.09.50.29; Sun, 30 Dec 2018 09:50:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=sMxAXL0Z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726848AbeL3RtX (ORCPT + 99 others); Sun, 30 Dec 2018 12:49:23 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:33931 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726783AbeL3RtN (ORCPT ); Sun, 30 Dec 2018 12:49:13 -0500 Received: by mail-lf1-f67.google.com with SMTP id p6so17360497lfc.1 for ; Sun, 30 Dec 2018 09:49:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/ZTcPKETlii/w2Tbc/AE/b6eZh03/XEmwz48FJPu78E=; b=sMxAXL0Z54GmZmLG2RquWOuUHWsT0xF8y0R+KwPqB7/CzFLWr+HTNDtMf2AC/5S/hL CTySpeoX7a9RYexGCJTNp4wKdp518EAZgjWUnchF9UufvRWNj3La1JgPnY0LE+Bgyk9P C9hgZUUW3jwhp68N/g5JFZHO5YRJT9W/Pw4WNx0BXj8NhtpZdKSCnsXxek9XQaK5z7Ay 4Npm+Mqj1Px33+xt6fQ7d3OFt/NesqhefUbACTF17y9E9bEByLgmmwphNvocX/bOXBqH 4ShOah9oxGhGqqM2rPrqfyxYSatkfwPUddHwimWx4shdGBYLA8hNqZBEgBIEcpcohssR 1cPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=/ZTcPKETlii/w2Tbc/AE/b6eZh03/XEmwz48FJPu78E=; b=cNsggKwNfe0U/IpwihP0URKIvYKsKsZ5e5OuFibA/5hINUNhalXozv565sZ8Y4DCZO o2uqwDTgUpuA3G9pbVVLyomZPzXgrm1NiZm7K9+LfD06mmd5IaQUVglZ+uxU1NR+PeX8 DBEoDoySo5bhagipQX9EyJBN3aOH2ySF3oSwNqUuXrLWO/STli3Znb0frOa+CSs7F+/6 ULtKQ0GHkQhThlYU6UDKEqJuMHbUL3NhthZUinqMa9yGRxVFveFnKp7rmuR0ytcqiYLI u9IHoIYdCEF6dqclUh4L3NYCNTKWaPFEAJbJZXM1z/F4SqigW1A2oXLcpSzMeLwC11/g PoaA== X-Gm-Message-State: AA+aEWbOHl6S+zk8XX8qhcJstBoNvtSPWDo5rnH+qPI/KQfgij3GY1cP +z2dfifXHigRLv5nK2x0uQE= X-Received: by 2002:a19:db82:: with SMTP id t2mr18240749lfi.130.1546192150467; Sun, 30 Dec 2018 09:49:10 -0800 (PST) Received: from jupiter.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id q11sm8853170lfc.92.2018.12.30.09.49.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Dec 2018 09:49:10 -0800 (PST) From: Sam Ravnborg To: Daniel Vetter , David Airlie , Maarten Lankhorst , Maxime Ripard , Sean Paul , David Lechner , Laurent Pinchart , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: Sam Ravnborg , =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= , Eric Anholt , Daniel Vetter Subject: [PATCH v2 13/14] drm/tinydrm: do not reply on drmP.h from drm_gem_cma_helper.h Date: Sun, 30 Dec 2018 18:48:37 +0100 Message-Id: <20181230174838.32330-14-sam@ravnborg.org> X-Mailer: git-send-email 2.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org drmP.h was the only header file in the past and a lot of files rely on that drmP.h defines everything. The goal is to one day to delete drmP.h and as a step towards this it will no longer be included in the headers files in include/drm/ To prepare tinydrm/ for this add dependencies that othwewise was pulled in by drmP.h from drm_gem_cma_helper.h To avoid that tinydrm.h became "include everything", push include files to the individual drivers. Signed-off-by: Sam Ravnborg Cc: "Noralf Trønnes" Cc: David Airlie Cc: Eric Anholt Cc: David Lechner Cc: Daniel Vetter --- drivers/gpu/drm/tinydrm/core/tinydrm-core.c | 3 +++ drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c | 3 +++ drivers/gpu/drm/tinydrm/hx8357d.c | 1 + drivers/gpu/drm/tinydrm/ili9225.c | 2 ++ drivers/gpu/drm/tinydrm/ili9341.c | 1 + drivers/gpu/drm/tinydrm/mi0283qt.c | 1 + drivers/gpu/drm/tinydrm/mipi-dbi.c | 3 +++ drivers/gpu/drm/tinydrm/repaper.c | 1 + drivers/gpu/drm/tinydrm/st7586.c | 1 + drivers/gpu/drm/tinydrm/st7735r.c | 1 + 10 files changed, 17 insertions(+) diff --git a/drivers/gpu/drm/tinydrm/core/tinydrm-core.c b/drivers/gpu/drm/tinydrm/core/tinydrm-core.c index 01a6f2d42440..aeb93eadb047 100644 --- a/drivers/gpu/drm/tinydrm/core/tinydrm-core.c +++ b/drivers/gpu/drm/tinydrm/core/tinydrm-core.c @@ -10,11 +10,14 @@ #include #include #include +#include #include #include +#include #include #include #include +#include /** * DOC: overview diff --git a/drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c b/drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c index eacfc0ec8ff1..d4576d6e8ce4 100644 --- a/drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c +++ b/drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c @@ -9,8 +9,11 @@ #include #include +#include #include #include +#include +#include #include struct tinydrm_connector { diff --git a/drivers/gpu/drm/tinydrm/hx8357d.c b/drivers/gpu/drm/tinydrm/hx8357d.c index 81a2bbeb25d4..3ae11aa4b73b 100644 --- a/drivers/gpu/drm/tinydrm/hx8357d.c +++ b/drivers/gpu/drm/tinydrm/hx8357d.c @@ -16,6 +16,7 @@ #include #include +#include #include #include #include diff --git a/drivers/gpu/drm/tinydrm/ili9225.c b/drivers/gpu/drm/tinydrm/ili9225.c index 78f7c2d1b449..b0ad58b97227 100644 --- a/drivers/gpu/drm/tinydrm/ili9225.c +++ b/drivers/gpu/drm/tinydrm/ili9225.c @@ -20,7 +20,9 @@ #include #include