All of lore.kernel.org
 help / color / mirror / Atom feed
* [shenki:aspeed-6.9-rebase 950/1143] drivers/gpu/drm/ast/ast_post.c:351:28: error: 'AST_IO_MISC_PORT_WRITE' undeclared
@ 2024-05-03 13:52 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-05-03 13:52 UTC (permalink / raw)
  To: Joel Stanley; +Cc: oe-kbuild-all

tree:   https://github.com/shenki/linux aspeed-6.9-rebase
head:   9bdcee91eb5d9149678acb9d066e9dafbd026721
commit: 12af9e35efffa226dc9ced8d18b00a6c88d1c1d2 [950/1143] drm/ast: Fix boot-up hang if no vbios
config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20240503/202405032117.YBWW5bWI-lkp@intel.com/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240503/202405032117.YBWW5bWI-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405032117.YBWW5bWI-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/gpu/drm/ast/ast_post.c: In function 'ast_post_gpu':
>> drivers/gpu/drm/ast/ast_post.c:351:28: error: 'AST_IO_MISC_PORT_WRITE' undeclared (first use in this function)
     351 |         ast_io_write8(ast, AST_IO_MISC_PORT_WRITE, 0x0b);
         |                            ^~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/ast/ast_post.c:351:28: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/gpu/drm/ast/ast_post.c:352:32: error: 'AST_IO_GR_PORT' undeclared (first use in this function)
     352 |         ast_set_index_reg(ast, AST_IO_GR_PORT, 6, 0x05);
         |                                ^~~~~~~~~~~~~~


vim +/AST_IO_MISC_PORT_WRITE +351 drivers/gpu/drm/ast/ast_post.c

   345	
   346	void ast_post_gpu(struct drm_device *dev)
   347	{
   348		struct ast_device *ast = to_ast_device(dev);
   349	
   350		ast_set_def_ext_reg(dev);
 > 351		ast_io_write8(ast, AST_IO_MISC_PORT_WRITE, 0x0b);
 > 352		ast_set_index_reg(ast, AST_IO_GR_PORT, 6, 0x05);
   353	
   354		if (IS_AST_GEN7(ast)) {
   355			if (ast->tx_chip_types & AST_TX_ASTDP_BIT)
   356				ast_dp_launch(dev);
   357		} else if (ast->config_mode == ast_use_p2a) {
   358			if (IS_AST_GEN6(ast))
   359				ast_post_chip_2500(dev);
   360			else if (IS_AST_GEN5(ast) || IS_AST_GEN4(ast))
   361				ast_post_chip_2300(dev);
   362			else
   363				ast_init_dram_reg(dev);
   364	
   365			ast_init_3rdtx(dev);
   366		} else {
   367			if (ast->tx_chip_types & AST_TX_SIL164_BIT)
   368				ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xa3, 0xcf, 0x80);	/* Enable DVO */
   369		}
   370	}
   371	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-03 13:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-03 13:52 [shenki:aspeed-6.9-rebase 950/1143] drivers/gpu/drm/ast/ast_post.c:351:28: error: 'AST_IO_MISC_PORT_WRITE' undeclared kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.