lkml.org 
[lkml]   [2022]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[drm-misc:drm-misc-next 3/4] drivers/gpu/drm/sprd/sprd_drm.c:46:25: error: 'struct drm_mode_config' has no member named 'allow_fb_modifiers'
tree:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head: d80976d9ffd9d7f89a26134a299b236910477f3b
commit: 3d082157a24216ca084082ce421a37d14ecfcfad [3/4] drm: remove allow_fb_modifiers
config: arc-randconfig-r043-20220130 (https://download.01.org/0day-ci/archive/20220201/202202010923.1fCku8oB-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add drm-misc git://anongit.freedesktop.org/drm/drm-misc
git fetch --no-tags drm-misc drm-misc-next
git checkout 3d082157a24216ca084082ce421a37d14ecfcfad
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash drivers/gpu/drm/sprd/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

drivers/gpu/drm/sprd/sprd_drm.c: In function 'sprd_drm_mode_config_init':
>> drivers/gpu/drm/sprd/sprd_drm.c:46:25: error: 'struct drm_mode_config' has no member named 'allow_fb_modifiers'
46 | drm->mode_config.allow_fb_modifiers = true;
| ^


vim +46 drivers/gpu/drm/sprd/sprd_drm.c

43531edd53f07c Kevin Tang 2021-12-07 39
43531edd53f07c Kevin Tang 2021-12-07 40 static void sprd_drm_mode_config_init(struct drm_device *drm)
43531edd53f07c Kevin Tang 2021-12-07 41 {
43531edd53f07c Kevin Tang 2021-12-07 42 drm->mode_config.min_width = 0;
43531edd53f07c Kevin Tang 2021-12-07 43 drm->mode_config.min_height = 0;
43531edd53f07c Kevin Tang 2021-12-07 44 drm->mode_config.max_width = 8192;
43531edd53f07c Kevin Tang 2021-12-07 45 drm->mode_config.max_height = 8192;
43531edd53f07c Kevin Tang 2021-12-07 @46 drm->mode_config.allow_fb_modifiers = true;
43531edd53f07c Kevin Tang 2021-12-07 47
43531edd53f07c Kevin Tang 2021-12-07 48 drm->mode_config.funcs = &sprd_drm_mode_config_funcs;
43531edd53f07c Kevin Tang 2021-12-07 49 drm->mode_config.helper_private = &sprd_drm_mode_config_helper;
43531edd53f07c Kevin Tang 2021-12-07 50 }
43531edd53f07c Kevin Tang 2021-12-07 51

:::::: The code at line 46 was first introduced by commit
:::::: 43531edd53f07cbe977a0b33dea6dd6c29b21fea drm/sprd: add Unisoc's drm kms master

:::::: TO: Kevin Tang <kevin3.tang@gmail.com>
:::::: CC: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

\
 
 \ /
  Last update: 2022-02-01 02:55    [W:0.025 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site