tree:
https://github.com/jimc/linux.git v4
head: cba6e0513279b3f4928f8d2b70c90ff5d3b8d7a1
commit: 40db41a837c5f296c51282d579e4e91642f77646 [9/10] drm_print: add dynamic_debug
wrapper
config: arm-randconfig-r001-20211220
(
https://download.01.org/0day-ci/archive/20211221/202112210255.Wy2J3THY-lk...)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
555eacf75f21cd1dfc6363d73ad187b730349543)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
#
https://github.com/jimc/linux/commit/40db41a837c5f296c51282d579e4e91642f7...
git remote add jimc
https://github.com/jimc/linux.git
git fetch --no-tags jimc v4
git checkout 40db41a837c5f296c51282d579e4e91642f77646
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir
ARCH=arm SHELL=/bin/bash drivers/gpu/drm/bridge/ drivers/gpu/drm/exynos/
drivers/gpu/drm/msm/
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/bridge/nwl-dsi.c:223:2: error: implicit
declaration of function '_dynamic_func_call_no_desc'
[-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(dsi->dev, "DSI Lanes %d\n", dsi->lanes);
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/bridge/nwl-dsi.c:275:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(dsi->dev, "hfront_porch = %d\n",
hfront_porch);
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/bridge/nwl-dsi.c:556:3: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(dsi->dev,
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/bridge/nwl-dsi.c:613:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(dsi->dev, "Enabled rx_esc clk @%lu Hz\n",
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/bridge/nwl-dsi.c:688:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(dsi->dev, "Enabled tx_esc clk @%lu Hz\n",
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/bridge/nwl-dsi.c:729:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(dev, "Disabling clocks and phy\n");
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/bridge/nwl-dsi.c:797:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(dsi->dev, "LP clk is @%lu Hz\n", rate);
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/bridge/nwl-dsi.c:859:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(dev, "PHY at ref rate: %lu\n", phy_ref_rate);
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
8 errors generated.
--
> drivers/gpu/drm/exynos/exynos_drm_gem.c:29:3: error: implicit
declaration of function '_dynamic_func_call_no_desc'
[-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(to_dma_dev(dev), "already allocated.\n");
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_gem.c:65:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(to_dma_dev(dev), "dma_addr(0x%lx), size(0x%lx)\n",
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_gem.c:75:3: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(dev->dev, "dma_addr is invalid.\n");
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_gem.c:79:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(dev->dev, "dma_addr(0x%lx), size(0x%lx)\n",
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_gem.c:101:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(to_dma_dev(obj->dev), "gem handle = 0x%x\n",
*handle);
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_gem.c:113:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(to_dma_dev(obj->dev), "handle count = %d\n",
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_gem.c:174:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(dev->dev, "created file object = %pK\n",
obj->filp);
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_gem.c:366:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(to_dma_dev(obj->dev), "flags = 0x%x\n",
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
8 errors generated.
--
> drivers/gpu/drm/exynos/exynos_drm_plane.c:117:2: error: implicit
declaration of function '_dynamic_func_call_no_desc'
[-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(crtc->dev->dev,
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_plane.c:226:2: error: implicit declaration of
function '_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(crtc->dev->dev, "scaling mode is not
supported");
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
2 errors generated.
--
> drivers/gpu/drm/exynos/exynos_drm_fbdev.c:112:2: error: implicit
declaration of function '_dynamic_func_call_no_desc'
[-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(dev->dev,
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
1 error generated.
--
> drivers/gpu/drm/exynos/exynos7_drm_decon.c:100:3: error: implicit
declaration of function '_dynamic_func_call_no_desc'
[-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(ctx->dev, "vblank wait timed out.\n");
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos7_drm_decon.c:314:2: error: implicit declaration of
function '_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(ctx->dev, "cpp = %d\n",
fb->format->cpp[0]);
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos7_drm_decon.c:422:2: error: implicit declaration of
function '_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(ctx->dev, "start addr = 0x%lx\n",
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
3 errors generated.
--
> drivers/gpu/drm/exynos/exynos_drm_vidi.c:121:2: error: implicit
declaration of function '_dynamic_func_call_no_desc'
[-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(ctx->dev,
"dma_addr = %pad\n", &addr);
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_vidi.c:203:3: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(dev, "edid data is not fake data.\n");
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_vidi.c:207:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(dev, "requested connection.\n");
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_vidi.c:230:3: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(ctx->dev,
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_vidi.c:236:3: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(ctx->dev,
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_vidi.c:242:3: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(ctx->dev,
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_vidi.c:252:4: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(ctx->dev,
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_vidi.c:258:4: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(ctx->dev,
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_vidi.c:317:3: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(ctx->dev, "raw_edid is null.\n");
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_vidi.c:324:3: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_KMS(ctx->dev, "failed to allocate edid\n");
^
include/drm/drm_print.h:419:2: note: expanded from macro 'DRM_DEV_DEBUG_KMS'
drm_dev_dbg(dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
10 errors generated.
--
> drivers/gpu/drm/exynos/exynos_drm_ipp.c:72:2: error: implicit
declaration of function '_dynamic_func_call_no_desc'
[-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(dev,
"Registered ipp %d\n", ipp->id);
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_ipp.c:273:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(task->dev, "Allocated task %pK\n", task);
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_ipp.c:340:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(task->dev,
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_ipp.c:396:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(task->dev, "Freeing task %pK\n", task);
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_ipp.c:560:3: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(task->dev,
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_ipp.c:611:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(task->dev, "Checking task %pK\n", task);
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_ipp.c:669:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(task->dev, "Setting buffer for task %pK\n",
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_ipp.c:766:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(task->dev, "ipp: %d, task %pK done: %d\n",
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_ipp.c:791:2: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(ipp->dev, "ipp: %d, try to run new task\n",
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_ipp.c:918:3: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(ipp->dev,
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
drivers/gpu/drm/exynos/exynos_drm_ipp.c:926:3: error: implicit declaration of function
'_dynamic_func_call_no_desc' [-Werror,-Wimplicit-function-declaration]
DRM_DEV_DEBUG_DRIVER(ipp->dev, "ipp: %d, processing task
%pK\n",
^
include/drm/drm_print.h:409:2: note: expanded from macro
'DRM_DEV_DEBUG_DRIVER'
drm_dev_dbg(dev, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
^
include/drm/drm_print.h:387:2: note: expanded from macro 'drm_dev_dbg'
_dynamic_func_call_no_desc(fmt, __drm_dev_dbg, \
^
11 errors generated.
..
vim +/_dynamic_func_call_no_desc +223 drivers/gpu/drm/bridge/nwl-dsi.c
44cfc6233447cb2 Guido Günther 2020-04-09 214
44cfc6233447cb2 Guido Günther 2020-04-09 215 static int nwl_dsi_config_host(struct
nwl_dsi *dsi)
44cfc6233447cb2 Guido Günther 2020-04-09 216 {
44cfc6233447cb2 Guido Günther 2020-04-09 217 u32 cycles;
44cfc6233447cb2 Guido Günther 2020-04-09 218 struct phy_configure_opts_mipi_dphy *cfg =
&dsi->phy_cfg.mipi_dphy;
44cfc6233447cb2 Guido Günther 2020-04-09 219
44cfc6233447cb2 Guido Günther 2020-04-09 220 if (dsi->lanes < 1 || dsi->lanes
> 4)
44cfc6233447cb2 Guido Günther 2020-04-09 221 return -EINVAL;
44cfc6233447cb2 Guido Günther 2020-04-09 222
44cfc6233447cb2 Guido Günther 2020-04-09 @223 DRM_DEV_DEBUG_DRIVER(dsi->dev,
"DSI Lanes %d\n", dsi->lanes);
44cfc6233447cb2 Guido Günther 2020-04-09 224 nwl_dsi_write(dsi, NWL_DSI_CFG_NUM_LANES,
dsi->lanes - 1);
44cfc6233447cb2 Guido Günther 2020-04-09 225
44cfc6233447cb2 Guido Günther 2020-04-09 226 if (dsi->dsi_mode_flags &
MIPI_DSI_CLOCK_NON_CONTINUOUS) {
44cfc6233447cb2 Guido Günther 2020-04-09 227 nwl_dsi_write(dsi,
NWL_DSI_CFG_NONCONTINUOUS_CLK, 0x01);
44cfc6233447cb2 Guido Günther 2020-04-09 228 nwl_dsi_write(dsi,
NWL_DSI_CFG_AUTOINSERT_EOTP, 0x01);
44cfc6233447cb2 Guido Günther 2020-04-09 229 } else {
44cfc6233447cb2 Guido Günther 2020-04-09 230 nwl_dsi_write(dsi,
NWL_DSI_CFG_NONCONTINUOUS_CLK, 0x00);
44cfc6233447cb2 Guido Günther 2020-04-09 231 nwl_dsi_write(dsi,
NWL_DSI_CFG_AUTOINSERT_EOTP, 0x00);
44cfc6233447cb2 Guido Günther 2020-04-09 232 }
44cfc6233447cb2 Guido Günther 2020-04-09 233
44cfc6233447cb2 Guido Günther 2020-04-09 234 /* values in byte clock cycles */
44cfc6233447cb2 Guido Günther 2020-04-09 235 cycles = ui2bc(dsi, cfg->clk_pre);
44cfc6233447cb2 Guido Günther 2020-04-09 236 DRM_DEV_DEBUG_DRIVER(dsi->dev,
"cfg_t_pre: 0x%x\n", cycles);
44cfc6233447cb2 Guido Günther 2020-04-09 237 nwl_dsi_write(dsi, NWL_DSI_CFG_T_PRE,
cycles);
44cfc6233447cb2 Guido Günther 2020-04-09 238 cycles = ps2bc(dsi, cfg->lpx +
cfg->clk_prepare + cfg->clk_zero);
44cfc6233447cb2 Guido Günther 2020-04-09 239 DRM_DEV_DEBUG_DRIVER(dsi->dev,
"cfg_tx_gap (pre): 0x%x\n", cycles);
44cfc6233447cb2 Guido Günther 2020-04-09 240 cycles += ui2bc(dsi, cfg->clk_pre);
44cfc6233447cb2 Guido Günther 2020-04-09 241 DRM_DEV_DEBUG_DRIVER(dsi->dev,
"cfg_t_post: 0x%x\n", cycles);
44cfc6233447cb2 Guido Günther 2020-04-09 242 nwl_dsi_write(dsi, NWL_DSI_CFG_T_POST,
cycles);
44cfc6233447cb2 Guido Günther 2020-04-09 243 cycles = ps2bc(dsi, cfg->hs_exit);
44cfc6233447cb2 Guido Günther 2020-04-09 244 DRM_DEV_DEBUG_DRIVER(dsi->dev,
"cfg_tx_gap: 0x%x\n", cycles);
44cfc6233447cb2 Guido Günther 2020-04-09 245 nwl_dsi_write(dsi, NWL_DSI_CFG_TX_GAP,
cycles);
44cfc6233447cb2 Guido Günther 2020-04-09 246
44cfc6233447cb2 Guido Günther 2020-04-09 247 nwl_dsi_write(dsi,
NWL_DSI_CFG_EXTRA_CMDS_AFTER_EOTP, 0x01);
44cfc6233447cb2 Guido Günther 2020-04-09 248 nwl_dsi_write(dsi,
NWL_DSI_CFG_HTX_TO_COUNT, 0x00);
44cfc6233447cb2 Guido Günther 2020-04-09 249 nwl_dsi_write(dsi,
NWL_DSI_CFG_LRX_H_TO_COUNT, 0x00);
44cfc6233447cb2 Guido Günther 2020-04-09 250 nwl_dsi_write(dsi,
NWL_DSI_CFG_BTA_H_TO_COUNT, 0x00);
44cfc6233447cb2 Guido Günther 2020-04-09 251 /* In LP clock cycles */
44cfc6233447cb2 Guido Günther 2020-04-09 252 cycles = us2lp(cfg->lp_clk_rate,
cfg->wakeup);
44cfc6233447cb2 Guido Günther 2020-04-09 253 DRM_DEV_DEBUG_DRIVER(dsi->dev,
"cfg_twakeup: 0x%x\n", cycles);
44cfc6233447cb2 Guido Günther 2020-04-09 254 nwl_dsi_write(dsi, NWL_DSI_CFG_TWAKEUP,
cycles);
44cfc6233447cb2 Guido Günther 2020-04-09 255
44cfc6233447cb2 Guido Günther 2020-04-09 256 return nwl_dsi_clear_error(dsi);
44cfc6233447cb2 Guido Günther 2020-04-09 257 }
44cfc6233447cb2 Guido Günther 2020-04-09 258
:::::: The code at line 223 was first introduced by commit
:::::: 44cfc6233447cb2cf47aeb99457de35826a363f6 drm/bridge: Add NWL MIPI DSI host
controller support
:::::: TO: Guido Günther <agx(a)sigxcpu.org>
:::::: CC: Sam Ravnborg <sam(a)ravnborg.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org