From patchwork Sun May 26 17:35:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10961833 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 2481B1390 for ; Sun, 26 May 2019 17:35:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 10E2C28A7E for ; Sun, 26 May 2019 17:35:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 04C6A28A92; Sun, 26 May 2019 17:35:53 +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 A4E7728A7E for ; Sun, 26 May 2019 17:35:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1170489395; Sun, 26 May 2019 17:35:48 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id B868F89247; Sun, 26 May 2019 17:35:45 +0000 (UTC) Received: by mail-lj1-x242.google.com with SMTP id 188so12675082ljf.9; Sun, 26 May 2019 10:35:45 -0700 (PDT) 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 :in-reply-to:references:mime-version:content-transfer-encoding; bh=7jHEs5RhzbiMluVrA2O22womiRoVJprYdjFgPKPifMg=; b=KYYIRhgRfv32t/QoCJZBV2eDeTu5FCxKxP24QqSA+JKa/fclz7uXFGN8wWuDc0ytR/ nHoQal27H84tEeXetdpqZPmpBjapFLat9qh2Ng5SiBvuNweY8yw+edT8rwgPRgVM0Art su6OHbk8E/YpjHEZSE28Pk27hNU3oTNhvgULrVZJgAjkIqrRJGMS18hVrfqTI3SdGWs+ Vj+RYt9Zsu5hlEBBy8RVXfu16eA3ukO7KFCXx+WKUkT9kdfLyRrViBFaYFbn+4A5qty7 OlokbpyUa+vQJdJhizywr2VyoHlPxJzzoNmWZdqljDVj4Gz037kypX8tcO3QANrAWUn2 ny0g== X-Gm-Message-State: APjAAAVW+CmeU7KoR7TZyR+G0rHG3vJ69hU6Qn1+orGoh/zWhpluHyls oPpELyMb/GJr16OfIf1RQCdJ7+Qj X-Google-Smtp-Source: APXvYqxK2HZRfvk3QuO7PCHS7h9HhpbMnAV9h3V06196YGq34oajAydfCp1ECBuWuHLtA0f5I8QFWg== X-Received: by 2002:a2e:81d9:: with SMTP id s25mr19221196ljg.139.1558892143937; Sun, 26 May 2019 10:35:43 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id n9sm1774489ljj.10.2019.05.26.10.35.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 10:35:43 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Date: Sun, 26 May 2019 19:35:29 +0200 Message-Id: <20190526173535.32701-2-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526173535.32701-1-sam@ravnborg.org> References: <20190526173535.32701-1-sam@ravnborg.org> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7jHEs5RhzbiMluVrA2O22womiRoVJprYdjFgPKPifMg=; b=bkjslSwzLnC5HXsx9tvX41i+X+xtYQm2ILyLJqL0Dd2aBkk1ENfU8I+dHb7zQjBCJI HuNhMEba1hXvAfLk5NHzbrGqCZaoqNMZqxhL3vIfqnK3pL+nBo8teXo7TeWuiAwZi0Qa N5XUiwv21YWRgF9/V/UtCkIfazyrdel2gh/7/zuk/1Yxv3pWc4MvaRex0OAxvjOm54xG HZfP1Gh4GavEKvmBJEUp0efiD6ARWa0+YSl59bItEoOpwol8G+Ri85sReXhseuERMVll 14B1gHN7sbchswm8njqKgjp/WSpX2jswunvUn5AU0q2x4QDgRBXTvyhBbTnIo/FXC9lE aKoA== Subject: [Intel-gfx] [PATCH v2 1/7] drm: make drm/drm_auth.h self contained X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Sam Ravnborg , intel-gfx@lists.freedesktop.org, David Airlie Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Do not require users of include/drm/drm_auth.h to include other files just to let it build. Signed-off-by: Sam Ravnborg Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter --- include/drm/drm_auth.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/include/drm/drm_auth.h b/include/drm/drm_auth.h index 871008118bab..6bf8b2b78991 100644 --- a/include/drm/drm_auth.h +++ b/include/drm/drm_auth.h @@ -1,3 +1,6 @@ +#ifndef _DRM_AUTH_H_ +#define _DRM_AUTH_H_ + /* * Internal Header for the Direct Rendering Manager * @@ -25,8 +28,12 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#ifndef _DRM_AUTH_H_ -#define _DRM_AUTH_H_ +#include +#include +#include + +struct drm_file; +struct drm_hw_lock; /* * Legacy DRI1 locking data structure. Only here instead of in drm_legacy.h for From patchwork Sun May 26 17:35:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10961845 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 185F791E for ; Sun, 26 May 2019 17:36:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 067C128A92 for ; Sun, 26 May 2019 17:36:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE3B028AA4; Sun, 26 May 2019 17:36:04 +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=unavailable 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 B1D2F28A92 for ; Sun, 26 May 2019 17:36:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8893B897E7; Sun, 26 May 2019 17:35:53 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by gabe.freedesktop.org (Postfix) with ESMTPS id D7D7D89395; Sun, 26 May 2019 17:35:46 +0000 (UTC) Received: by mail-lf1-x141.google.com with SMTP id 136so281287lfa.8; Sun, 26 May 2019 10:35:46 -0700 (PDT) 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 :in-reply-to:references:mime-version:content-transfer-encoding; bh=3ITXzxx/6Lab/Sya+XIDKQuQRI2sQcflbBULHcbr6+o=; b=o2td7c3c6ZpQVEpKjSwbg2CVYRmM8n5Lp+NmXq8RdwqCWQ1fdvzf5zE4DBAaSORxVF dDwWVcITk2HSwI57sfQDaI/LluoHQ/jhsocngDyd69OaziXq1UKGDpY+tQ6fcuJxGKLl Cv0sDsWZYEufw1WAhRdFN4IR04qFSjQ1+1peDZiIGkS+XAwVWniHvsSCIg4rm2J/eFwA 662WuA/Ut7mKcavYFOOts9cL6V6QaaWpNPHGdlSVSCkuQ/w5xtBBM+UZtS1V9i8WBeQz ofqPblb3kez3cPJeIkFlaSFqLSDH8nvzl2LFOTvkb9BlJENkN2Sa7qJgnsovpsbAUMAh qXUw== X-Gm-Message-State: APjAAAXrO4nSceKKlz41Fp5Rm1qOgXYetBLlFa6mFGwuFZ18Md7AGBJ1 GUi2cOwJSeQ0ijof6ocxyqt+wIwe X-Google-Smtp-Source: APXvYqy8A+mq5lc732K88bRDD0/RNqCma9j3tF8ZsWiv/Zn6pDEuk7vOQvBK7mMsY8BeLtAUD7w9LQ== X-Received: by 2002:ac2:5285:: with SMTP id q5mr2562199lfm.146.1558892145072; Sun, 26 May 2019 10:35:45 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id n9sm1774489ljj.10.2019.05.26.10.35.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 10:35:44 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Date: Sun, 26 May 2019 19:35:30 +0200 Message-Id: <20190526173535.32701-3-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526173535.32701-1-sam@ravnborg.org> References: <20190526173535.32701-1-sam@ravnborg.org> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3ITXzxx/6Lab/Sya+XIDKQuQRI2sQcflbBULHcbr6+o=; b=sbl0Atwu7MxdVg4HOMOhM/xVUwWvT3xuBftyao3/9jexRxZArU3wP1kLxXrThH4Mwx UeqyztAh9V4A3DGCCGW24pPV3jF7BKQVNLSXTNLKgsdhS+3rsgkNtp5/I0jzKQ7PkACl PP9d9IkIqYYc5WFwFZABjJzH2JpXYoGuvzusFpvt45k7oLcfX1ixDT6WPnDd0Zw6MARB 5tN/x4LSOMglO2GYsvcCjIYEznxL7CnnF7Gx4hf1CfwdPzWN7PyqL1UhnKsMsM/d/rch IcZEHoZTEbHddlrdEOISby8NvaRL5L7mtyXZ0NZ0E0pLJx8wehSETcSbtjNEgAiGODC5 ysEA== Subject: [Intel-gfx] [PATCH v2 2/7] drm: make drm/drm_legacy.h self-contained X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Sam Ravnborg , intel-gfx@lists.freedesktop.org, David Airlie Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Do not require users of include/drm/drm_legacy.h to include other files just to let it build. Signed-off-by: Sam Ravnborg Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter --- include/drm/drm_legacy.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/drm/drm_legacy.h b/include/drm/drm_legacy.h index 2182a56ac421..58dc0c04bf99 100644 --- a/include/drm/drm_legacy.h +++ b/include/drm/drm_legacy.h @@ -1,11 +1,5 @@ #ifndef __DRM_DRM_LEGACY_H__ #define __DRM_DRM_LEGACY_H__ - -#include -#include - -struct drm_device; - /* * Legacy driver interfaces for the Direct Rendering Manager * @@ -39,6 +33,12 @@ struct drm_device; * OTHER DEALINGS IN THE SOFTWARE. */ +#include +#include +#include + +struct drm_device; +struct file; /* * Legacy Support for palateontologic DRM drivers From patchwork Sun May 26 17:35:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10961847 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 D87A06C5 for ; Sun, 26 May 2019 17:36:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C62C428A7A for ; Sun, 26 May 2019 17:36:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB0BE28A95; Sun, 26 May 2019 17:36:05 +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=unavailable 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 7E27028A7A for ; Sun, 26 May 2019 17:36:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A605C897F0; Sun, 26 May 2019 17:35:53 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 008AC89394; Sun, 26 May 2019 17:35:47 +0000 (UTC) Received: by mail-lj1-x241.google.com with SMTP id 188so12675140ljf.9; Sun, 26 May 2019 10:35:47 -0700 (PDT) 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 :in-reply-to:references:mime-version:content-transfer-encoding; bh=FijAi/rRt9F6TihHYqQ6sKUIYt5GMGzzPG27K5Xhg7o=; b=mtWO0/GurBHi10emlEQS0vmXVxQ/W4OyRO8E7S5vzVP32yom9SiWAZJkocZTcjAlNP OagBSqT0fCOolbQPwGODxHc/8i+1J24qbuWg7n5SSu73A8Hre/qNxqsxCYv3Xu1g/LO0 2VbsI5J3jYfRDS9f6W4VgXe5YwTrrs007/DjWvp4aBA7H/K5zhfgcGyidgcmPcrGp4TS ij3v0VrZk1ayu4En9dQtftFJ0Gf/VGo+92X0ZYRC4BivQTZ7WRzIvmXsNqPTPIWu+IYL 8z6IeB1RG2tD+cf+s4EBciKTb5dWW8/SlqI9vsQmhuJfp2wQ309fTjsKRZu020lxB0Z8 8qBw== X-Gm-Message-State: APjAAAUNfmZhYJ0LuOONByqclurhueK0Wxg+yitqY5w/DTuFfS+QA7qo 1GeO8RdTzl28V8vQWeLCjK84jT74 X-Google-Smtp-Source: APXvYqwdOLoFIjCLRpXn0vSc24rVGvqTEEmEbyb1ERbJRoKB3dHxqhm8jxscP/cnK8T2KhTAGdCoTA== X-Received: by 2002:a2e:9cc4:: with SMTP id g4mr49367278ljj.47.1558892146156; Sun, 26 May 2019 10:35:46 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id n9sm1774489ljj.10.2019.05.26.10.35.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 10:35:45 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Date: Sun, 26 May 2019 19:35:31 +0200 Message-Id: <20190526173535.32701-4-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526173535.32701-1-sam@ravnborg.org> References: <20190526173535.32701-1-sam@ravnborg.org> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FijAi/rRt9F6TihHYqQ6sKUIYt5GMGzzPG27K5Xhg7o=; b=SNISuzws2bpcO0n1spcMRUeU6mpyG29KycFbDsgiyM4tRL5h15+5ThvkI8z9yxAN13 VrDS3RfxvRA6Txtlr6q45UWIu/VL4d4f9QG1SCwKysamH5AweSPVxp1ibcBzGkL3UAF0 9Bk3ZPEU2HsqV6A/bw71ORukmiQZepK97a62cdlDGYPeccJ72DBxQjQXRn6IQjXfhefS eCnDtfI8JA0401wehGUe45wccfhlmbgm2fhml4LApGyRmsocG18TBK/9YoEOXvWStD50 /ZQhBBNJHPYObezMhfTHJBbZ36OsjV13tucME61w0qGjegcLeOTXTGmGbM0OtS+ymQvq 03jg== Subject: [Intel-gfx] [PATCH v2 3/7] drm: make drm_crtc_internal.h self-contained X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Sam Ravnborg , intel-gfx@lists.freedesktop.org, David Airlie Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Do not require users of drm_crtc_internal.h to include other files just to let it build Signed-off-by: Sam Ravnborg Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/drm_crtc_internal.h | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc_internal.h b/drivers/gpu/drm/drm_crtc_internal.h index 0719a235d6cc..c78a44fad13d 100644 --- a/drivers/gpu/drm/drm_crtc_internal.h +++ b/drivers/gpu/drm/drm_crtc_internal.h @@ -31,14 +31,30 @@ * and are not exported to drivers. */ -enum drm_mode_status; +#include + +enum drm_color_encoding; +enum drm_color_range; enum drm_connector_force; +enum drm_mode_status; -struct drm_display_mode; -struct work_struct; -struct drm_connector; +struct drm_atomic_state; struct drm_bridge; +struct drm_connector; +struct drm_crtc; +struct drm_device; +struct drm_display_mode; +struct drm_file; +struct drm_framebuffer; +struct drm_mode_create_dumb; +struct drm_mode_fb_cmd2; +struct drm_mode_fb_cmd; +struct drm_mode_object; +struct drm_plane; +struct drm_property; struct edid; +struct kref; +struct work_struct; /* drm_crtc.c */ int drm_mode_crtc_set_obj_prop(struct drm_mode_object *obj, From patchwork Sun May 26 17:35:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10961849 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 BD1B36C5 for ; Sun, 26 May 2019 17:36:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA50728A7A for ; Sun, 26 May 2019 17:36:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F1DC28A95; Sun, 26 May 2019 17:36:06 +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=unavailable 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 63C3C28A7A for ; Sun, 26 May 2019 17:36:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1F40A89815; Sun, 26 May 2019 17:35:53 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3555D893A4; Sun, 26 May 2019 17:35:49 +0000 (UTC) Received: by mail-lf1-x144.google.com with SMTP id m15so9814800lfh.4; Sun, 26 May 2019 10:35:49 -0700 (PDT) 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 :in-reply-to:references:mime-version:content-transfer-encoding; bh=e7AnEl+sTa5CZ3787NmnwKOXoYZg2C++bC2zllDWaWE=; b=hYWiQB+JKiHWhnW9/q06tjtnXasNEucfCZTONPceDSdzMw7khADGDLjuECg2oVhqkx RGUcjgopHy9jwzjseccUNByD3ySdjuXIcW50HOV5KYLOfGH7lgHRQ26CZr/Mmb0DsDU8 c0Dx3p2XTYwwnTs/N2ktj0YHAdjglPSpy9F84f2bUAO1ofvy3JOA+kHeODOKJTe4Acmu 1rI+Y5skpbu4Yn6cl1dgEYUkLJ6zyCcstUeidPFFG5CJ3qDTYhqd20EbULq6gn3NCZgk /AgpENi7g5lpAykzWvMY+13eTxArZbeks6A11GDM9PevdYY8rToOEz7E95bb4pPTZpzx 0s2A== X-Gm-Message-State: APjAAAUAzpTRdsUahIDIEKJtKSUmyNBgJsT5P+uCn8RMc3dioc/uf78T dWTdZJmdd0ylw0XGsYgyrZv6oQap X-Google-Smtp-Source: APXvYqwRaO9mwsg0aL874OOUMrvTC3ELaefs5+lR1CdnyksoQ5yV6+YLPpttNY0VABPy75N4juH6jA== X-Received: by 2002:ac2:5606:: with SMTP id v6mr19145555lfd.129.1558892147342; Sun, 26 May 2019 10:35:47 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id n9sm1774489ljj.10.2019.05.26.10.35.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 10:35:46 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Date: Sun, 26 May 2019 19:35:32 +0200 Message-Id: <20190526173535.32701-5-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526173535.32701-1-sam@ravnborg.org> References: <20190526173535.32701-1-sam@ravnborg.org> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=e7AnEl+sTa5CZ3787NmnwKOXoYZg2C++bC2zllDWaWE=; b=cUZJ1mDES5jaAgspt5pTquhLlZbBiCqloFIbyK6dElinotcVpV08lTeT7BZetd+paD cZSLT8iz2ExC1IVvWVvARggqxZc/UHFSVnZl1RpyFvXz0Hg0yQODkHhdHWfbtUhfolEU YfopjnCYnhM+/bnpOBl8rs3cl9a0p36NvcFGB3+l9N1z00IMtFKvt6v9nJ2TkuSCgRFd +pCRBR1gbrduLJy3Wpyumz9Jx0LbWcNzfYmqqtapuw3gbjvHAwlmkUsu8gC02lLz7BP5 VeRW5tFT0TJD3U9ekQr5q/LnkyOP0poWXOyk57HhUj6hNr0bd5On+7/WgtjqaKih/bZp zIiA== Subject: [Intel-gfx] [PATCH v2 4/7] drm: make drm_internal.h self-contained X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Sam Ravnborg , intel-gfx@lists.freedesktop.org, David Airlie Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Do not require users of drm_internal.h to include other files just to let it build Signed-off-by: Sam Ravnborg Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/drm_internal.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_internal.h b/drivers/gpu/drm/drm_internal.h index e6281d9f9c87..76bd4b81c5b1 100644 --- a/drivers/gpu/drm/drm_internal.h +++ b/drivers/gpu/drm/drm_internal.h @@ -28,8 +28,16 @@ #define DRM_IF_VERSION(maj, min) (maj << 16 | min) -struct drm_prime_file_private; +struct dentry; struct dma_buf; +struct drm_connector; +struct drm_crtc; +struct drm_framebuffer; +struct drm_gem_object; +struct drm_master; +struct drm_minor; +struct drm_prime_file_private; +struct drm_printer; /* drm_file.c */ extern struct mutex drm_global_mutex; From patchwork Sun May 26 17:35:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10961843 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 1201091E for ; Sun, 26 May 2019 17:36:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F1AA428A92 for ; Sun, 26 May 2019 17:36:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E23C528AA4; Sun, 26 May 2019 17:36:03 +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 89C0728A92 for ; Sun, 26 May 2019 17:36:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 112AC897B4; Sun, 26 May 2019 17:35:53 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7E9F4894FF; Sun, 26 May 2019 17:35:50 +0000 (UTC) Received: by mail-lj1-x242.google.com with SMTP id m15so12667604ljg.13; Sun, 26 May 2019 10:35:50 -0700 (PDT) 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 :in-reply-to:references:mime-version:content-transfer-encoding; bh=ov3YiOQUhcSdLV9EpPx++/P7FQBeylt5HUv2IEfDl3I=; b=VcJdkianebGpHqIx3H9FWvzX8rv5AxiE8bVMNgwVkwYZ3iC4b0TM8TCereisM73HX/ 0GpTo+ZxJdWVJNbD/8oAZLuP05QqOlBSYEYLHxCjUEyOgpEErnbfw+GTD7jAUHiqBkDJ ffwQsa+7pESghHLVlXFhdvNbjwg/+YKLkE2YUT6KYxeBY+9JEmTSjtDkiVZwsVeuamld ZrxANEVuT94ZlDEbmRoWMtiQI/xvkKQ12K7XmceefC1+DRp45fwjwSUwQMFL76jEYJLM b7emK2jbCCZMXY7u/oP62KNzqOzILV55VBhyLgvIQFsLAYRACCtzm6j7ePtRCmj3wFqY fcag== X-Gm-Message-State: APjAAAVJuchk2WOkuBXHWuSPmIvaz/Rz/8LIOcSg6YwSXIPSR8Lth13U A2RMOt/MBOd0I/WNvW1QJ3a09njm X-Google-Smtp-Source: APXvYqzOwA2vDK7F7Wv4ls8Od5RV3yhBr6kvCIUYp//mg2R6nJ7YiqBKDo7XAcGjKV/+dAjLPZt+Pg== X-Received: by 2002:a2e:8583:: with SMTP id b3mr32861627lji.136.1558892148571; Sun, 26 May 2019 10:35:48 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id n9sm1774489ljj.10.2019.05.26.10.35.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 10:35:48 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Date: Sun, 26 May 2019 19:35:33 +0200 Message-Id: <20190526173535.32701-6-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526173535.32701-1-sam@ravnborg.org> References: <20190526173535.32701-1-sam@ravnborg.org> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ov3YiOQUhcSdLV9EpPx++/P7FQBeylt5HUv2IEfDl3I=; b=hK3MuhpcKP+OCq+P70VK4t/oOpIYnXSBejUPIWG3GSwLptx+2hikymYfYv/1eqQARQ GAV9PMeKBU4QQwqwATZpLbW/pkpGqChCoK1bJ7RsXAw9hjm4Oob+cyHBf3Acqqf/h861 jZ2jDcYxcMnzN4Q+bQb72Z3ylefJBq/1/pkRqSaL2k5WU6WI9HNxwAjG3xCRqKCpLN9S rlPIj+L6fVrauIssPXIiRBr3bJIirWL9+GaKFc79XEjOlMwlNgxklezvTXbtB9MRtYSw nepZcEoCfqcNmjVaUBLgc81jl1jspAZ2qRMTE2zI7kYA9B4OCZDO937UGIXWIaRVwmkG No/Q== Subject: [Intel-gfx] [PATCH v2 5/7] drm: make drm_legacy.h self-contained X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Sam Ravnborg , intel-gfx@lists.freedesktop.org, David Airlie Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Do not require users of drm_legacy.h to include other files just to let it build Signed-off-by: Sam Ravnborg Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/drm_legacy.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/drm_legacy.h b/drivers/gpu/drm/drm_legacy.h index 013ccdfd90be..1be3ea320474 100644 --- a/drivers/gpu/drm/drm_legacy.h +++ b/drivers/gpu/drm/drm_legacy.h @@ -29,11 +29,15 @@ * drivers use them, and removing them are API breaks. */ #include + +#include +#include #include struct agp_memory; struct drm_device; struct drm_file; +struct drm_buf_desc; /* * Generic DRM Contexts From patchwork Sun May 26 17:35:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10961851 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 9F27291E for ; Sun, 26 May 2019 17:36:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C25428A7A for ; Sun, 26 May 2019 17:36:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 80CD328A95; Sun, 26 May 2019 17:36:07 +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 3EC4F28A7A for ; Sun, 26 May 2019 17:36:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A4E6189817; Sun, 26 May 2019 17:35:54 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by gabe.freedesktop.org (Postfix) with ESMTPS id AEA9089708; Sun, 26 May 2019 17:35:51 +0000 (UTC) Received: by mail-lj1-x22f.google.com with SMTP id m15so12667623ljg.13; Sun, 26 May 2019 10:35:51 -0700 (PDT) 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 :in-reply-to:references:mime-version:content-transfer-encoding; bh=quXBsXarHy8sh7eI4VnnOVkloyrYcJZ6jVyc4yKf6z0=; b=K6w9Kk5y+iyoDkM16u1VGIK87PRRFFdFf6YaKLv/LeTgKsQRmgYwzse2JaxQ+ciuzW r7eUiRkLWEXymJyn4xP+HWtcOXZ8RM/fHvazgbgOIi5BJl/ia94sxy2CDxDMGrk8d/wp nzYtoiydzZAJsYGzRpW5CSkGZIfU4IJJaikJp4fOMSivTGT2CtjCg3tBek4bncYeIEbV qvGTQrJxq2GgmO2KHut3BbLXz4UHywxlGk0xiV0RAgOh3LHhDG6N9lbUi0WZ8soJwHiQ /bW2l33nGLb7ZKwH5SSU/AMdyoF8Df6CfdFCmGieJZlOi+Y5WLw472s4uLn6egqu3Qwl NoiQ== X-Gm-Message-State: APjAAAWBtkQ0k47hUZDi+J2w66NXtGN7qYF2NTguBthyK6kVHyHGlkZA AuIkGTEl9JiDEygb4FxNBFqozg71 X-Google-Smtp-Source: APXvYqwb4jejuA5EnOsMj/KAIYKHJqDiPWF5/nhwEWIsYOYT9HBVHYluWn8kMQMrCi6lhb5g74TSoQ== X-Received: by 2002:a2e:5d9c:: with SMTP id v28mr15083401lje.32.1558892149702; Sun, 26 May 2019 10:35:49 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id n9sm1774489ljj.10.2019.05.26.10.35.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 10:35:49 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Date: Sun, 26 May 2019 19:35:34 +0200 Message-Id: <20190526173535.32701-7-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526173535.32701-1-sam@ravnborg.org> References: <20190526173535.32701-1-sam@ravnborg.org> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=quXBsXarHy8sh7eI4VnnOVkloyrYcJZ6jVyc4yKf6z0=; b=EmfsGuEctQSTvWWZhvIanPUqt8kBFKZqV6aWHVdoJ25zxgLPGBu2YrZOmBUVdXFljC aFTcSslGKSwim/oSpThxzx3MWtUaZHTuQuATjk9l3F1AaX07LnltAexjD7NL0mrdDVa1 NBbjHWQ73mB7wX3hPoR3489HmnnRK/4mlxuY1OHiQZHnpnSv5Aw9VNKWyyEaL8kdcTUS 8pmSgqa5RlD/z3Mglxqr79cFRk5LD3EZw+XXs+6uo+UunluXhqJGiVD2wn593D0aXtM7 W5VqLSLg3kRwN2lT/RDIUcy+X/9VQgJmDmR3w04q8YWQN9DiAE0zhpZVOmwE61YEmn+t YcGQ== Subject: [Intel-gfx] [PATCH v2 6/7] drm: make drm_trace.h self-contained X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Sam Ravnborg , intel-gfx@lists.freedesktop.org, David Airlie Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Do not require users of drm_trace.h to include other files just to let it build Signed-off-by: Sam Ravnborg Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/drm_trace.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/drm_trace.h b/drivers/gpu/drm/drm_trace.h index baccc63db106..471eb927474b 100644 --- a/drivers/gpu/drm/drm_trace.h +++ b/drivers/gpu/drm/drm_trace.h @@ -6,6 +6,8 @@ #include #include +struct drm_file; + #undef TRACE_SYSTEM #define TRACE_SYSTEM drm #define TRACE_INCLUDE_FILE drm_trace From patchwork Sun May 26 17:35:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sam Ravnborg X-Patchwork-Id: 10961853 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 7EB1691E for ; Sun, 26 May 2019 17:36:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 66C4C28A7A for ; Sun, 26 May 2019 17:36:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58EF328A95; Sun, 26 May 2019 17:36:10 +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 3600828A7A for ; Sun, 26 May 2019 17:36:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A5BDC8981B; Sun, 26 May 2019 17:35:55 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by gabe.freedesktop.org (Postfix) with ESMTPS id EF90D89708; Sun, 26 May 2019 17:35:52 +0000 (UTC) Received: by mail-lf1-x142.google.com with SMTP id m15so9814850lfh.4; Sun, 26 May 2019 10:35:52 -0700 (PDT) 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 :in-reply-to:references:mime-version:content-transfer-encoding; bh=jlLU9hAWDdpJwCBUj98Rt/uRkuDBpXBQFoPk3bXX85Q=; b=CG3m8lTAyr31S4/ipFeBMo7+TW2w3DdUqtMY0/QESuFSCaflsrIceRjVNMDc6h6+pp jc4eCAveNKKxg5xtCSPu3CLZOdbyq2ZemIcjd3QTVDnYV1ldc4XMAcFDbtZl2U80AwxY zls8YCMRz08PCtPAoYI3zlDLlT8JNmibVigpBlB73lqFrPWl6GmdUH4Sli06kYzM0Eo6 +9KgM/ON3esvFIO890u/MG9dRw0g3XQfB21ptjFrbusFsIwVnEAICIXSqGewaN9RQXMZ yBmTolWP43yBUeS7V+yyZxNklSn3cypQwF4fFEYw6lxMiyufik+nRWaHD01GFVRT6mQP VnEA== X-Gm-Message-State: APjAAAUjt+mCLui6UwDHgtTZ24ut49QI5JLOl5Pv/PM4oio5hYkOROlh X/LdKv5AN0HQaFtWSLlol4a09eli X-Google-Smtp-Source: APXvYqwd5PYtnfPOO6eRg1wVlWc2onkyZLwmtsnVUJfSALYo6B6yLy9Hn+Ehz0C4dLaU4VOfRw19kQ== X-Received: by 2002:a19:7716:: with SMTP id s22mr523543lfc.64.1558892150868; Sun, 26 May 2019 10:35:50 -0700 (PDT) Received: from saturn.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id n9sm1774489ljj.10.2019.05.26.10.35.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 10:35:50 -0700 (PDT) From: Sam Ravnborg To: dri-devel@lists.freedesktop.org Date: Sun, 26 May 2019 19:35:35 +0200 Message-Id: <20190526173535.32701-8-sam@ravnborg.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190526173535.32701-1-sam@ravnborg.org> References: <20190526173535.32701-1-sam@ravnborg.org> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jlLU9hAWDdpJwCBUj98Rt/uRkuDBpXBQFoPk3bXX85Q=; b=UxrOTIgvTPvVsS03jeZpFsj4ebvIei7CpBaXWWycTcbpkRQsmxDpAlrFm7wTidb3i1 dL4bhsJYcd5WZjpRLZz7gcvB790cALhkHqr41qK+NInMd0MBESOAp1DVd1eeKouhvoCm UkPfZtuu8Iknbay7Xmb20ffNQeLecdqS5m08AxSh4Qc6bmYGC2BV6iQvLtKh5M0AgUwd ulheLgnVvuDvj7YhD85qFerL/S+pwyz+qJl5+v33yPT8MOEuLG0THn//SO7aQ3ltg1an 4tYEAfXRSRJUDAfzyn15qf4XB3bGYtvQDSmY6QztuW7+owFRkek4rR6pbkcubJW/zmWJ t+1g== Subject: [Intel-gfx] [PATCH v2 7/7] drm: drop use of drmP.h in drm/* X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , Sam Ravnborg , intel-gfx@lists.freedesktop.org, David Airlie Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP The use of the drmP.h header file is deprecated. Remove use from all files in drm/* so people do not look there and follow a bad example. Build tested allyesconfig,allmodconfig on x86, arm etc. Including alpha that is as always more challenging than the rest. Signed-off-by: Sam Ravnborg Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/ati_pcigart.c | 5 ++++- drivers/gpu/drm/drm_agpsupport.c | 11 ++++++++-- drivers/gpu/drm/drm_atomic.c | 9 ++++++-- drivers/gpu/drm/drm_atomic_helper.c | 11 ++++++---- drivers/gpu/drm/drm_atomic_state_helper.c | 7 ++++--- drivers/gpu/drm/drm_auth.c | 10 +++++++-- drivers/gpu/drm/drm_blend.c | 9 +++++--- drivers/gpu/drm/drm_bufs.c | 21 ++++++++++++++----- drivers/gpu/drm/drm_client.c | 2 +- drivers/gpu/drm/drm_color_mgmt.c | 8 +++++-- drivers/gpu/drm/drm_context.c | 8 ++++++- drivers/gpu/drm/drm_crtc_helper.c | 14 +++++++------ drivers/gpu/drm/drm_debugfs.c | 13 +++++++----- drivers/gpu/drm/drm_debugfs_crc.c | 9 +++++++- drivers/gpu/drm/drm_dma.c | 6 +++++- drivers/gpu/drm/drm_drv.c | 9 +++++--- drivers/gpu/drm/drm_dumb_buffers.c | 4 +++- drivers/gpu/drm/drm_encoder.c | 4 +++- drivers/gpu/drm/drm_fb_helper.c | 19 ++++++++++------- drivers/gpu/drm/drm_file.c | 11 ++++++---- drivers/gpu/drm/drm_flip_work.c | 6 ++++-- drivers/gpu/drm/drm_fourcc.c | 2 +- drivers/gpu/drm/drm_framebuffer.c | 13 ++++++++---- drivers/gpu/drm/drm_gem.c | 8 +++++-- drivers/gpu/drm/drm_gem_cma_helper.c | 11 +++++----- drivers/gpu/drm/drm_gem_framebuffer_helper.c | 1 - drivers/gpu/drm/drm_hashtab.c | 10 ++++++--- drivers/gpu/drm/drm_ioc32.c | 9 +++++--- drivers/gpu/drm/drm_ioctl.c | 22 +++++++++++++------- drivers/gpu/drm/drm_irq.c | 13 ++++++++---- drivers/gpu/drm/drm_kms_helper_common.c | 3 ++- drivers/gpu/drm/drm_lease.c | 15 ++++++++----- drivers/gpu/drm/drm_legacy_misc.c | 7 ++++++- drivers/gpu/drm/drm_lock.c | 8 +++++-- drivers/gpu/drm/drm_memory.c | 9 ++++++-- drivers/gpu/drm/drm_mm.c | 9 ++++---- drivers/gpu/drm/drm_mode_config.c | 6 +++++- drivers/gpu/drm/drm_mode_object.c | 9 ++++++-- drivers/gpu/drm/drm_modes.c | 7 +++++-- drivers/gpu/drm/drm_modeset_lock.c | 2 +- drivers/gpu/drm/drm_of.c | 5 +++-- drivers/gpu/drm/drm_pci.c | 11 +++++++--- drivers/gpu/drm/drm_plane_helper.c | 9 ++++---- drivers/gpu/drm/drm_prime.c | 7 +++++-- drivers/gpu/drm/drm_print.c | 7 ++++++- drivers/gpu/drm/drm_probe_helper.c | 7 ++++--- drivers/gpu/drm/drm_property.c | 7 ++++++- drivers/gpu/drm/drm_rect.c | 4 +++- drivers/gpu/drm/drm_scatter.c | 9 ++++++-- drivers/gpu/drm/drm_scdc_helper.c | 2 +- drivers/gpu/drm/drm_simple_kms_helper.c | 5 +++-- drivers/gpu/drm/drm_syncobj.c | 13 ++++++++---- drivers/gpu/drm/drm_sysfs.c | 15 +++++++++---- drivers/gpu/drm/drm_trace_points.c | 3 ++- drivers/gpu/drm/drm_vblank.c | 12 ++++++++--- drivers/gpu/drm/drm_vm.c | 14 ++++++++++++- drivers/gpu/drm/drm_vma_manager.c | 6 +++--- drivers/gpu/drm/drm_vram_mm_helper.c | 4 +++- drivers/gpu/drm/drm_writeback.c | 6 ++++-- 59 files changed, 356 insertions(+), 150 deletions(-) diff --git a/drivers/gpu/drm/ati_pcigart.c b/drivers/gpu/drm/ati_pcigart.c index 2362f07fe1fc..2a413e291a60 100644 --- a/drivers/gpu/drm/ati_pcigart.c +++ b/drivers/gpu/drm/ati_pcigart.c @@ -32,9 +32,12 @@ */ #include -#include #include +#include +#include +#include +#include # define ATI_PCIGART_PAGE_SIZE 4096 /**< PCI GART page size */ diff --git a/drivers/gpu/drm/drm_agpsupport.c b/drivers/gpu/drm/drm_agpsupport.c index 40fba1c04dfc..117b8ee98243 100644 --- a/drivers/gpu/drm/drm_agpsupport.c +++ b/drivers/gpu/drm/drm_agpsupport.c @@ -31,13 +31,20 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include #include +#include #include -#include "drm_legacy.h" #include +#include +#include +#include +#include +#include + +#include "drm_legacy.h" + /** * Get AGP information. * diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c index f4924cb7f495..b640e77184e5 100644 --- a/drivers/gpu/drm/drm_atomic.c +++ b/drivers/gpu/drm/drm_atomic.c @@ -26,13 +26,18 @@ */ -#include +#include + #include #include +#include +#include +#include +#include +#include #include #include #include -#include #include "drm_crtc_internal.h" #include "drm_internal.h" diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c index 79dbeafb9a52..acf993cb8e52 100644 --- a/drivers/gpu/drm/drm_atomic_helper.c +++ b/drivers/gpu/drm/drm_atomic_helper.c @@ -25,14 +25,17 @@ * Daniel Vetter */ -#include +#include + #include +#include #include +#include +#include #include -#include +#include +#include #include -#include -#include #include "drm_crtc_helper_internal.h" #include "drm_crtc_internal.h" diff --git a/drivers/gpu/drm/drm_atomic_state_helper.c b/drivers/gpu/drm/drm_atomic_state_helper.c index ec13823153a9..97ab26679b96 100644 --- a/drivers/gpu/drm/drm_atomic_state_helper.c +++ b/drivers/gpu/drm/drm_atomic_state_helper.c @@ -24,12 +24,13 @@ * Daniel Vetter */ +#include #include -#include -#include #include -#include +#include #include +#include +#include #include #include diff --git a/drivers/gpu/drm/drm_auth.c b/drivers/gpu/drm/drm_auth.c index bf98402f3210..cc9acd986c68 100644 --- a/drivers/gpu/drm/drm_auth.c +++ b/drivers/gpu/drm/drm_auth.c @@ -28,10 +28,16 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include +#include + +#include +#include +#include +#include +#include + #include "drm_internal.h" #include "drm_legacy.h" -#include /** * DOC: master and authentication diff --git a/drivers/gpu/drm/drm_blend.c b/drivers/gpu/drm/drm_blend.c index 0c78ca386cbe..37ac168fcb60 100644 --- a/drivers/gpu/drm/drm_blend.c +++ b/drivers/gpu/drm/drm_blend.c @@ -23,13 +23,16 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. */ -#include -#include -#include + #include #include #include +#include +#include +#include +#include + #include "drm_crtc_internal.h" /** diff --git a/drivers/gpu/drm/drm_bufs.c b/drivers/gpu/drm/drm_bufs.c index bfc419ed9d6c..68dacf8422c6 100644 --- a/drivers/gpu/drm/drm_bufs.c +++ b/drivers/gpu/drm/drm_bufs.c @@ -28,15 +28,26 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include -#include -#include #include +#include +#include +#include +#include +#include +#include +#include + #include -#include + +#include +#include +#include +#include +#include +#include + #include "drm_legacy.h" -#include static struct drm_map_list *drm_find_matching_map(struct drm_device *dev, struct drm_local_map *map) diff --git a/drivers/gpu/drm/drm_client.c b/drivers/gpu/drm/drm_client.c index 5abcd83da6a6..e7870a54f498 100644 --- a/drivers/gpu/drm/drm_client.c +++ b/drivers/gpu/drm/drm_client.c @@ -15,10 +15,10 @@ #include #include #include +#include #include #include #include -#include #include "drm_crtc_internal.h" #include "drm_internal.h" diff --git a/drivers/gpu/drm/drm_color_mgmt.c b/drivers/gpu/drm/drm_color_mgmt.c index d5d34d0c79c7..4ce5c6d8de99 100644 --- a/drivers/gpu/drm/drm_color_mgmt.c +++ b/drivers/gpu/drm/drm_color_mgmt.c @@ -20,9 +20,13 @@ * OF THIS SOFTWARE. */ -#include -#include +#include + #include +#include +#include +#include +#include #include "drm_crtc_internal.h" diff --git a/drivers/gpu/drm/drm_context.c b/drivers/gpu/drm/drm_context.c index 6e8e1a9fcae3..1f802d8e5681 100644 --- a/drivers/gpu/drm/drm_context.c +++ b/drivers/gpu/drm/drm_context.c @@ -28,7 +28,13 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include +#include +#include + +#include +#include +#include + #include "drm_legacy.h" struct drm_ctx_list { diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index 747661f63fbb..6dd49a60deac 100644 --- a/drivers/gpu/drm/drm_crtc_helper.c +++ b/drivers/gpu/drm/drm_crtc_helper.c @@ -29,21 +29,23 @@ * Jesse Barnes */ -#include #include +#include #include -#include #include +#include #include #include -#include -#include #include +#include +#include +#include #include +#include #include -#include -#include +#include +#include /** * DOC: overview diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c index f8468eae0503..4b8e817d7420 100644 --- a/drivers/gpu/drm/drm_debugfs.c +++ b/drivers/gpu/drm/drm_debugfs.c @@ -24,20 +24,23 @@ */ #include +#include #include #include -#include +#include +#include +#include #include #include +#include +#include #include -#include -#include +#include #include -#include -#include "drm_internal.h" #include "drm_crtc_internal.h" +#include "drm_internal.h" #if defined(CONFIG_DEBUG_FS) diff --git a/drivers/gpu/drm/drm_debugfs_crc.c b/drivers/gpu/drm/drm_debugfs_crc.c index 00e743153e94..585169f0dcc5 100644 --- a/drivers/gpu/drm/drm_debugfs_crc.c +++ b/drivers/gpu/drm/drm_debugfs_crc.c @@ -29,7 +29,14 @@ #include #include #include -#include +#include +#include + +#include +#include +#include +#include + #include "drm_internal.h" /** diff --git a/drivers/gpu/drm/drm_dma.c b/drivers/gpu/drm/drm_dma.c index 3f83e2ca80ad..5ef0227eaa0e 100644 --- a/drivers/gpu/drm/drm_dma.c +++ b/drivers/gpu/drm/drm_dma.c @@ -34,7 +34,11 @@ */ #include -#include + +#include +#include +#include + #include "drm_legacy.h" /** diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index 862621494a93..95a55d98e152 100644 --- a/drivers/gpu/drm/drm_drv.c +++ b/drivers/gpu/drm/drm_drv.c @@ -35,16 +35,19 @@ #include #include +#include #include -#include +#include +#include +#include #include "drm_crtc_internal.h" -#include "drm_legacy.h" #include "drm_internal.h" +#include "drm_legacy.h" /* * drm_debug: Enable debug output. - * Bitmask of DRM_UT_x. See include/drm/drmP.h for details. + * Bitmask of DRM_UT_x. See include/drm/drm_print.h for details. */ unsigned int drm_debug = 0; EXPORT_SYMBOL(drm_debug); diff --git a/drivers/gpu/drm/drm_dumb_buffers.c b/drivers/gpu/drm/drm_dumb_buffers.c index 81dfdd33753a..d18a740fe0f1 100644 --- a/drivers/gpu/drm/drm_dumb_buffers.c +++ b/drivers/gpu/drm/drm_dumb_buffers.c @@ -23,8 +23,10 @@ * OF THIS SOFTWARE. */ -#include +#include +#include #include +#include #include "drm_crtc_internal.h" diff --git a/drivers/gpu/drm/drm_encoder.c b/drivers/gpu/drm/drm_encoder.c index b694fb57eaa4..7fb47b7b8b44 100644 --- a/drivers/gpu/drm/drm_encoder.c +++ b/drivers/gpu/drm/drm_encoder.c @@ -21,7 +21,9 @@ */ #include -#include + +#include +#include #include #include "drm_crtc_internal.h" diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index 302cf5f8bcce..3f4cb66c7d65 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c @@ -32,18 +32,23 @@ #include #include #include -#include -#include #include -#include -#include -#include -#include +#include +#include +#include + #include #include +#include +#include +#include +#include +#include +#include +#include -#include "drm_crtc_internal.h" #include "drm_crtc_helper_internal.h" +#include "drm_crtc_internal.h" #include "drm_internal.h" static bool drm_fbdev_emulation = true; diff --git a/drivers/gpu/drm/drm_file.c b/drivers/gpu/drm/drm_file.c index 075a7766bb79..754af25fe255 100644 --- a/drivers/gpu/drm/drm_file.c +++ b/drivers/gpu/drm/drm_file.c @@ -31,17 +31,20 @@ * OTHER DEALINGS IN THE SOFTWARE. */ +#include +#include +#include #include #include -#include #include +#include #include -#include +#include -#include "drm_legacy.h" -#include "drm_internal.h" #include "drm_crtc_internal.h" +#include "drm_internal.h" +#include "drm_legacy.h" /* from BKL pushdown */ DEFINE_MUTEX(drm_global_mutex); diff --git a/drivers/gpu/drm/drm_flip_work.c b/drivers/gpu/drm/drm_flip_work.c index 3da3bf5af405..060b753881a2 100644 --- a/drivers/gpu/drm/drm_flip_work.c +++ b/drivers/gpu/drm/drm_flip_work.c @@ -21,9 +21,11 @@ * SOFTWARE. */ -#include -#include +#include + #include +#include +#include /** * drm_flip_work_allocate_task - allocate a flip-work task diff --git a/drivers/gpu/drm/drm_fourcc.c b/drivers/gpu/drm/drm_fourcc.c index 35b459d186c5..c630064ccf41 100644 --- a/drivers/gpu/drm/drm_fourcc.c +++ b/drivers/gpu/drm/drm_fourcc.c @@ -27,7 +27,7 @@ #include #include -#include +#include #include static char printable_char(int c) diff --git a/drivers/gpu/drm/drm_framebuffer.c b/drivers/gpu/drm/drm_framebuffer.c index d8d75e25f6fb..0b72468e8131 100644 --- a/drivers/gpu/drm/drm_framebuffer.c +++ b/drivers/gpu/drm/drm_framebuffer.c @@ -21,16 +21,21 @@ */ #include -#include -#include -#include +#include + #include #include +#include +#include +#include +#include +#include +#include #include #include -#include "drm_internal.h" #include "drm_crtc_internal.h" +#include "drm_internal.h" /** * DOC: overview diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c index 50de138c89e0..8a55f71325b1 100644 --- a/drivers/gpu/drm/drm_gem.c +++ b/drivers/gpu/drm/drm_gem.c @@ -38,10 +38,14 @@ #include #include #include -#include -#include + +#include +#include +#include #include #include +#include + #include "drm_internal.h" /** @file drm_gem.c diff --git a/drivers/gpu/drm/drm_gem_cma_helper.c b/drivers/gpu/drm/drm_gem_cma_helper.c index e01ceed09e67..0cb1bbed1f68 100644 --- a/drivers/gpu/drm/drm_gem_cma_helper.c +++ b/drivers/gpu/drm/drm_gem_cma_helper.c @@ -17,15 +17,16 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include #include #include +#include +#include +#include +#include -#include #include +#include +#include #include #include diff --git a/drivers/gpu/drm/drm_gem_framebuffer_helper.c b/drivers/gpu/drm/drm_gem_framebuffer_helper.c index 65edb1ccb185..6fd48efe288c 100644 --- a/drivers/gpu/drm/drm_gem_framebuffer_helper.c +++ b/drivers/gpu/drm/drm_gem_framebuffer_helper.c @@ -14,7 +14,6 @@ #include #include -#include #include #include #include diff --git a/drivers/gpu/drm/drm_hashtab.c b/drivers/gpu/drm/drm_hashtab.c index c92b00d42ece..c50fa6f0709f 100644 --- a/drivers/gpu/drm/drm_hashtab.c +++ b/drivers/gpu/drm/drm_hashtab.c @@ -32,11 +32,15 @@ * Thomas Hellström */ -#include -#include +#include #include +#include +#include #include -#include +#include + +#include +#include int drm_ht_create(struct drm_open_hash *ht, unsigned int order) { diff --git a/drivers/gpu/drm/drm_ioc32.c b/drivers/gpu/drm/drm_ioc32.c index 374b372da58a..586aa28024c5 100644 --- a/drivers/gpu/drm/drm_ioc32.c +++ b/drivers/gpu/drm/drm_ioc32.c @@ -31,10 +31,13 @@ #include #include -#include -#include "drm_legacy.h" -#include "drm_internal.h" +#include +#include +#include + #include "drm_crtc_internal.h" +#include "drm_internal.h" +#include "drm_legacy.h" #define DRM_IOCTL_VERSION32 DRM_IOWR(0x00, drm_version32_t) #define DRM_IOCTL_GET_UNIQUE32 DRM_IOWR(0x01, drm_unique32_t) diff --git a/drivers/gpu/drm/drm_ioctl.c b/drivers/gpu/drm/drm_ioctl.c index 2263e3ddd822..9441a36a2469 100644 --- a/drivers/gpu/drm/drm_ioctl.c +++ b/drivers/gpu/drm/drm_ioctl.c @@ -28,16 +28,22 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include -#include -#include -#include "drm_legacy.h" -#include "drm_internal.h" -#include "drm_crtc_internal.h" - -#include #include #include +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +#include "drm_crtc_internal.h" +#include "drm_internal.h" +#include "drm_legacy.h" /** * DOC: getunique and setversion story diff --git a/drivers/gpu/drm/drm_irq.c b/drivers/gpu/drm/drm_irq.c index 02f38cc9f468..03bce566a8c3 100644 --- a/drivers/gpu/drm/drm_irq.c +++ b/drivers/gpu/drm/drm_irq.c @@ -51,13 +51,18 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include -#include +#include #include /* For task queue support */ - +#include #include -#include + +#include +#include +#include +#include +#include +#include #include "drm_internal.h" diff --git a/drivers/gpu/drm/drm_kms_helper_common.c b/drivers/gpu/drm/drm_kms_helper_common.c index 9c5ae825c507..d9a5ac81949e 100644 --- a/drivers/gpu/drm/drm_kms_helper_common.c +++ b/drivers/gpu/drm/drm_kms_helper_common.c @@ -26,7 +26,8 @@ */ #include -#include + +#include #include "drm_crtc_helper_internal.h" diff --git a/drivers/gpu/drm/drm_lease.c b/drivers/gpu/drm/drm_lease.c index 694ff363a90b..849da9414450 100644 --- a/drivers/gpu/drm/drm_lease.c +++ b/drivers/gpu/drm/drm_lease.c @@ -11,14 +11,19 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. */ +#include +#include -#include -#include "drm_internal.h" -#include "drm_legacy.h" -#include "drm_crtc_internal.h" -#include #include #include +#include +#include +#include +#include + +#include "drm_crtc_internal.h" +#include "drm_internal.h" +#include "drm_legacy.h" #define drm_for_each_lessee(lessee, lessor) \ list_for_each_entry((lessee), &(lessor)->lessees, lessee_list) diff --git a/drivers/gpu/drm/drm_legacy_misc.c b/drivers/gpu/drm/drm_legacy_misc.c index 18d05a6c12b3..4d3a11cfd979 100644 --- a/drivers/gpu/drm/drm_legacy_misc.c +++ b/drivers/gpu/drm/drm_legacy_misc.c @@ -33,7 +33,12 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include +#include +#include +#include +#include +#include + #include "drm_internal.h" #include "drm_legacy.h" diff --git a/drivers/gpu/drm/drm_lock.c b/drivers/gpu/drm/drm_lock.c index b70058e77a28..68b18b0e290c 100644 --- a/drivers/gpu/drm/drm_lock.c +++ b/drivers/gpu/drm/drm_lock.c @@ -36,9 +36,13 @@ #include #include -#include -#include "drm_legacy.h" +#include +#include +#include +#include + #include "drm_internal.h" +#include "drm_legacy.h" static int drm_lock_take(struct drm_lock_data *lock_data, unsigned int context); diff --git a/drivers/gpu/drm/drm_memory.c b/drivers/gpu/drm/drm_memory.c index 132fef8ff1b6..b634e1670190 100644 --- a/drivers/gpu/drm/drm_memory.c +++ b/drivers/gpu/drm/drm_memory.c @@ -33,10 +33,15 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include #include +#include +#include +#include #include -#include + +#include +#include + #include "drm_legacy.h" #if IS_ENABLED(CONFIG_AGP) diff --git a/drivers/gpu/drm/drm_mm.c b/drivers/gpu/drm/drm_mm.c index 8b4cd31ce7bd..9a59865ce574 100644 --- a/drivers/gpu/drm/drm_mm.c +++ b/drivers/gpu/drm/drm_mm.c @@ -42,12 +42,13 @@ * Thomas Hellström */ -#include -#include -#include -#include #include #include +#include +#include +#include + +#include /** * DOC: Overview diff --git a/drivers/gpu/drm/drm_mode_config.c b/drivers/gpu/drm/drm_mode_config.c index 1a346ae1599d..7bc03c3c154f 100644 --- a/drivers/gpu/drm/drm_mode_config.c +++ b/drivers/gpu/drm/drm_mode_config.c @@ -20,9 +20,13 @@ * OF THIS SOFTWARE. */ +#include + +#include #include +#include #include -#include +#include #include "drm_crtc_internal.h" #include "drm_internal.h" diff --git a/drivers/gpu/drm/drm_mode_object.c b/drivers/gpu/drm/drm_mode_object.c index f32507e65b79..1c6e51135962 100644 --- a/drivers/gpu/drm/drm_mode_object.c +++ b/drivers/gpu/drm/drm_mode_object.c @@ -21,9 +21,14 @@ */ #include -#include -#include +#include + #include +#include +#include +#include +#include +#include #include "drm_crtc_internal.h" diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c index 56f92a0bba62..5a07a28fec6d 100644 --- a/drivers/gpu/drm/drm_modes.c +++ b/drivers/gpu/drm/drm_modes.c @@ -33,11 +33,14 @@ #include #include #include -#include -#include + #include