]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: reimplement header test feature
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 19 Dec 2019 15:56:52 +0000 (17:56 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 2 Jan 2020 10:24:10 +0000 (12:24 +0200)
commit342da2f9594d897f125df77f6cee523fd9f1396e
tree423d500da9229db4b60b547dfc9a5cfd6a644955
parentb643692912881e5498f123b19331797e7d56c074
drm/i915: reimplement header test feature

I implemented a small build rule in drivers/gpu/drm/i915/Makefile
without relying on the special header-test-y syntax that was removed in
commit 613e06343f7a ("kbuild: remove header compile test").

I excluded some headers from the test coverage. I hope somebody
intrested can take a closer look at them.

Dummy subdir Makefiles can be removed altogether as single target build
use case is now covered by commit a49de2ed9545 ("kbuild: make single
targets work more correctly").

v2 by Jani:
- add selftests/i915_perf_selftests.h to no-header-test
- add .gitignore for *.hdrtest

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191219155652.2666-3-jani.nikula@intel.com
drivers/gpu/drm/i915/.gitignore [new file with mode: 0644]
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/display/Makefile [deleted file]
drivers/gpu/drm/i915/gem/Makefile [deleted file]
drivers/gpu/drm/i915/gt/Makefile [deleted file]
drivers/gpu/drm/i915/gt/uc/Makefile [deleted file]
drivers/gpu/drm/i915/oa/Makefile [deleted file]