[Intel-gfx] [PATCH v7 3/6] drm/i915/huc: Add HuC fw loading support
kbuild test robot
lkp at intel.com
Fri Sep 2 09:14:29 UTC 2016
Hi Peter,
[auto build test WARNING on next-20160825]
[cannot apply to drm-intel/for-linux-next v4.8-rc4 v4.8-rc3 v4.8-rc2 v4.8-rc4]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url: https://github.com/0day-ci/linux/commits/Peter-Antoine/HuC-Loading-Patches/20160902-161205
config: i386-randconfig-s1-201635 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
drivers/gpu/drm/i915/intel_huc_loader.c: In function 'intel_huc_fini':
>> drivers/gpu/drm/i915/intel_huc_loader.c:263:3: warning: 'drm_gem_object_unreference' is deprecated [-Wdeprecated-declarations]
drm_gem_object_unreference(&huc_fw->uc_fw_obj->base);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/intel_huc_loader.c:25:0:
drivers/gpu/drm/i915/i915_drv.h:2307:13: note: declared here
extern void drm_gem_object_unreference(struct drm_gem_object *);
^~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/drm_gem_object_unreference +263 drivers/gpu/drm/i915/intel_huc_loader.c
247 return err;
248 }
249
250 /**
251 * intel_huc_fini() - clean up resources allocated for HuC
252 * @dev: the drm device
253 *
254 * Cleans up by releasing the huc firmware GEM obj.
255 */
256 void intel_huc_fini(struct drm_device *dev)
257 {
258 struct drm_i915_private *dev_priv = to_i915(dev);
259 struct intel_uc_fw *huc_fw = &dev_priv->huc.huc_fw;
260
261 mutex_lock(&dev->struct_mutex);
262 if (huc_fw->uc_fw_obj)
> 263 drm_gem_object_unreference(&huc_fw->uc_fw_obj->base);
264 huc_fw->uc_fw_obj = NULL;
265 mutex_unlock(&dev->struct_mutex);
266
267 huc_fw->fetch_status = UC_FIRMWARE_NONE;
268 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 24975 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160902/703b6a70/attachment-0001.obj>
More information about the Intel-gfx
mailing list