lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202011020946.EEcHQbhm-lkp@intel.com>
Date:   Mon, 2 Nov 2020 09:19:50 +0800
From:   kernel test robot <lkp@...el.com>
To:     Kuogee Hsieh <khsieh@...eaurora.org>
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        linux-kernel@...r.kernel.org, Rob Clark <robdclark@...omium.org>
Subject: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1229:7: error: implicit
 declaration of function 'msm_dp_display_pre_disable'

Hi Kuogee,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   3cea11cd5e3b00d91caf0b4730194039b45c5891
commit: 8ede2ecc3e5ee327923f6e3cfe52761ce73607d1 drm/msm/dp: Add DP compliance tests on Snapdragon Chipsets
date:   7 weeks ago
config: arm64-randconfig-r022-20201101 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 235dfcf70abca65dba5d80f1a42d1485bab8980c)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8ede2ecc3e5ee327923f6e3cfe52761ce73607d1
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 8ede2ecc3e5ee327923f6e3cfe52761ce73607d1
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1229:7: error: implicit declaration of function 'msm_dp_display_pre_disable' [-Werror,-Wimplicit-function-declaration]
                   if (msm_dp_display_pre_disable(priv->dp, drm_enc))
                       ^
   drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:1229:7: note: did you mean 'msm_dp_display_disable'?
   drivers/gpu/drm/msm/msm_drv.h:420:19: note: 'msm_dp_display_disable' declared here
   static inline int msm_dp_display_disable(struct msm_dp *dp,
                     ^
   1 error generated.

vim +/msm_dp_display_pre_disable +1229 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c

  1198	
  1199	static void dpu_encoder_virt_disable(struct drm_encoder *drm_enc)
  1200	{
  1201		struct dpu_encoder_virt *dpu_enc = NULL;
  1202		struct msm_drm_private *priv;
  1203		struct dpu_kms *dpu_kms;
  1204		int i = 0;
  1205	
  1206		if (!drm_enc) {
  1207			DPU_ERROR("invalid encoder\n");
  1208			return;
  1209		} else if (!drm_enc->dev) {
  1210			DPU_ERROR("invalid dev\n");
  1211			return;
  1212		}
  1213	
  1214		dpu_enc = to_dpu_encoder_virt(drm_enc);
  1215		DPU_DEBUG_ENC(dpu_enc, "\n");
  1216	
  1217		mutex_lock(&dpu_enc->enc_lock);
  1218		dpu_enc->enabled = false;
  1219	
  1220		priv = drm_enc->dev->dev_private;
  1221		dpu_kms = to_dpu_kms(priv->kms);
  1222	
  1223		trace_dpu_enc_disable(DRMID(drm_enc));
  1224	
  1225		/* wait for idle */
  1226		dpu_encoder_wait_for_event(drm_enc, MSM_ENC_TX_COMPLETE);
  1227	
  1228		if (drm_enc->encoder_type == DRM_MODE_ENCODER_TMDS && priv->dp) {
> 1229			if (msm_dp_display_pre_disable(priv->dp, drm_enc))
  1230				DPU_ERROR_ENC(dpu_enc, "dp display push idle failed\n");
  1231		}
  1232	
  1233		dpu_encoder_resource_control(drm_enc, DPU_ENC_RC_EVENT_PRE_STOP);
  1234	
  1235		for (i = 0; i < dpu_enc->num_phys_encs; i++) {
  1236			struct dpu_encoder_phys *phys = dpu_enc->phys_encs[i];
  1237	
  1238			if (phys->ops.disable)
  1239				phys->ops.disable(phys);
  1240		}
  1241	
  1242	
  1243		/* after phys waits for frame-done, should be no more frames pending */
  1244		if (atomic_xchg(&dpu_enc->frame_done_timeout_ms, 0)) {
  1245			DPU_ERROR("enc%d timeout pending\n", drm_enc->base.id);
  1246			del_timer_sync(&dpu_enc->frame_done_timer);
  1247		}
  1248	
  1249		dpu_encoder_resource_control(drm_enc, DPU_ENC_RC_EVENT_STOP);
  1250	
  1251		for (i = 0; i < dpu_enc->num_phys_encs; i++) {
  1252			dpu_enc->phys_encs[i]->connector = NULL;
  1253		}
  1254	
  1255		DPU_DEBUG_ENC(dpu_enc, "encoder disabled\n");
  1256	
  1257		if (drm_enc->encoder_type == DRM_MODE_ENCODER_TMDS && priv->dp) {
  1258			if (msm_dp_display_disable(priv->dp, drm_enc))
  1259				DPU_ERROR_ENC(dpu_enc, "dp display disable failed\n");
  1260		}
  1261	
  1262		mutex_unlock(&dpu_enc->enc_lock);
  1263	}
  1264	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (35061 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ