Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: Jani Nikula <jani.nikula@intel.com>,
	Masahiro Yamada <yamada.masahiro@socionext.com>
Subject: [Intel-gfx] [PATCH 2/3] drm/i915/selftests: make mock_drm.h self-contained
Date: Thu, 19 Dec 2019 17:56:51 +0200	[thread overview]
Message-ID: <20191219155652.2666-2-jani.nikula@intel.com> (raw)
In-Reply-To: <20191219155652.2666-1-jani.nikula@intel.com>

Needs i915_drv.h because i915 gets dereferenced.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/selftests/mock_drm.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/selftests/mock_drm.h b/drivers/gpu/drm/i915/selftests/mock_drm.h
index d7f49e149f0c..9916b6f95526 100644
--- a/drivers/gpu/drm/i915/selftests/mock_drm.h
+++ b/drivers/gpu/drm/i915/selftests/mock_drm.h
@@ -27,7 +27,8 @@
 
 #include <drm/drm_file.h>
 
-struct drm_i915_private;
+#include "i915_drv.h"
+
 struct drm_file;
 struct file;
 
-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2019-12-19 15:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-19 15:56 [Intel-gfx] [PATCH 1/3] drm/i915/selftests: make mock_context.h self-contained Jani Nikula
2019-12-19 15:56 ` Jani Nikula [this message]
2019-12-19 16:17   ` [Intel-gfx] [PATCH 2/3] drm/i915/selftests: make mock_drm.h self-contained Chris Wilson
2019-12-19 15:56 ` [Intel-gfx] [PATCH 3/3] drm/i915: reimplement header test feature Jani Nikula
2019-12-19 17:00   ` Chris Wilson
2020-01-02 10:30     ` Jani Nikula
2019-12-19 16:17 ` [Intel-gfx] [PATCH 1/3] drm/i915/selftests: make mock_context.h self-contained Chris Wilson
2019-12-19 16:54 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] " Patchwork
2019-12-19 17:37 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2019-12-20  6:05 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] drm/i915/selftests: make mock_context.h self-contained (rev2) Patchwork
2019-12-20  6:34 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2019-12-21 10:26 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191219155652.2666-2-jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=yamada.masahiro@socionext.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox