[lkml]   [2022]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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]

base: 32346491ddf24599decca06190ebca03ff9de7f8
config: loongarch-randconfig-s052-20220715 (
compiler: loongarch64-linux-gcc (GCC) 12.1.0
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
git remote add linux-review
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
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=loongarch SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <>

sparse warnings: (new ones prefixed by >>)
drivers/gpu/drm/drm_connector.c: note: in included file:
>> include/drm/drm_edid.h:387:24: sparse: sparse: marked inline, but without a definition

vim +387 include/drm/drm_edid.h

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);
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

0-DAY CI Kernel Test Service

 \ /
  Last update: 2022-07-17 14:20    [W:0.069 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site