From patchwork Sun Dec 30 17:48:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10745157 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 9C4171399 for ; Sun, 30 Dec 2018 17:49:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A33228830 for ; Sun, 30 Dec 2018 17:49:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7E0622899C; Sun, 30 Dec 2018 17:49:24 +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 1CDC928830 for ; Sun, 30 Dec 2018 17:49:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B65B86E3C5; Sun, 30 Dec 2018 17:49:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by gabe.freedesktop.org (Postfix) with ESMTPS id DD9116E3CC for ; Sun, 30 Dec 2018 17:49:09 +0000 (UTC) Received: by mail-lf1-x143.google.com with SMTP id p86so17302190lfg.5 for ; Sun, 30 Dec 2018 09:49:09 -0800 (PST) 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; bh=SgrrjuoGTy1EqHP7pAvYoAmmepSCbBgSenwuzQIOABg=; b=R8YlvBf+F+8uu86OYv+QpHfm9lTXs9gZT53TRf8kwr326Zd6cEMQrsoFDjQ7P3Phl7 WvI50wxE3MFlK57cs2qVanBfCrEthxlvf+waGHz/RHQcW4T/bm4qLf4Xz8vPOGBR5mlp cwlXT/coerhjgZWaBzLYnPN4dD8B1qrbfMAcrxAGlygRF/AJHcjtm7F5aGYDBFTOW+vd SboTEvzRAOh5pBK91+WKRmem4clH2YDjFK3JInF4UHxJZYzHi0+hLMMCQPwqNm/XXbGi joe+ztPZLUqxm21StNLjA9Z3a6p8N4rsu7Lp1XrWhLrm4PYncNgrp1qTt5e0RURLIwB2 IFtw== X-Gm-Message-State: AA+aEWbEHAfL+4cYrmNkawJzXF6YUXbcEA7LD0zUKCgtEbKtpgmO2ecb bdglauHux7A8YMBjzlthY+k= X-Google-Smtp-Source: AFSGD/WF2sx/OHmKrzkNk1i3lpHq4tFFuvyD/f4NcUXj18+stjtkeoJsrJOGpR7nLTJaKIt+DVwSjA== X-Received: by 2002:a19:c4cc:: with SMTP id u195mr16795546lff.141.1546192148328; Sun, 30 Dec 2018 09:49:08 -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.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Dec 2018 09:49:07 -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 Subject: [PATCH v2 11/14] drm/arc: do not reply on drmP.h from drm_gem_cma_helper.h Date: Sun, 30 Dec 2018 18:48:35 +0100 Message-Id: <20181230174838.32330-12-sam@ravnborg.org> X-Mailer: git-send-email 2.12.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: Alexey Brodkin , Sam Ravnborg MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 arc/ for this add dependencies that othwewise was pulled in by drmP.h from drm_gem_cma_helper.h Signed-off-by: Sam Ravnborg Cc: Alexey Brodkin Cc: Daniel Vetter Cc: David Airlie Acked-by: Noralf Trønnes --- drivers/gpu/drm/arc/arcpgu_crtc.c | 2 ++ drivers/gpu/drm/arc/arcpgu_drv.c | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/drivers/gpu/drm/arc/arcpgu_crtc.c b/drivers/gpu/drm/arc/arcpgu_crtc.c index 62f51f70606d..155ab177ce0b 100644 --- a/drivers/gpu/drm/arc/arcpgu_crtc.c +++ b/drivers/gpu/drm/arc/arcpgu_crtc.c @@ -16,8 +16,10 @@ #include #include +#include #include #include +#include #include #include #include diff --git a/drivers/gpu/drm/arc/arcpgu_drv.c b/drivers/gpu/drm/arc/arcpgu_drv.c index 206a76abf771..39a79f5718c4 100644 --- a/drivers/gpu/drm/arc/arcpgu_drv.c +++ b/drivers/gpu/drm/arc/arcpgu_drv.c @@ -16,12 +16,18 @@ #include #include +#include +#include +#include #include #include #include #include #include +#include +#include #include +#include #include "arcpgu.h" #include "arcpgu_regs.h"