Hi Matt,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on drm-tip/drm-tip next-20210722]
[cannot apply to v5.14-rc2]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Matt-Roper/ADL-DDI-translation-b...
base:
git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-r036-20210723 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
9625ca5b602616b2f5584e8a49ba93c52c141e40)
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/68ee32b7d0fc372136f130d55cd937fc6...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Matt-Roper/ADL-DDI-translation-buffer-updates/20210723-133603
git checkout 68ee32b7d0fc372136f130d55cd937fc6b9bbbd9
# 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(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1756:1: error:
unused function 'adlp_get_combo_buf_trans' [-Werror,-Wunused-function]
adlp_get_combo_buf_trans(struct intel_encoder *encoder,
^
1 error generated.
vim +/adlp_get_combo_buf_trans +1756 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c
1754
1755 static const struct intel_ddi_buf_trans *
1756 adlp_get_combo_buf_trans(struct intel_encoder *encoder,
1757 const struct intel_crtc_state *crtc_state,
1758 int *n_entries)
1759 {
1760 if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI))
1761 return intel_get_buf_trans(&adlp_combo_phy_ddi_translations_hdmi,
n_entries);
1762 else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_EDP))
1763 return adlp_get_combo_buf_trans_edp(encoder, crtc_state, n_entries);
1764 else
1765 return adlp_get_combo_buf_trans_dp(encoder, crtc_state, n_entries);
1766 }
1767
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org