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: x86_64-randconfig-a004-20210711 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
8d69635ed9ecf36fd0ca85906bfde17949671cbe)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
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=clang make.cross O=build_dir ARCH=x86_64
SHELL=/bin/bash drivers/gpu/ drivers/iio/
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:538:27: error: use of undeclared
identifier 'state'; did you mean 'stac'?
vc4_crtc_config_pv(crtc, state);
^~~~~
stac
arch/x86/include/asm/smap.h:50:29: note: 'stac' declared here
static __always_inline void stac(void)
^
1 error generated.
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