tree:
https://github.com/0day-ci/linux/commits/UPDATE-20210430-201044/Anshuman-...
head: a7f8b1f478612f4e9e0be9df9e6f0ad2212d01e5
commit: a7f8b1f478612f4e9e0be9df9e6f0ad2212d01e5 drm/i915: lpsp with hdmi/dp outputs
date: 6 hours ago
config: x86_64-randconfig-r013-20210430 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
8f5a2a5836cc8e4c1def2bdeb022e7b496623439)
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://github.com/0day-ci/linux/commit/a7f8b1f478612f4e9e0be9df9e6f0ad22...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
UPDATE-20210430-201044/Anshuman-Gupta/drm-i915-lpsp-with-hdmi-dp-outputs/20200601-183050
git checkout a7f8b1f478612f4e9e0be9df9e6f0ad2212d01e5
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64
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/i915/display/intel_display.c:7361:7: error: implicit declaration of
function 'IS_DG1' [-Werror,-Wimplicit-function-declaration]
if (IS_DG1(dev_priv) || DISPLAY_VER(dev_priv) >= 11)
^
> drivers/gpu/drm/i915/display/intel_display.c:7361:27: error:
implicit declaration of function 'DISPLAY_VER'
[-Werror,-Wimplicit-function-declaration]
if (IS_DG1(dev_priv) ||
DISPLAY_VER(dev_priv) >= 11)
^
2 errors generated.
vim +/DISPLAY_VER +7361 drivers/gpu/drm/i915/display/intel_display.c
7333
7334 static u64 get_crtc_power_domains(struct intel_crtc_state *crtc_state)
7335 {
7336 struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
7337 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
7338 struct drm_encoder *encoder;
7339 enum pipe pipe = crtc->pipe;
7340 u64 mask;
7341 enum transcoder transcoder = crtc_state->cpu_transcoder;
7342
7343 if (!crtc_state->hw.active)
7344 return 0;
7345
7346 mask = BIT_ULL(POWER_DOMAIN_PIPE(pipe));
7347 mask |= BIT_ULL(POWER_DOMAIN_TRANSCODER(transcoder));
7348 if (crtc_state->pch_pfit.enabled ||
7349 crtc_state->pch_pfit.force_thru)
7350 mask |= BIT_ULL(POWER_DOMAIN_PIPE_PANEL_FITTER(pipe));
7351
7352 drm_for_each_encoder_mask(encoder, &dev_priv->drm,
7353 crtc_state->uapi.encoder_mask) {
7354 struct intel_encoder *intel_encoder = to_intel_encoder(encoder);
7355
7356 mask |= BIT_ULL(intel_encoder->power_domain);
7357 }
7358
7359 if (HAS_DDI(dev_priv) && crtc_state->has_audio) {
7360 /* if Audio mmio/verbs lies in PG0 */
7361 if (IS_DG1(dev_priv) || DISPLAY_VER(dev_priv) >= 11)
7362 mask |= BIT_ULL(POWER_DOMAIN_DISPLAY_CORE);
7363 else
7364 mask |= BIT_ULL(POWER_DOMAIN_AUDIO);
7365 }
7366
7367 if (crtc_state->shared_dpll)
7368 mask |= BIT_ULL(POWER_DOMAIN_DISPLAY_CORE);
7369
7370 return mask;
7371 }
7372
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org