From: kernel test robot <lkp@intel.com>
To: Joel Stanley <joel@jms.id.au>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [shenki:aspeed-6.9-rebase 950/1143] drivers/gpu/drm/ast/ast_post.c:351:28: error: 'AST_IO_MISC_PORT_WRITE' undeclared
Date: Fri, 3 May 2024 21:52:01 +0800 [thread overview]
Message-ID: <202405032117.YBWW5bWI-lkp@intel.com> (raw)
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
reply other threads:[~2024-05-03 13:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202405032117.YBWW5bWI-lkp@intel.com \
--to=lkp@intel.com \
--cc=joel@jms.id.au \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.