tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
pending-5.10
head: b2dc84ee261d4651c10723b81720792ff6db40fb
commit: 1f621b79eec3b97b8577c30a8b5311d8a3a74967 [331/598] drm/vc4: crtc: Pass the
drm_atomic_state to config_pv
config: nios2-allyesconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.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/sashal/linux-stable.git/c...
git remote add sashal-linux-stable
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable pending-5.10
git checkout 1f621b79eec3b97b8577c30a8b5311d8a3a74967
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir
ARCH=nios2 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/vc4/vc4_crtc.c: In function 'vc4_crtc_atomic_enable':
> drivers/gpu/drm/vc4/vc4_crtc.c:538:27: error: 'state'
undeclared (first use in this function); did you mean 'statx'?
538 |
vc4_crtc_config_pv(crtc, state);
| ^~~~~
| statx
drivers/gpu/drm/vc4/vc4_crtc.c:538:27: note: each undeclared identifier is reported
only once for each function it appears in
vim +538 drivers/gpu/drm/vc4/vc4_crtc.c
517
518 static void vc4_crtc_atomic_enable(struct drm_crtc *crtc,
519 struct drm_crtc_state *old_state)
520 {
521 struct drm_device *dev = crtc->dev;
522 struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc);
523 struct drm_encoder *encoder = vc4_get_crtc_encoder(crtc);
524 struct vc4_encoder *vc4_encoder = to_vc4_encoder(encoder);
525
526 require_hvs_enabled(dev);
527
528 /* Enable vblank irq handling before crtc is started otherwise
529 * drm_crtc_get_vblank() fails in vc4_crtc_update_dlist().
530 */
531 drm_crtc_vblank_on(crtc);
532
533 vc4_hvs_atomic_enable(crtc, old_state);
534
535 if (vc4_encoder->pre_crtc_configure)
536 vc4_encoder->pre_crtc_configure(encoder);
537
538 vc4_crtc_config_pv(crtc, state);
539
540 CRTC_WRITE(PV_CONTROL, CRTC_READ(PV_CONTROL) | PV_CONTROL_EN);
541
542 if (vc4_encoder->pre_crtc_enable)
543 vc4_encoder->pre_crtc_enable(encoder);
544
545 /* When feeding the transposer block the pixelvalve is unneeded and
546 * should not be enabled.
547 */
548 CRTC_WRITE(PV_V_CONTROL,
549 CRTC_READ(PV_V_CONTROL) | PV_VCONTROL_VIDEN);
550
551 if (vc4_encoder->post_crtc_enable)
552 vc4_encoder->post_crtc_enable(encoder);
553 }
554
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org