From: kernel test robot <lkp@intel.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
Rob Clark <robdclark@gmail.com>, Sean Paul <sean@poorly.run>,
Abhinav Kumar <quic_abhinavk@quicinc.com>
Cc: kbuild-all@lists.01.org, David Airlie <airlied@linux.ie>,
linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Stephen Boyd <swboyd@chromium.org>,
freedreno@lists.freedesktop.org
Subject: Re: [PATCH] drm/msm/dsi: switch to DRM_PANEL_BRIDGE
Date: Thu, 7 Jul 2022 08:50:11 +0800 [thread overview]
Message-ID: <202207070852.WWBrOFY1-lkp@intel.com> (raw)
In-Reply-To: <20220706200237.2118303-1-dmitry.baryshkov@linaro.org>
Hi Dmitry,
I love your patch! Yet something to improve:
[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on linus/master v5.19-rc5 next-20220706]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-msm-dsi-switch-to-DRM_PANEL_BRIDGE/20220707-040414
base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
config: arc-randconfig-r043-20220706 (https://download.01.org/0day-ci/archive/20220707/202207070852.WWBrOFY1-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 11.3.0
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/5eeb41ba36c536b30a6494df55ed441f005a6b11
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Dmitry-Baryshkov/drm-msm-dsi-switch-to-DRM_PANEL_BRIDGE/20220707-040414
git checkout 5eeb41ba36c536b30a6494df55ed441f005a6b11
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash drivers/gpu/drm/msm/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All error/warnings (new ones prefixed by >>):
drivers/gpu/drm/msm/dsi/dsi_host.c: In function 'msm_dsi_host_modeset_init':
>> drivers/gpu/drm/msm/dsi/dsi_host.c:2159:17: error: implicit declaration of function 'msm_dsi_host_get_panel'; did you mean 'msm_dsi_host_get_bridge'? [-Werror=implicit-function-declaration]
2159 | panel = msm_dsi_host_get_panel(&msm_host->base);
| ^~~~~~~~~~~~~~~~~~~~~~
| msm_dsi_host_get_bridge
>> drivers/gpu/drm/msm/dsi/dsi_host.c:2159:15: warning: assignment to 'struct drm_panel *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
2159 | panel = msm_dsi_host_get_panel(&msm_host->base);
| ^
cc1: some warnings being treated as errors
vim +2159 drivers/gpu/drm/msm/dsi/dsi_host.c
a689554ba6ed81c Hai Li 2015-03-31 2149
a689554ba6ed81c Hai Li 2015-03-31 2150 int msm_dsi_host_modeset_init(struct mipi_dsi_host *host,
a689554ba6ed81c Hai Li 2015-03-31 2151 struct drm_device *dev)
a689554ba6ed81c Hai Li 2015-03-31 2152 {
a689554ba6ed81c Hai Li 2015-03-31 2153 struct msm_dsi_host *msm_host = to_msm_dsi_host(host);
8f7ca5409063ade Sibi Sankar 2018-05-29 2154 const struct msm_dsi_cfg_handler *cfg_hnd = msm_host->cfg_hnd;
0f40ba48de3b8a4 Vinod Koul 2022-04-06 2155 struct drm_panel *panel;
a689554ba6ed81c Hai Li 2015-03-31 2156 int ret;
a689554ba6ed81c Hai Li 2015-03-31 2157
a689554ba6ed81c Hai Li 2015-03-31 2158 msm_host->dev = dev;
0f40ba48de3b8a4 Vinod Koul 2022-04-06 @2159 panel = msm_dsi_host_get_panel(&msm_host->base);
0f40ba48de3b8a4 Vinod Koul 2022-04-06 2160
0f40ba48de3b8a4 Vinod Koul 2022-04-06 2161 if (!IS_ERR(panel) && panel->dsc) {
0f40ba48de3b8a4 Vinod Koul 2022-04-06 2162 struct msm_display_dsc_config *dsc = msm_host->dsc;
0f40ba48de3b8a4 Vinod Koul 2022-04-06 2163
0f40ba48de3b8a4 Vinod Koul 2022-04-06 2164 if (!dsc) {
0f40ba48de3b8a4 Vinod Koul 2022-04-06 2165 dsc = devm_kzalloc(&msm_host->pdev->dev, sizeof(*dsc), GFP_KERNEL);
0f40ba48de3b8a4 Vinod Koul 2022-04-06 2166 if (!dsc)
0f40ba48de3b8a4 Vinod Koul 2022-04-06 2167 return -ENOMEM;
0f40ba48de3b8a4 Vinod Koul 2022-04-06 2168 dsc->drm = panel->dsc;
0f40ba48de3b8a4 Vinod Koul 2022-04-06 2169 msm_host->dsc = dsc;
0f40ba48de3b8a4 Vinod Koul 2022-04-06 2170 }
0f40ba48de3b8a4 Vinod Koul 2022-04-06 2171 }
0f40ba48de3b8a4 Vinod Koul 2022-04-06 2172
8f7ca5409063ade Sibi Sankar 2018-05-29 2173 ret = cfg_hnd->ops->tx_buf_alloc(msm_host, SZ_4K);
a689554ba6ed81c Hai Li 2015-03-31 2174 if (ret) {
a689554ba6ed81c Hai Li 2015-03-31 2175 pr_err("%s: alloc tx gem obj failed, %d\n", __func__, ret);
a689554ba6ed81c Hai Li 2015-03-31 2176 return ret;
a689554ba6ed81c Hai Li 2015-03-31 2177 }
a689554ba6ed81c Hai Li 2015-03-31 2178
a689554ba6ed81c Hai Li 2015-03-31 2179 return 0;
a689554ba6ed81c Hai Li 2015-03-31 2180 }
a689554ba6ed81c Hai Li 2015-03-31 2181
--
0-DAY CI Kernel Test Service
https://01.org/lkp
prev parent reply other threads:[~2022-07-07 0:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-06 20:02 [PATCH] drm/msm/dsi: switch to DRM_PANEL_BRIDGE Dmitry Baryshkov
2022-07-07 0:50 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202207070852.WWBrOFY1-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@linux.ie \
--cc=bjorn.andersson@linaro.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=quic_abhinavk@quicinc.com \
--cc=robdclark@gmail.com \
--cc=sean@poorly.run \
--cc=swboyd@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox