From: kbuild test robot <lkp@intel.com>
To: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: intel-gfx@lists.freedesktop.org, kbuild-all@01.org
Subject: Re: [PATCH v11 05/10] drm/i915/perf: allow for CS OA configs to be created lazily
Date: Thu, 29 Aug 2019 10:41:04 +0800 [thread overview]
Message-ID: <201908290922.M1elj56V%lkp@intel.com> (raw)
In-Reply-To: <20190828143327.7965-6-lionel.g.landwerlin@intel.com>
[-- Attachment #1: Type: text/plain, Size: 4431 bytes --]
Hi Lionel,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[cannot apply to v5.3-rc6 next-20190828]
[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/Lionel-Landwerlin/drm-i915-Vulkan-performance-query-support/20190829-020841
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-d002-201934 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-11) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from <command-line>:0:0:
drivers/gpu/drm/i915/i915_perf.h:34:15: error: 'struct i915_oa_config' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct i915_oa_config **out_config);
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_perf.h:38:15: error: 'struct drm_i915_gem_object' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct drm_i915_gem_object **out_obj);
^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_perf.h:37:15: error: 'struct i915_oa_config' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct i915_oa_config **out_config,
^~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_perf.h:35:43: error: 'struct i915_perf_stream' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
int i915_perf_get_oa_config_and_bo(struct i915_perf_stream *stream,
^~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/i915_perf.h:39:36: error: 'struct kref' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
void i915_oa_config_release(struct kref *ref);
^~~~
drivers/gpu/drm/i915/i915_perf.h: In function 'i915_oa_config_get':
>> drivers/gpu/drm/i915/i915_perf.h:43:2: error: implicit declaration of function 'kref_get' [-Werror=implicit-function-declaration]
kref_get(&oa_config->ref);
^~~~~~~~
>> drivers/gpu/drm/i915/i915_perf.h:43:21: error: dereferencing pointer to incomplete type 'struct i915_oa_config'
kref_get(&oa_config->ref);
^~
drivers/gpu/drm/i915/i915_perf.h: In function 'i915_oa_config_put':
>> drivers/gpu/drm/i915/i915_perf.h:52:2: error: implicit declaration of function 'kref_put' [-Werror=implicit-function-declaration]
kref_put(&oa_config->ref, i915_oa_config_release);
^~~~~~~~
cc1: all warnings being treated as errors
vim +/kref_get +43 drivers/gpu/drm/i915/i915_perf.h
22
23 int i915_perf_open_ioctl(struct drm_device *dev, void *data,
24 struct drm_file *file);
25 int i915_perf_add_config_ioctl(struct drm_device *dev, void *data,
26 struct drm_file *file);
27 int i915_perf_remove_config_ioctl(struct drm_device *dev, void *data,
28 struct drm_file *file);
29 void i915_oa_init_reg_state(struct intel_engine_cs *engine,
30 struct intel_context *ce,
31 u32 *reg_state);
32 int i915_perf_get_oa_config(struct drm_i915_private *i915,
33 int metrics_set,
34 struct i915_oa_config **out_config);
> 35 int i915_perf_get_oa_config_and_bo(struct i915_perf_stream *stream,
36 int metrics_set,
37 struct i915_oa_config **out_config,
38 struct drm_i915_gem_object **out_obj);
> 39 void i915_oa_config_release(struct kref *ref);
40
41 static inline struct i915_oa_config *i915_oa_config_get(struct i915_oa_config *oa_config)
42 {
> 43 kref_get(&oa_config->ref);
44 return oa_config;
45 }
46
47 static inline void i915_oa_config_put(struct i915_oa_config *oa_config)
48 {
49 if (!oa_config)
50 return;
51
> 52 kref_put(&oa_config->ref, i915_oa_config_release);
53 }
54
---
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: 27675 bytes --]
[-- Attachment #3: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2019-08-29 2:51 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-28 14:33 [PATCH v11 00/10] drm/i915: Vulkan performance query support Lionel Landwerlin
2019-08-28 14:33 ` [PATCH v11 01/10] drm/syncobj: add sideband payload Lionel Landwerlin
2019-08-29 5:26 ` Zhou, David(ChunMing)
2019-08-29 6:40 ` Lionel Landwerlin
2019-09-04 16:08 ` Lionel Landwerlin
2019-08-28 14:33 ` [PATCH v11 02/10] drm/i915: introduce a mechanism to extend execbuf2 Lionel Landwerlin
2019-08-28 14:33 ` [PATCH v11 03/10] drm/i915: add syncobj timeline support Lionel Landwerlin
2019-08-28 14:33 ` [PATCH v11 04/10] drm/i915/perf: introduce a versioning of the i915-perf uapi Lionel Landwerlin
2019-08-28 14:33 ` [PATCH v11 05/10] drm/i915/perf: allow for CS OA configs to be created lazily Lionel Landwerlin
2019-08-29 2:41 ` kbuild test robot [this message]
2019-08-28 14:33 ` [PATCH v11 06/10] drm/i915/perf: implement active wait for noa configurations Lionel Landwerlin
2019-08-28 19:34 ` kbuild test robot
2019-08-28 19:39 ` Chris Wilson
2019-08-29 6:43 ` Lionel Landwerlin
2019-08-28 20:00 ` kbuild test robot
2019-08-28 14:33 ` [PATCH v11 07/10] drm/i915: add a new perf configuration execbuf parameter Lionel Landwerlin
2019-08-28 14:33 ` [PATCH v11 08/10] drm/i915/perf: allow holding preemption on filtered ctx Lionel Landwerlin
2019-08-28 14:33 ` [PATCH v11 09/10] drm/i915/perf: execute OA configuration from command stream Lionel Landwerlin
2019-08-28 19:41 ` Chris Wilson
2019-08-29 6:45 ` Lionel Landwerlin
2019-08-29 6:58 ` Lionel Landwerlin
2019-08-28 14:33 ` [PATCH v11 10/10] drm/i915: add support for perf configuration queries Lionel Landwerlin
2019-08-28 15:58 ` ✗ Fi.CI.BUILD: failure for drm/i915: Vulkan performance query support (rev11) Patchwork
2019-08-29 5:34 ` ✗ Fi.CI.BAT: failure for drm/i915: Vulkan performance query support (rev12) 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=201908290922.M1elj56V%lkp@intel.com \
--to=lkp@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=kbuild-all@01.org \
--cc=lionel.g.landwerlin@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox