[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202206172356.J5CB8zDf-lkp@intel.com>
Date: Sat, 18 Jun 2022 00:05:36 +0800
From: kernel test robot <lkp@...el.com>
To: Kuogee Hsieh <quic_khsieh@...cinc.com>,
dri-devel@...ts.freedesktop.org, robdclark@...il.com,
sean@...rly.run, swboyd@...omium.org, dianders@...omium.org,
vkoul@...nel.org, daniel@...ll.ch, airlied@...ux.ie,
agross@...nel.org, dmitry.baryshkov@...aro.org,
bjorn.andersson@...aro.org
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
quic_sbillaka@...cinc.com, linux-arm-msm@...r.kernel.org,
quic_abhinavk@...cinc.com, Kuogee Hsieh <quic_khsieh@...cinc.com>,
quic_aravindh@...cinc.com, freedreno@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v8 2/2] drm/msm/dp: clean up pixel_rate from dp_ctrl.c
Hi Kuogee,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on drm/drm-next]
[also build test WARNING on drm-exynos/exynos-drm-next]
[cannot apply to drm-intel/for-linux-next tegra-drm/drm/tegra/for-next airlied/drm-next]
[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/intel-lab-lkp/linux/commits/Kuogee-Hsieh/force-link-training-for-display-resolution-change/20220617-011110
base: git://anongit.freedesktop.org/drm/drm drm-next
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20220617/202206172356.J5CB8zDf-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project f0e608de27b3d568000046eebf3712ab542979d6)
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
# https://github.com/intel-lab-lkp/linux/commit/b04f0b39a03a9fc3728e9414157f9d5f0b8b2366
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Kuogee-Hsieh/force-link-training-for-display-resolution-change/20220617-011110
git checkout b04f0b39a03a9fc3728e9414157f9d5f0b8b2366
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/gpu/drm/msm/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/msm/dp/dp_ctrl.c:1587:5: warning: no previous prototype for function 'dp_ctrl_on_stream_phy_test_report' [-Wmissing-prototypes]
int dp_ctrl_on_stream_phy_test_report(struct dp_ctrl *dp_ctrl)
^
drivers/gpu/drm/msm/dp/dp_ctrl.c:1587:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int dp_ctrl_on_stream_phy_test_report(struct dp_ctrl *dp_ctrl)
^
static
1 warning generated.
vim +/dp_ctrl_on_stream_phy_test_report +1587 drivers/gpu/drm/msm/dp/dp_ctrl.c
1586
> 1587 int dp_ctrl_on_stream_phy_test_report(struct dp_ctrl *dp_ctrl)
1588 {
1589 int ret = 0;
1590 struct dp_ctrl_private *ctrl;
1591 unsigned long pixel_rate;
1592
1593 ctrl = container_of(dp_ctrl, struct dp_ctrl_private, dp_ctrl);
1594
1595 pixel_rate = ctrl->panel->dp_mode.drm_mode.clock;
1596 ret = dp_ctrl_enable_stream_clocks(ctrl, pixel_rate);
1597 if (ret) {
1598 DRM_ERROR("Failed to start pixel clocks. ret=%d\n", ret);
1599 return ret;
1600 }
1601
1602 dp_ctrl_send_phy_test_pattern(ctrl);
1603
1604 return 0;
1605 }
1606
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists