Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9988635imu; Sun, 30 Dec 2018 09:50:59 -0800 (PST) X-Google-Smtp-Source: ALg8bN5fSFqoI3muuAf8ByrhKifO8NP6pmgjMjNbNLHTfE5CD31/p0zvpZuvHMO26izQtTLYGJa2 X-Received: by 2002:a63:2586:: with SMTP id l128mr5227229pgl.104.1546192259047; Sun, 30 Dec 2018 09:50:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546192259; cv=none; d=google.com; s=arc-20160816; b=eUnHw5wCUCKD96cJjJol8Hmy55TeO/mVA+TXImJBjS51b7btToqtycFjJpt/IlzndG AoKiYkId/b7iuggk+58WNsPGUisOjUxK8uiutwwjriD4V9TBVXUADVsXRFjDOIxDMid8 6+f/7pwCUVKvAKeWziijnrkAIRlhaZnLWol1x6hpnBULr4l2SyhT7sVhg+E/cHeF2ri5 ekhU8jH9J2tEVN+QMXdvuNo7yJJ/UPVV/0lpUbdKck7gs3vxepyKPP4pbJpoRWwcO13u MEO/OpVcGLfWOloMO0ci/8tysd267TMPb5cRoIm5nJpzt4UDLui1XtNRTlVMuYCkYl33 373w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=eCma5HCQv5NpqZQvrQIQPXNldhs2hE4OB3E1rHYiUvM=; b=BBNwmqeX5HZ0wFVn8S4QioYQEbhwEjIJQQxTdSi+QQbrE8DVwMkZdW/DPPmZeXWnSd LSrijeLFVvhDLWzszwfbIguLUUhK5UavcJ8FUcDAAshhhpXk27xDfeyUZtmf/4oA/V5T ugTsdfz+Vm22BmhhYGxUz8eC5ah9OW1Nzx7nf2OiJv2/+kqkLeC6wD6Q+IBmYQSbvmC8 udpkOlflfliOZM0CRmeg8p1kK2IkeyrlxrtMqw707yfqya2skcq6xkei6iTTM9+PYtBY dTZIKtkSfBtjq82MZAJBsf7TK23IDcUrCevaHBWuvJsHYVZOZ+Cib9m+mQjH+m5BCB0Z D24A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=QTVt+fM4; 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 l33si34972952pld.142.2018.12.30.09.50.44; Sun, 30 Dec 2018 09:50:59 -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=QTVt+fM4; 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 S1726864AbeL3Rte (ORCPT + 99 others); Sun, 30 Dec 2018 12:49:34 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:40364 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726766AbeL3RtL (ORCPT ); Sun, 30 Dec 2018 12:49:11 -0500 Received: by mail-lj1-f193.google.com with SMTP id n18-v6so22347049lji.7 for ; Sun, 30 Dec 2018 09:49:10 -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; bh=eCma5HCQv5NpqZQvrQIQPXNldhs2hE4OB3E1rHYiUvM=; b=QTVt+fM4CWnCDNj7kTTGiFDJm/iLZPxnGAlrvxmQJ1+X62Dx1wSZx4GgS4PpMqxMFs 9Yc1aN93blIBKaNSejHHnaRJau24AD5LivAsShl5XZGzjROhGTP3r//O+oB8H2SdW0mc ah2MyE/rHiTypQbfF27mV86wb7MtelYNFsj6Ah3Gnd9MI9mIRzF88axjBO6aStNto0hQ fvGR/if9GWf9BvEENTEbd5CGGy35LeoBzifpmUcWYBOYSO3zNCVrX2KyCURomp4wF2NI 2/R6ytmCfAlivmVzXGkHc4wg8g3t4egR7oT9fvBGc3pQvav9/4CvdYJXx+hQbJn6lYPq Kb8Q== 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=eCma5HCQv5NpqZQvrQIQPXNldhs2hE4OB3E1rHYiUvM=; b=d0k9VI+snNINnPNNVOPxkgV+xjBhmR5k2/EW1bYcoLEJDPCZqw8TB2s6OaMu003QZ0 xIYvWIMZGbravUZllrRDiy/yqsjUA3wOfaaGJInQ6nX0hIuUZxaIvAT3wuJ4hSOit91e KEFHHQNtdXsxrT3ayO3crGuitB6lmLT345/u1BDzaX3XHt3OuaobPwENL23o13V97ZO0 info6eHVeZG9KiN/TvoEu3WfYibiVeHUbeJ4Y4gs/uZURaA1loFZnElutwfK2a4Jy4dh vcs9EHegZ4DbjCpxRXxyjsAlnu3f8Jh64z8J/F3ZLetesLajBC0OhCz+7A+O7HjNBOu/ kRUQ== X-Gm-Message-State: AJcUukc/rn2lolBUvSzVL7XyEE7LhkoS17SVxP9Co/3n3SQXyC3SwEbz 7233PsB4ARkT7EFx/P3+7t8= X-Received: by 2002:a2e:2c02:: with SMTP id s2-v6mr19992129ljs.118.1546192149434; Sun, 30 Dec 2018 09:49:09 -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.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Dec 2018 09:49:09 -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 , Yannick Fertre , Philippe Cornu , Benjamin Gaignard , Vincent Abriou Subject: [PATCH v2 12/14] drm/stm: do not reply on drmP.h from drm_gem_cma_helper.h Date: Sun, 30 Dec 2018 18:48:36 +0100 Message-Id: <20181230174838.32330-13-sam@ravnborg.org> X-Mailer: git-send-email 2.12.0 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 stm/ for this add dependencies that othwewise was pulled in by drmP.h from drm_gem_cma_helper.h Sort the include list when we anyway modify it. Signed-off-by: Sam Ravnborg Cc: Yannick Fertre Cc: Philippe Cornu Cc: Benjamin Gaignard Cc: Vincent Abriou Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/stm/drv.c | 6 +++++- drivers/gpu/drm/stm/ltdc.c | 9 ++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/stm/drv.c b/drivers/gpu/drm/stm/drv.c index 8dec001b9d37..9cd6228a18ad 100644 --- a/drivers/gpu/drm/stm/drv.c +++ b/drivers/gpu/drm/stm/drv.c @@ -9,15 +9,19 @@ */ #include +#include +#include #include #include #include #include #include -#include +#include #include #include +#include +#include #include "ltdc.h" diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c index 61dd661aa0ac..5cce6c7f35d4 100644 --- a/drivers/gpu/drm/stm/ltdc.c +++ b/drivers/gpu/drm/stm/ltdc.c @@ -10,17 +10,24 @@ #include #include +#include +#include +#include #include #include +#include #include #include #include +#include #include +#include #include +#include #include #include -#include +#include #include #include