tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 9f925874281f7e8855855d6210d6e29d844e4307 commit: 6354b0dc3a7a3b384e9d0eeb81fd0463b57b76a5 [3753/4223] drm/amd/display: Trigger DIO FIFO resync on commit streams config: ia64-randconfig-r026-20230522 compiler: ia64-linux-gcc (GCC) 12.1.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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=6354b0dc3a7a3b384e9d0eeb81fd0463b57b76a5 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 6354b0dc3a7a3b384e9d0eeb81fd0463b57b76a5 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/gpu/drm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202305231949.2mkdgZPN-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c: In function 'dce110_apply_ctx_to_hw': >> drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:2295:31: error: 'struct hwseq_private_funcs' has no member named 'resync_fifo_dccg_dio' 2295 | if (hws->funcs.resync_fifo_dccg_dio) | ^ drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:2296:35: error: 'struct hwseq_private_funcs' has no member named 'resync_fifo_dccg_dio' 2296 | hws->funcs.resync_fifo_dccg_dio(hws, dc, context); | ^ vim +2295 drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c 2217 2218 enum dc_status dce110_apply_ctx_to_hw( 2219 struct dc *dc, 2220 struct dc_state *context) 2221 { 2222 struct dce_hwseq *hws = dc->hwseq; 2223 struct dc_bios *dcb = dc->ctx->dc_bios; 2224 enum dc_status status; 2225 int i; 2226 2227 /* reset syncd pipes from disabled pipes */ 2228 if (dc->config.use_pipe_ctx_sync_logic) 2229 reset_syncd_pipes_from_disabled_pipes(dc, context); 2230 2231 /* Reset old context */ 2232 /* look up the targets that have been removed since last commit */ 2233 hws->funcs.reset_hw_ctx_wrap(dc, context); 2234 2235 /* Skip applying if no targets */ 2236 if (context->stream_count <= 0) 2237 return DC_OK; 2238 2239 /* Apply new context */ 2240 dcb->funcs->set_scratch_critical_state(dcb, true); 2241 2242 /* below is for real asic only */ 2243 for (i = 0; i < dc->res_pool->pipe_count; i++) { 2244 struct pipe_ctx *pipe_ctx_old = 2245 &dc->current_state->res_ctx.pipe_ctx[i]; 2246 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; 2247 2248 if (pipe_ctx->stream == NULL || pipe_ctx->top_pipe) 2249 continue; 2250 2251 if (pipe_ctx->stream == pipe_ctx_old->stream) { 2252 if (pipe_ctx_old->clock_source != pipe_ctx->clock_source) 2253 dce_crtc_switch_to_clk_src(dc->hwseq, 2254 pipe_ctx->clock_source, i); 2255 continue; 2256 } 2257 2258 hws->funcs.enable_display_power_gating( 2259 dc, i, dc->ctx->dc_bios, 2260 PIPE_GATING_CONTROL_DISABLE); 2261 } 2262 2263 if (dc->fbc_compressor) 2264 dc->fbc_compressor->funcs->disable_fbc(dc->fbc_compressor); 2265 2266 dce110_setup_audio_dto(dc, context); 2267 2268 for (i = 0; i < dc->res_pool->pipe_count; i++) { 2269 struct pipe_ctx *pipe_ctx_old = 2270 &dc->current_state->res_ctx.pipe_ctx[i]; 2271 struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i]; 2272 2273 if (pipe_ctx->stream == NULL) 2274 continue; 2275 2276 if (pipe_ctx->stream == pipe_ctx_old->stream && 2277 pipe_ctx->stream->link->link_state_valid) { 2278 continue; 2279 } 2280 2281 if (pipe_ctx_old->stream && !pipe_need_reprogram(pipe_ctx_old, pipe_ctx)) 2282 continue; 2283 2284 if (pipe_ctx->top_pipe || pipe_ctx->prev_odm_pipe) 2285 continue; 2286 2287 status = apply_single_controller_ctx_to_hw( 2288 pipe_ctx, 2289 context, 2290 dc); 2291 2292 if (DC_OK != status) 2293 return status; 2294 > 2295 if (hws->funcs.resync_fifo_dccg_dio) 2296 hws->funcs.resync_fifo_dccg_dio(hws, dc, context); 2297 } 2298 2299 if (dc->fbc_compressor) 2300 enable_fbc(dc, dc->current_state); 2301 2302 dcb->funcs->set_scratch_critical_state(dcb, false); 2303 2304 return DC_OK; 2305 } 2306 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki