lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204081822.fgrKAt55-lkp@intel.com>
Date:   Fri, 8 Apr 2022 18:33:25 +0800
From:   kernel test robot <lkp@...el.com>
To:     Dave Stevenson <dave.stevenson@...pberrypi.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Dom Cobley <popcornmix@...il.com>
Subject: [l1k:smsc95xx_5.17 578/887]
 drivers/gpu/drm/panel/panel-sitronix-st7701.c:341:1: warning: the frame size
 of 2664 bytes is larger than 2048 bytes

tree:   https://github.com/l1k/linux smsc95xx_5.17
head:   05d68ced287b30f62f18f95b5476135ef669804a
commit: 72c355c6c7656888e6124c1356c3f68cb9cf5b35 [578/887] drm/panel/panel-sitronix-st7701: Support SPI config and RGB data
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20220408/202204081822.fgrKAt55-lkp@intel.com/config)
compiler: powerpc-linux-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
        # https://github.com/l1k/linux/commit/72c355c6c7656888e6124c1356c3f68cb9cf5b35
        git remote add l1k https://github.com/l1k/linux
        git fetch --no-tags l1k smsc95xx_5.17
        git checkout 72c355c6c7656888e6124c1356c3f68cb9cf5b35
        # 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=powerpc SHELL=/bin/bash drivers/gpu/drm/panel/

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

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/panel/panel-sitronix-st7701.c: In function 'txw210001b0_init_sequence':
>> drivers/gpu/drm/panel/panel-sitronix-st7701.c:341:1: warning: the frame size of 2664 bytes is larger than 2048 bytes [-Wframe-larger-than=]
     341 | }
         | ^


vim +341 drivers/gpu/drm/panel/panel-sitronix-st7701.c

   237	
   238	static void txw210001b0_init_sequence(struct st7701 *st7701)
   239	{
   240		ST7701_SPI(st7701, MIPI_DCS_SOFT_RESET);
   241	
   242		usleep_range(5000, 7000);
   243	
   244		ST7701_SPI(st7701, DSI_CMD2BKX_SEL,
   245			   0x177, 0x101, 0x100, 0x100, SPI_CMD2BK0_SEL);
   246	
   247		ST7701_SPI(st7701, DSI_CMD2_BK0_LNESET, 0x13B, 0x100);
   248	
   249		ST7701_SPI(st7701, DSI_CMD2_BK0_PORCTRL, 0x10B, 0x102);
   250	
   251		ST7701_SPI(st7701, DSI_CMD2_BK0_INVSEL, 0x100, 0x102);
   252	
   253		ST7701_SPI(st7701, 0xCC, 0x110);
   254	
   255		/*
   256		 * Gamma option B:
   257		 * Positive Voltage Gamma Control
   258		 */
   259		ST7701_SPI(st7701, DSI_CMD2_BK0_PVGAMCTRL,
   260			   0x102, 0x113, 0x11B, 0x10D, 0x110, 0x105, 0x108, 0x107,
   261			   0x107, 0x124, 0x104, 0x111, 0x10E, 0x12C, 0x133, 0x11D);
   262	
   263		/* Negative Voltage Gamma Control */
   264		ST7701_SPI(st7701, DSI_CMD2_BK0_NVGAMCTRL,
   265			   0x105, 0x113, 0x11B, 0x10D, 0x111, 0x105, 0x108, 0x107,
   266			   0x107, 0x124, 0x104, 0x111, 0x10E, 0x12C, 0x133, 0x11D);
   267	
   268		ST7701_SPI(st7701, DSI_CMD2BKX_SEL,
   269			   0x177, 0x101, 0x100, 0x100, SPI_CMD2BK1_SEL);
   270	
   271		ST7701_SPI(st7701, DSI_CMD2_BK1_VRHS, 0x15D);
   272	
   273		ST7701_SPI(st7701, DSI_CMD2_BK1_VCOM, 0x143);
   274	
   275		ST7701_SPI(st7701, DSI_CMD2_BK1_VGHSS, 0x181);
   276	
   277		ST7701_SPI(st7701, DSI_CMD2_BK1_TESTCMD, 0x180);
   278	
   279		ST7701_SPI(st7701, DSI_CMD2_BK1_VGLS, 0x143);
   280	
   281		ST7701_SPI(st7701, DSI_CMD2_BK1_PWCTLR1, 0x185);
   282	
   283		ST7701_SPI(st7701, DSI_CMD2_BK1_PWCTLR2, 0x120);
   284	
   285		ST7701_SPI(st7701, DSI_CMD2_BK1_SPD1, 0x178);
   286	
   287		ST7701_SPI(st7701, DSI_CMD2_BK1_SPD2, 0x178);
   288	
   289		ST7701_SPI(st7701, DSI_CMD2_BK1_MIPISET1, 0x188);
   290	
   291		ST7701_SPI(st7701, 0xE0, 0x100, 0x100, 0x102);
   292	
   293		ST7701_SPI(st7701, 0xE1,
   294			   0x103, 0x1A0, 0x100, 0x100, 0x104, 0x1A0, 0x100, 0x100,
   295			   0x100, 0x120, 0x120);
   296	
   297		ST7701_SPI(st7701, 0xE2,
   298			   0x100, 0x100, 0x100, 0x100, 0x100, 0x100, 0x100, 0x100,
   299			   0x100, 0x100, 0x100, 0x100, 0x100);
   300	
   301		ST7701_SPI(st7701, 0xE3, 0x100, 0x100, 0x111, 0x100);
   302	
   303		ST7701_SPI(st7701, 0xE4, 0x122, 0x100);
   304	
   305		ST7701_SPI(st7701, 0xE5,
   306			   0x105, 0x1EC, 0x1A0, 0x1A0, 0x107, 0x1EE, 0x1A0, 0x1A0,
   307			   0x100, 0x100, 0x100, 0x100, 0x100, 0x100, 0x100, 0x100);
   308	
   309		ST7701_SPI(st7701, 0xE6, 0x100, 0x100, 0x111, 0x100);
   310	
   311		ST7701_SPI(st7701, 0xE7, 0x122, 0x100);
   312	
   313		ST7701_SPI(st7701, 0xE8,
   314			   0x106, 0x1ED, 0x1A0, 0x1A0, 0x108, 0x1EF, 0x1A0, 0x1A0,
   315			   0x100, 0x100, 0x100, 0x100, 0x100, 0x100, 0x100, 0x100);
   316	
   317		ST7701_SPI(st7701, 0xEB,
   318			   0x100, 0x100, 0x140, 0x140, 0x100, 0x100, 0x100);
   319	
   320		ST7701_SPI(st7701, 0xED,
   321			   0x1FF, 0x1FF, 0x1FF, 0x1BA, 0x10A, 0x1BF, 0x145, 0x1FF,
   322			   0x1FF, 0x154, 0x1FB, 0x1A0, 0x1AB, 0x1FF, 0x1FF, 0x1FF);
   323	
   324		ST7701_SPI(st7701, 0xEF, 0x110, 0x10D, 0x104, 0x108, 0x13F, 0x11F);
   325	
   326		ST7701_SPI(st7701, DSI_CMD2BKX_SEL,
   327			   0x177, 0x101, 0x100, 0x100, SPI_CMD2BK3_SEL);
   328	
   329		ST7701_SPI(st7701, 0xEF, 0x108);
   330	
   331		ST7701_SPI(st7701, DSI_CMD2BKX_SEL,
   332			   0x177, 0x101, 0x100, 0x100, SPI_CMD2BKX_SEL_NONE);
   333	
   334		ST7701_SPI(st7701, 0xCD, 0x108);  /* RGB format COLCTRL */
   335	
   336		ST7701_SPI(st7701, 0x36, 0x108); /* MadCtl */
   337	
   338		ST7701_SPI(st7701, 0x3A, 0x166);  /* Colmod */
   339	
   340		ST7701_SPI(st7701, MIPI_DCS_EXIT_SLEEP_MODE);
 > 341	}
   342	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ