[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202207170211.AaMpUwPs-lkp@intel.com>
Date: Sun, 17 Jul 2022 03:04:12 +0800
From: kernel test robot <lkp@...el.com>
To: Matthieu CHARETTE <matthieu.charette@...il.com>,
maarten.lankhorst@...ux.intel.com, mripard@...nel.org,
tzimmermann@...e.de, airlied@...ux.ie, daniel@...ll.ch,
andrealmeid@...lia.com
Cc: kbuild-all@...ts.01.org,
Matthieu CHARETTE <matthieu.charette@...il.com>,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH] drm: Fix EDID firmware load on resume
Hi Matthieu,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on v5.19-rc6]
[also build test WARNING on linus/master]
[cannot apply to drm-misc/drm-misc-next next-20220715]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Matthieu-CHARETTE/drm-Fix-EDID-firmware-load-on-resume/20220716-214028
base: 32346491ddf24599decca06190ebca03ff9de7f8
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220717/202207170211.AaMpUwPs-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/intel-lab-lkp/linux/commit/e583aaf4f6464add35f2350c728d80a3fe790638
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Matthieu-CHARETTE/drm-Fix-EDID-firmware-load-on-resume/20220716-214028
git checkout e583aaf4f6464add35f2350c728d80a3fe790638
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/drm_connector.c:25:
>> include/drm/drm_edid.h:387:1: warning: 'drm_cache_edid_firmware' used but never defined
387 | drm_cache_edid_firmware(struct drm_connector *connector);
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/drm_cache_edid_firmware +387 include/drm/drm_edid.h
374
375 int drm_edid_to_sad(const struct edid *edid, struct cea_sad **sads);
376 int drm_edid_to_speaker_allocation(const struct edid *edid, u8 **sadb);
377 int drm_av_sync_delay(struct drm_connector *connector,
378 const struct drm_display_mode *mode);
379
380 #ifdef CONFIG_DRM_LOAD_EDID_FIRMWARE
381 void drm_cache_edid_firmware(struct drm_connector *connector);
382 struct edid *drm_load_edid_firmware(struct drm_connector *connector);
383 int __drm_set_edid_firmware_path(const char *path);
384 int __drm_get_edid_firmware_path(char *buf, size_t bufsize);
385 #else
386 static inline void
> 387 drm_cache_edid_firmware(struct drm_connector *connector);
388 static inline struct edid *
389 drm_load_edid_firmware(struct drm_connector *connector)
390 {
391 return ERR_PTR(-ENOENT);
392 }
393 #endif
394
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists