From patchwork Sun Oct 8 16:10:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 115165 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1683033qgn; Sun, 8 Oct 2017 09:13:02 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAA5vobMVVXPYBRApTGpPiV8llP1rPcDyBtE4bvgvpaoLvWDtkE/T/pfr+Bw8qc1J+vM+Xm X-Received: by 10.98.101.132 with SMTP id z126mr7776134pfb.302.1507479182081; Sun, 08 Oct 2017 09:13:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507479182; cv=none; d=google.com; s=arc-20160816; b=xxiVdj9bgdTEKT4ZiglWmwppJQsz+ZyrVgZ9U32dyHxJrOEwGLSQeRM1ZM+KC+ahzm Yz+ceP+M96dlepP0FpyJqR6pB4B4OIEZpN7WsbTBOUNkvpggjgxXrnN/dHLVdvc3s2KF kySp0OoaJSWL4nl9vhhuvj87nDpLLyPJ0WDBrP8rBZb7O8FSINSuJsXHOF9JNXUckSqb G+GMz2e6sJHPF8KqFbejg5mprt0G0ZYSPOnHk9I7vMyl/Xos7lFxZ7UqSON54q0Di26J io0O71SkkNO2JatRl9lMEH/otcUKO6Zg4OKh6hEijO4q2TvHB9Q6FSFilC3YeFUwWOdC g8Lw== 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:dkim-filter :arc-authentication-results; bh=lffdjBlzaW+0jgluEIN2d18sU52/xCpDQqN2+1BJIKg=; b=zLzTpkAN57SyChTn3+LZQFJrRlkqPf6QFsC5h/nBR9KTVHspE3/4uHdY+SfiF1AGyx X5nMdP7cNTSCw0QY2LhmiJdh1V7dvVjdXtMcAbqKe0ncj3w92ES3xfs+q//mDe3WwWZk fFpZQHY5LtygwU+SWTbnAimyaigRDmvUEqjsuxeuv2vBZMACJCxoI1DE9gyuXSkbv04a ETON6rKRijHwftfImJQJY1XHuW9vqEziziS1rKklac7RJbZmN0avqxuWgtM8oCm+0dNj 5jxIfCUty6wisTk2acQgyN2/3kHLzZJg6Qxv2UBh6v6rJcFqBndWeQqVhLJJZre4c+3b 64pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=kwJZIOkW; 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 e62si385792pfa.483.2017.10.08.09.13.01; Sun, 08 Oct 2017 09:13:02 -0700 (PDT) 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=pass header.i=@nifty.com header.s=dec2015msa header.b=kwJZIOkW; 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 S1753801AbdJHQM7 (ORCPT + 26 others); Sun, 8 Oct 2017 12:12:59 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:51443 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753775AbdJHQM4 (ORCPT ); Sun, 8 Oct 2017 12:12:56 -0400 Received: from grover.sesame (FL1-122-131-185-176.osk.mesh.ad.jp [122.131.185.176]) (authenticated) by conuserg-08.nifty.com with ESMTP id v98GBWgV001379; Mon, 9 Oct 2017 01:11:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v98GBWgV001379 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1507479103; bh=lffdjBlzaW+0jgluEIN2d18sU52/xCpDQqN2+1BJIKg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kwJZIOkWzmMeFBHHQIznuTPr9Vi22NC2o2f3zg4EE8KPRjyTqlKewlR5ELOf+0eQl qMXBxTnZ8tbXLhE6gsC08YPcHDV2wWLFl20T0+5tgh00WmxSKb7KCe8h2pm9VD2MNK 95csUi9N2XNlG2nXG6qER3/44MSk/XS9GBOHlUayui3mSU5waZwUWomyTmH+zWT5+d cRa2M2pNIQHf3UFofC3hLQhAga6vrCvckXGKWfHNulm3licvBg/caxX+A4Ljjd1wqI JAPqTLJ/hUAQDHc40xkOm714hpLErv24ii4dC3+ZXKQ4ESF89X0poG4dsSdgtKPZbK M8MWihNcvE/5Q== X-Nifty-SrcIP: [122.131.185.176] From: Masahiro Yamada To: linux-kernel@vger.kernel.org Cc: Thomas Gleixner , Andrew Morton , Ian Abbott , Ingo Molnar , Linus Torvalds , Masahiro Yamada , Jani Nikula , intel-gfx@lists.freedesktop.org, Rodrigo Vivi , dri-devel@lists.freedesktop.org, David Airlie , Joonas Lahtinen Subject: [PATCH 12/12] drm/i915: replace with Date: Mon, 9 Oct 2017 01:10:13 +0900 Message-Id: <1507479013-5207-13-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507479013-5207-1-git-send-email-yamada.masahiro@socionext.com> References: <1507479013-5207-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The header drivers/gpu/drm/i915/i915_gem_context.h requires the definition of struct radix_tree_root, but does not need to know anything about other radix tree stuff. Include instead of to reduce the number of included header files. While we are here, let's add missing where radix tree accessors are used. Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/i915/i915_gem.c | 1 + drivers/gpu/drm/i915/i915_gem_context.c | 1 + drivers/gpu/drm/i915/i915_gem_context.h | 2 +- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 1 + drivers/gpu/drm/i915/i915_gem_object.h | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 19404c9..d2356eb 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -37,6 +37,7 @@ #include "intel_mocs.h" #include #include +#include #include #include #include diff --git a/drivers/gpu/drm/i915/i915_gem_context.c b/drivers/gpu/drm/i915/i915_gem_context.c index 58a2a44..34b2195 100644 --- a/drivers/gpu/drm/i915/i915_gem_context.c +++ b/drivers/gpu/drm/i915/i915_gem_context.c @@ -86,6 +86,7 @@ */ #include +#include #include #include #include "i915_drv.h" diff --git a/drivers/gpu/drm/i915/i915_gem_context.h b/drivers/gpu/drm/i915/i915_gem_context.h index 44688e2..0ebe11f 100644 --- a/drivers/gpu/drm/i915/i915_gem_context.h +++ b/drivers/gpu/drm/i915/i915_gem_context.h @@ -27,7 +27,7 @@ #include #include -#include +#include struct pid; diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c index 92437f4..af9ee58 100644 --- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c +++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c @@ -27,6 +27,7 @@ */ #include +#include #include #include #include diff --git a/drivers/gpu/drm/i915/i915_gem_object.h b/drivers/gpu/drm/i915/i915_gem_object.h index c30d8f8..a5a5506 100644 --- a/drivers/gpu/drm/i915/i915_gem_object.h +++ b/drivers/gpu/drm/i915/i915_gem_object.h @@ -25,6 +25,7 @@ #ifndef __I915_GEM_OBJECT_H__ #define __I915_GEM_OBJECT_H__ +#include #include #include