From: kernel test robot <lkp@intel.com>
To: Jordan Justen <jordan.l.justen@intel.com>,
intel-gfx <intel-gfx@lists.freedesktop.org>
Cc: kbuild-all@lists.01.org,
dri-devel <dri-devel@lists.freedesktop.org>,
Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: Re: [Intel-gfx] [PATCH v6 1/4] drm/i915/guc: Add fetch of hwconfig table
Date: Sun, 27 Feb 2022 20:54:10 +0800 [thread overview]
Message-ID: <202202272041.Kr2QxFem-lkp@intel.com> (raw)
In-Reply-To: <20220227081831.1089720-2-jordan.l.justen@intel.com>
Hi Jordan,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on drm-tip/drm-tip drm-exynos/exynos-drm-next drm/drm-next tegra-drm/drm/tegra/for-next v5.17-rc5 next-20220225]
[cannot apply to airlied/drm-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Jordan-Justen/GuC-HWCONFIG-with-documentation/20220227-161945
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-a011 (https://download.01.org/0day-ci/archive/20220227/202202272041.Kr2QxFem-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/7a92eba9714ffe68202fee73b9916d35b0da2968
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jordan-Justen/GuC-HWCONFIG-with-documentation/20220227-161945
git checkout 7a92eba9714ffe68202fee73b9916d35b0da2968
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/i915/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c:110: warning: Function parameter or member 'gt' not described in 'guc_hwconfig_init'
>> drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c:110: warning: expecting prototype for intel_guc_hwconfig_init(). Prototype was for guc_hwconfig_init() instead
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c:143: warning: Function parameter or member 'gt' not described in 'intel_gt_init_hwconfig'
drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c:156: warning: Function parameter or member 'gt' not described in 'intel_gt_fini_hwconfig'
vim +110 drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c
102
103 /**
104 * intel_guc_hwconfig_init - Initialize the HWConfig
105 *
106 * Retrieve the HWConfig table from the GuC and save it locally.
107 * It can then be queried on demand by other users later on.
108 */
109 static int guc_hwconfig_init(struct intel_gt *gt)
> 110 {
111 struct intel_hwconfig *hwconfig = >->info.hwconfig;
112 struct intel_guc *guc = >->uc.guc;
113 int ret;
114
115 if (!has_table(gt->i915))
116 return 0;
117
118 ret = guc_hwconfig_discover_size(guc, hwconfig);
119 if (ret)
120 return ret;
121
122 hwconfig->ptr = kmalloc(hwconfig->size, GFP_KERNEL);
123 if (!hwconfig->ptr) {
124 hwconfig->size = 0;
125 return -ENOMEM;
126 }
127
128 ret = guc_hwconfig_fill_buffer(guc, hwconfig);
129 if (ret < 0) {
130 intel_gt_fini_hwconfig(gt);
131 return ret;
132 }
133
134 return 0;
135 }
136
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next prev parent reply other threads:[~2022-02-27 12:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-27 8:18 [Intel-gfx] [PATCH v6 0/4] GuC HWCONFIG with documentation Jordan Justen
2022-02-27 8:18 ` [Intel-gfx] [PATCH v6 1/4] drm/i915/guc: Add fetch of hwconfig table Jordan Justen
2022-02-27 11:22 ` kernel test robot
2022-02-27 12:54 ` kernel test robot [this message]
2022-02-27 8:18 ` [Intel-gfx] [PATCH v6 2/4] drm/i915/uapi: Add query for hwconfig blob Jordan Justen
2022-02-27 8:18 ` [Intel-gfx] [PATCH v6 3/4] drm/i915/uapi: Add struct drm_i915_query_hwconfig_blob_item Jordan Justen
2022-02-27 8:18 ` [Intel-gfx] [PATCH v6 4/4] drm/i915/guc: Verify hwconfig blob matches supported format Jordan Justen
2022-02-27 8:35 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for GuC HWCONFIG with documentation (rev7) Patchwork
2022-02-27 8:37 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2022-02-27 9:12 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-02-27 10:44 ` [Intel-gfx] ✓ Fi.CI.IGT: " 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=202202272041.Kr2QxFem-lkp@intel.com \
--to=lkp@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jordan.l.justen@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=rodrigo.vivi@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