From: kbuild test robot <lkp@intel.com>
To: Matthew Auld <matthew.auld@intel.com>
Cc: intel-gfx@lists.freedesktop.org, kbuild-all@01.org
Subject: Re: [PATCH 18/23] drm/i915/selftests: huge page tests
Date: Fri, 25 Aug 2017 01:56:31 +0800 [thread overview]
Message-ID: <201708250142.A2ubSqbI%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170821183503.12246-19-matthew.auld@intel.com>
[-- Attachment #1: Type: text/plain, Size: 3938 bytes --]
Hi Matthew,
[auto build test ERROR on mmotm/master]
[cannot apply to drm-intel/for-linux-next linus/master v4.13-rc6 next-20170824]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Matthew-Auld/huge-gtt-pages/20170825-005243
base: git://git.cmpxchg.org/linux-mmotm.git master
config: i386-randconfig-x075-201734 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/agp_backend.h:33,
from include/drm/drmP.h:35,
from drivers/gpu//drm/i915/i915_gem.c:28:
drivers/gpu//drm/i915/selftests/huge_pages.c: In function 'gpu_write':
>> drivers/gpu//drm/i915/selftests/huge_pages.c:741:14: error: implicit declaration of function 'intel_engine_can_store_dword' [-Werror=implicit-function-declaration]
GEM_BUG_ON(!intel_engine_can_store_dword(i915->engine[RCS]));
^
include/linux/compiler.h:175:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
drivers/gpu//drm/i915/i915_gem.h:31:26: note: in expansion of macro 'BUG_ON'
#define GEM_BUG_ON(expr) BUG_ON(expr)
^~~~~~
drivers/gpu//drm/i915/selftests/huge_pages.c:741:2: note: in expansion of macro 'GEM_BUG_ON'
GEM_BUG_ON(!intel_engine_can_store_dword(i915->engine[RCS]));
^~~~~~~~~~
cc1: all warnings being treated as errors
vim +/intel_engine_can_store_dword +741 drivers/gpu//drm/i915/selftests/huge_pages.c
729
730 static int gpu_write(struct i915_vma *vma,
731 struct i915_gem_context *ctx,
732 u32 dword,
733 u32 value)
734 {
735 struct drm_i915_private *i915 = to_i915(vma->obj->base.dev);
736 struct drm_i915_gem_request *rq;
737 struct i915_vma *batch;
738 int flags = 0;
739 int err;
740
> 741 GEM_BUG_ON(!intel_engine_can_store_dword(i915->engine[RCS]));
742
743 err = i915_gem_object_set_to_gtt_domain(vma->obj, true);
744 if (err)
745 return err;
746
747 rq = i915_gem_request_alloc(i915->engine[RCS], ctx);
748 if (IS_ERR(rq))
749 return PTR_ERR(rq);
750
751 batch = gpu_write_dw(vma, dword * sizeof(u32), value);
752 if (IS_ERR(batch)) {
753 err = PTR_ERR(batch);
754 goto err_request;
755 }
756
757 i915_vma_move_to_active(batch, rq, 0);
758 i915_gem_object_set_active_reference(batch->obj);
759 i915_vma_unpin(batch);
760 i915_vma_close(batch);
761
762 err = rq->engine->emit_flush(rq, EMIT_INVALIDATE);
763 if (err)
764 goto err_request;
765
766 err = i915_switch_context(rq);
767 if (err)
768 goto err_request;
769
770 err = rq->engine->emit_bb_start(rq,
771 batch->node.start, batch->node.size,
772 flags);
773 if (err)
774 goto err_request;
775
776 i915_vma_move_to_active(vma, rq, 0);
777
778 reservation_object_lock(vma->resv, NULL);
779 reservation_object_add_excl_fence(vma->resv, &rq->fence);
780 reservation_object_unlock(vma->resv);
781
782 err_request:
783 __i915_add_request(rq, err == 0);
784
785 return err;
786 }
787
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31223 bytes --]
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-08-24 17:56 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-21 18:34 [PATCH 00/23] huge gtt pages Matthew Auld
2017-08-21 18:34 ` [PATCH 01/23] mm/shmem: introduce shmem_file_setup_with_mnt Matthew Auld
2017-08-23 9:31 ` Joonas Lahtinen
2017-08-23 22:34 ` Andrew Morton
2017-08-23 22:34 ` Andrew Morton
2017-08-24 12:04 ` [Intel-gfx] " Matthew Auld
2017-08-24 12:04 ` Matthew Auld
2017-08-25 20:49 ` [Intel-gfx] " Andrew Morton
2017-08-25 20:49 ` Andrew Morton
2017-08-29 14:09 ` [Intel-gfx] " Joonas Lahtinen
2017-08-29 14:09 ` Joonas Lahtinen
2017-08-21 18:34 ` [PATCH 02/23] drm/i915: introduce simple gemfs Matthew Auld
2017-08-21 18:34 ` Matthew Auld
2017-08-29 14:33 ` Joonas Lahtinen
2017-08-21 18:34 ` [PATCH 03/23] drm/i915/gemfs: enable THP Matthew Auld
2017-08-29 14:49 ` Joonas Lahtinen
2017-09-04 12:09 ` Matthew Auld
2017-08-21 18:34 ` [PATCH 04/23] drm/i915: introduce page_size_mask to dev_info Matthew Auld
2017-08-21 18:34 ` [PATCH 05/23] drm/i915: push set_pages down to the callers Matthew Auld
2017-08-29 14:44 ` Joonas Lahtinen
2017-08-21 18:34 ` [PATCH 06/23] drm/i915: introduce page_size members Matthew Auld
2017-09-05 9:25 ` Joonas Lahtinen
2017-08-21 18:34 ` [PATCH 07/23] drm/i915: introduce vm set_pages/clear_pages Matthew Auld
2017-08-21 18:34 ` [PATCH 08/23] drm/i915: align the vma start to the largest gtt page size Matthew Auld
2017-08-21 18:34 ` [PATCH 09/23] drm/i915: align 64K objects to 2M Matthew Auld
2017-08-21 18:34 ` [PATCH 10/23] drm/i915: enable IPS bit for 64K pages Matthew Auld
2017-08-21 18:34 ` [PATCH 11/23] drm/i915: disable GTT cache for 2M/1G pages Matthew Auld
2017-08-21 18:34 ` [PATCH 12/23] drm/i915: support 1G pages for the 48b PPGTT Matthew Auld
2017-08-21 18:34 ` [PATCH 13/23] drm/i915: support 2M " Matthew Auld
2017-08-21 18:34 ` [PATCH 14/23] drm/i915: add support for 64K scratch page Matthew Auld
2017-08-21 18:34 ` [PATCH 15/23] drm/i915: support 64K pages for the 48b PPGTT Matthew Auld
2017-08-21 18:34 ` [PATCH 16/23] drm/i915: accurate page size tracking for the ppgtt Matthew Auld
2017-08-21 18:34 ` [PATCH 17/23] drm/i915/debugfs: include some gtt page size metrics Matthew Auld
2017-08-21 18:34 ` [PATCH 18/23] drm/i915/selftests: huge page tests Matthew Auld
2017-08-24 17:56 ` kbuild test robot [this message]
2017-08-28 14:36 ` Chris Wilson
2017-08-21 18:34 ` [PATCH 19/23] drm/i915/selftests: mix huge pages Matthew Auld
2017-08-21 18:35 ` [PATCH 20/23] drm/i915: disable platform support for vGPU huge gtt pages Matthew Auld
2017-08-21 18:35 ` [PATCH 21/23] drm/i915: enable platform support for 64K pages Matthew Auld
2017-08-21 18:35 ` [PATCH 22/23] drm/i915: enable platform support for 2M pages Matthew Auld
2017-08-21 18:35 ` [PATCH 23/23] drm/i915: enable platform support for 1G pages Matthew Auld
2017-08-21 18:54 ` ✓ Fi.CI.BAT: success for huge gtt pages (rev7) Patchwork
2017-08-22 14:21 ` [PATCH 00/23] huge gtt pages Chris Wilson
2017-08-22 14:23 ` Chris Wilson
2017-08-22 15:23 ` Matthew Auld
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=201708250142.A2ubSqbI%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=kbuild-all@01.org \
--cc=matthew.auld@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.