Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2019057imu; Sat, 12 Jan 2019 13:10:01 -0800 (PST) X-Google-Smtp-Source: ALg8bN5N1aw2w+FG+xFFyFq1qNeHe3m4Y7oFoXD6rVtC/olggjKeaT6shJzdEgjsld5/pH7O2Vhv X-Received: by 2002:aa7:80d7:: with SMTP id a23mr19383083pfn.86.1547327401238; Sat, 12 Jan 2019 13:10:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547327401; cv=none; d=google.com; s=arc-20160816; b=Ke3AkUj6AppkMyIxlNkgoSDxUubkOr1ptKCr0MaZ1PWcL30NurqOUBajqzYhTCwNg5 iU8yaq2reVDc2QxUhS0QMBgiDP0W7ieuTszmYJzdQ/ftsWYRqw/+9QnsARfnSxj4LMUA aIc1+YxCsMjTHj4EzEt1wlvpEhoBpsi9lexJvRn/mPLZXboMST3kKb4RkF8n2IE9CnVa U6jm8c/7ijS0OZDTdNLANm0z2rt+F6t9CVAwofvu5SxuE3UStaw4W3uky00v0aTfLpw1 G6RhE2dpmpQOeb7IFFyybBmNcJgPEw4s72W9Qk0AAZvAKpPrU/effrzMRLNfSndTIOjD L8ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=KbLBdhYOvrrJnM0s7coeDX2LH3PzxTfZFPYDDnxo76Y=; b=bgvjBxfLsB4arRCLRsr7u37rv+5dbZhnS4lQbhBVKGcP/N3hAOkzryQ2DvWaDLPJ1M vAr1boNsrpJ1kUCEN7B3z9sXNMw4E0+/UCmAGdg3Ovto6rdUvdCf0KQ/ERP/Wv3XgtZB 3r3R8WMC2w2iRgu0aXu9it9YD+nOaTVVN/1zNq8EpjFJ3q2+sUURoMHWJ/mbWINNAhlS jkxoUxytLVVAL4auWcWeYsE40FnVhZZw3ibGmThfYhRUHnvSBvZXo5cV2E4s6W89aDm1 B/oUFKPX+TKCuOAsWsDJPGKmHc0iuguygG3Rog00QAklzuHx3X1euxHToqBQZief2b0S a7Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=HSVyATfJ; 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 be11si7326406plb.134.2019.01.12.13.09.44; Sat, 12 Jan 2019 13:10:01 -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=HSVyATfJ; 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 S1726914AbfALTdz (ORCPT + 99 others); Sat, 12 Jan 2019 14:33:55 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:44328 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725957AbfALTdd (ORCPT ); Sat, 12 Jan 2019 14:33:33 -0500 Received: by mail-lj1-f195.google.com with SMTP id k19-v6so15707454lji.11 for ; Sat, 12 Jan 2019 11:33:32 -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:in-reply-to:references; bh=KbLBdhYOvrrJnM0s7coeDX2LH3PzxTfZFPYDDnxo76Y=; b=HSVyATfJ5YINYDSZm46u5BICB4LUKbVXeggr0YmACOHRogamKlYkYNHEGfs7T2Xaw7 fgHP0Ubj5Y5Ueovf6D1RjugsDKPBAd/yR0edhhGbyKsNQPFD7WSV9ubM743X+Le/h7lm aFOx8SmU+m0rOsJ14hFN7ZZBcQnrQbTNPdP+7k8Utwi2zeZYNXTDbVFVlJETRgoipcB1 zdBJDwXGX2Esg04+746LMe1NYKfsdIL3ghjxPGz79aQ40ONcQgic0I9zka9EE4fzxHrx SOlh+v2clFvYGgCEdTV6QTYEdV6QQTnHRJcumaOpjGQv3mgxqdJ7OD2StbEh/BEDVjo2 JRrw== 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; bh=KbLBdhYOvrrJnM0s7coeDX2LH3PzxTfZFPYDDnxo76Y=; b=ZjzJcCaWpXJWwM3/y5NAku1+2iHn2PnCJKZbPHIanSBmRCNiXQHs1eKjA5jOZBuZ2G oq8zT5Mugz3haH0Ksx2MThHLd8PjGic92UODoa9r2u3kcDk0sv5jJOFxAXfzHtJfZw1g A/CqjbuEyJTJ50JFVolN78aHk9HeEOtYTZv/mHBWZ2qBvlTrAK9rXxz498kZAsYeUjIG n/U0k6P/8H7JJ+ALj2cu+nSwKLLKgrAwwHYbul8YleqiG38orAc1e9Nhs7A40UeFjQ+9 30UimmNLivNKmzfgO7AbjLBWdRgLx/+wJ2Li2I0fquFFKj0Iqyv9YlPQ1fw7GDNrJ20/ UN3A== X-Gm-Message-State: AJcUukddccgl1NhWIvkxfIakWM8VSbvfNzbKM32e2Agv5/hzLvjN2oD3 NybLEslp20tP8pCkIVLEJ/Y= X-Received: by 2002:a2e:58b:: with SMTP id 133-v6mr12055660ljf.127.1547321611680; Sat, 12 Jan 2019 11:33:31 -0800 (PST) Received: from jupiter.lan (18.158-248-194.customer.lyse.net. [158.248.194.18]) by smtp.gmail.com with ESMTPSA id d82sm15624452lfd.82.2019.01.12.11.33.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Jan 2019 11:33:31 -0800 (PST) From: Sam Ravnborg To: Alex Deucher , Alexey Brodkin , Andrzej Hajda , Benjamin Gaignard , Chen Feng , Christian Konig , Daniel Vetter , David Airlie , David Zhou , Eric Anholt , Gerd Hoffmann , Kieran Bingham , Laurent Pinchart , Laurent Pinchart , Maarten Lankhorst , Maxime Ripard , Philippe Cornu , Rob Clark , Rongrong Zou , Sean Paul , Tomi Valkeinen , Vincent Abriou , Xinliang Liu , Xinwei Kong , Yannick Fertre , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: Sam Ravnborg Subject: [PATCH v4 4/8] drm/hisilicon/kirin: prepare for drmP.h removal from drm_modeset_helper.h Date: Sat, 12 Jan 2019 20:32:47 +0100 Message-Id: <20190112193251.20450-5-sam@ravnborg.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20190112193251.20450-1-sam@ravnborg.org> References: <20190112193251.20450-1-sam@ravnborg.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The use of drmP.h is discouraged and removal of it from drm_modeset_helper.h caused kirin to fail to build. This patch introduce the necessary fixes to prepare for the drmP.h removal from drm_modeset_helper.h. List of include files sorted alphabetically. Build tested on arm x86 allmodconfig using the following hack to the Kconfig file: | - depends on DRM && OF && ARM64 | + depends on DRM && OF && (ARM64 || (X86_64 && COMPILE_TEST)) Build failed on 32bit ARM - so the X86_64 hack was required. The COMPILE_TEST hack is not submitted as the preferred fix is something where we have coverage on 32bit ARM too. Signed-off-by: Sam Ravnborg Cc: Xinliang Liu Cc: Rongrong Zou Cc: Xinwei Kong Cc: Chen Feng Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c b/drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c index b4c7af3ab6ae..7ffebdd843a2 100644 --- a/drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c +++ b/drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c @@ -16,13 +16,18 @@ */ #include +#include #include +#include +#include -#include +#include #include -#include +#include #include -#include +#include +#include +#include #include "dw_dsi_reg.h" -- 2.12.0