Hi Jammy, kernel test robot noticed the following build errors: [auto build test ERROR on 4bbf9020becbfd8fc2c3da790855b7042fad455b] url: https://github.com/intel-lab-lkp/linux/commits/Jammy-Huang/drm-ast-Support-timings-1280x720-1280x960-1600x900/20241223-161735 base: 4bbf9020becbfd8fc2c3da790855b7042fad455b patch link: https://lore.kernel.org/r/20241223081044.4139167-1-jammy_huang%40aspeedtech.com patch subject: [PATCH] drm/ast: Support timings, 1280x720/1280x960/1600x900 config: arm-randconfig-001-20241223 (https://download.01.org/0day-ci/archive/20241223/202412231944.9FPgx42u-lkp@xxxxxxxxx/config) compiler: arm-linux-gnueabi-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241223/202412231944.9FPgx42u-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202412231944.9FPgx42u-lkp@xxxxxxxxx/ All error/warnings (new ones prefixed by >>): drivers/gpu/drm/ast/ast_mode.c: In function 'ast_set_dclk_reg': >> drivers/gpu/drm/ast/ast_mode.c:481:45: error: 'AST_IO_SEQ_PORT' undeclared (first use in this function) 481 | ast_set_index_reg_mask(ast, AST_IO_SEQ_PORT, 0x01, 0xff, 0x08); | ^~~~~~~~~~~~~~~ drivers/gpu/drm/ast/ast_mode.c:481:45: note: each undeclared identifier is reported only once for each function it appears in In file included from drivers/gpu/drm/ast/ast_mode.c:49: drivers/gpu/drm/ast/ast_tables.h: At top level: >> drivers/gpu/drm/ast/ast_tables.h:290:40: warning: 'res_1280x720' defined but not used [-Wunused-const-variable=] 290 | static const struct ast_vbios_enhtable res_1280x720[] = { | ^~~~~~~~~~~~ drivers/gpu/drm/ast/ast_tables.h:257:40: warning: 'res_1280x960' defined but not used [-Wunused-const-variable=] 257 | static const struct ast_vbios_enhtable res_1280x960[] = { | ^~~~~~~~~~~~ vim +/AST_IO_SEQ_PORT +481 drivers/gpu/drm/ast/ast_mode.c 461 462 static void ast_set_dclk_reg(struct ast_device *ast, 463 struct drm_display_mode *mode, 464 struct ast_vbios_mode_info *vbios_mode) 465 { 466 const struct ast_vbios_dclk_info *clk_info; 467 468 if (IS_AST_GEN6(ast) || IS_AST_GEN7(ast)) 469 clk_info = &dclk_table_ast2500[vbios_mode->enh_table->dclk_index]; 470 else 471 clk_info = &dclk_table[vbios_mode->enh_table->dclk_index]; 472 473 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xc0, 0x00, clk_info->param1); 474 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xc1, 0x00, clk_info->param2); 475 ast_set_index_reg_mask(ast, AST_IO_VGACRI, 0xbb, 0x0f, 476 (clk_info->param3 & 0xc0) | 477 ((clk_info->param3 & 0x3) << 4)); 478 479 /* Set SEQ; Half dclk for this timing */ 480 if (vbios_mode->enh_table->flags & HalfDCLK) > 481 ast_set_index_reg_mask(ast, AST_IO_SEQ_PORT, 0x01, 0xff, 0x08); 482 else 483 ast_set_index_reg_mask(ast, AST_IO_SEQ_PORT, 0x01, 0xf7, 0x00); 484 } 485 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki