* [sashal-linux-stable:queue-5.4 82/132] drivers/gpu/drm/i915/display/intel_ddi.c:3559:2: error: implicit declaration of function 'intel_ddi_power_up_lanes'
@ 2021-03-20 9:33 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-20 9:33 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 4254 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.4
head: d2c5af89e80c5b71f1da59879464a930947306a2
commit: 6e9866706daac7dd4f69905954f8a662d7b173dd [82/132] drm/i915: Power up combo PHY lanes for for HDMI as well
config: x86_64-randconfig-a005-20210318 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 436c6c9c20cc522c92a923440a5fc509c342a7db)
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/commit/?id=6e9866706daac7dd4f69905954f8a662d7b173dd
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 queue-5.4
git checkout 6e9866706daac7dd4f69905954f8a662d7b173dd
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/i915/display/intel_ddi.c:3559:2: error: implicit declaration of function 'intel_ddi_power_up_lanes' [-Werror,-Wimplicit-function-declaration]
intel_ddi_power_up_lanes(encoder, crtc_state);
^
1 error generated.
vim +/intel_ddi_power_up_lanes +3559 drivers/gpu/drm/i915/display/intel_ddi.c
3508
3509 static void intel_enable_ddi_hdmi(struct intel_encoder *encoder,
3510 const struct intel_crtc_state *crtc_state,
3511 const struct drm_connector_state *conn_state)
3512 {
3513 struct drm_i915_private *dev_priv = to_i915(encoder->base.dev);
3514 struct intel_digital_port *dig_port = enc_to_dig_port(&encoder->base);
3515 struct drm_connector *connector = conn_state->connector;
3516 enum port port = encoder->port;
3517
3518 if (!intel_hdmi_handle_sink_scrambling(encoder, connector,
3519 crtc_state->hdmi_high_tmds_clock_ratio,
3520 crtc_state->hdmi_scrambling))
3521 DRM_ERROR("[CONNECTOR:%d:%s] Failed to configure sink scrambling/TMDS bit clock ratio\n",
3522 connector->base.id, connector->name);
3523
3524 /* Display WA #1143: skl,kbl,cfl */
3525 if (IS_GEN9_BC(dev_priv)) {
3526 /*
3527 * For some reason these chicken bits have been
3528 * stuffed into a transcoder register, event though
3529 * the bits affect a specific DDI port rather than
3530 * a specific transcoder.
3531 */
3532 i915_reg_t reg = gen9_chicken_trans_reg_by_port(dev_priv, port);
3533 u32 val;
3534
3535 val = I915_READ(reg);
3536
3537 if (port == PORT_E)
3538 val |= DDIE_TRAINING_OVERRIDE_ENABLE |
3539 DDIE_TRAINING_OVERRIDE_VALUE;
3540 else
3541 val |= DDI_TRAINING_OVERRIDE_ENABLE |
3542 DDI_TRAINING_OVERRIDE_VALUE;
3543
3544 I915_WRITE(reg, val);
3545 POSTING_READ(reg);
3546
3547 udelay(1);
3548
3549 if (port == PORT_E)
3550 val &= ~(DDIE_TRAINING_OVERRIDE_ENABLE |
3551 DDIE_TRAINING_OVERRIDE_VALUE);
3552 else
3553 val &= ~(DDI_TRAINING_OVERRIDE_ENABLE |
3554 DDI_TRAINING_OVERRIDE_VALUE);
3555
3556 I915_WRITE(reg, val);
3557 }
3558
> 3559 intel_ddi_power_up_lanes(encoder, crtc_state);
3560
3561 /* In HDMI/DVI mode, the port width, and swing/emphasis values
3562 * are ignored so nothing special needs to be done besides
3563 * enabling the port.
3564 */
3565 I915_WRITE(DDI_BUF_CTL(port),
3566 dig_port->saved_port_bits | DDI_BUF_CTL_ENABLE);
3567
3568 if (crtc_state->has_audio)
3569 intel_audio_codec_enable(encoder, crtc_state, conn_state);
3570 }
3571
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34658 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-20 9:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-20 9:33 [sashal-linux-stable:queue-5.4 82/132] drivers/gpu/drm/i915/display/intel_ddi.c:3559:2: error: implicit declaration of function 'intel_ddi_power_up_lanes' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.