lkml.org 
[lkml]   [2022]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5] drm/msm/disp/dpu1: add inline rotation support for sc7280 target
Hi Vinod,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on drm/drm-next]
[also build test WARNING on drm-intel/for-linux-next drm-tip/drm-tip drm-exynos/exynos-drm-next next-20220315]
[cannot apply to tegra-drm/drm/tegra/for-next v5.17-rc8]
[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/Vinod-Polimera/drm-msm-disp-dpu1-add-inline-rotation-support-for-sc7280-target/20220315-180939
base: git://anongit.freedesktop.org/drm/drm drm-next
config: riscv-randconfig-r033-20220313 (https://download.01.org/0day-ci/archive/20220316/202203160707.7oltHMuz-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a6b2f50fb47da3baeee10b1906da6e30ac5d26ec)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/0day-ci/linux/commit/4bb118c6c8461459d9ebce2ccbb07b6096a1a202
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Vinod-Polimera/drm-msm-disp-dpu1-add-inline-rotation-support-for-sc7280-target/20220315-180939
git checkout 4bb118c6c8461459d9ebce2ccbb07b6096a1a202
# 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=riscv SHELL=/bin/bash drivers/gpu/drm/msm/

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

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:686:39: warning: unused variable 'msm8998_vig_sblk_0' [-Wunused-const-variable]
static const struct dpu_sspp_sub_blks msm8998_vig_sblk_0 =
^
>> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:688:39: warning: unused variable 'msm8998_vig_sblk_1' [-Wunused-const-variable]
static const struct dpu_sspp_sub_blks msm8998_vig_sblk_1 =
^
>> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:690:39: warning: unused variable 'msm8998_vig_sblk_2' [-Wunused-const-variable]
static const struct dpu_sspp_sub_blks msm8998_vig_sblk_2 =
^
>> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:692:39: warning: unused variable 'msm8998_vig_sblk_3' [-Wunused-const-variable]
static const struct dpu_sspp_sub_blks msm8998_vig_sblk_3 =
^
4 warnings generated.


vim +/msm8998_vig_sblk_0 +686 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c

5334087ee7438f Loic Poulain 2022-02-14 647
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 648 /*************************************************************
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 649 * SSPP sub blocks config
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 650 *************************************************************/
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 651
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 652 /* SSPP common configuration */
4bb118c6c84614 Vinod Polimera 2022-03-15 653 #define _VIG_SBLK(num, sdma_pri, qseed_ver, rot_cfg) \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 654 { \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 655 .maxdwnscale = MAX_DOWNSCALE_RATIO, \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 656 .maxupscale = MAX_UPSCALE_RATIO, \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 657 .smart_dma_priority = sdma_pri, \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 658 .src_blk = {.name = STRCAT("sspp_src_", num), \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 659 .id = DPU_SSPP_SRC, .base = 0x00, .len = 0x150,}, \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 660 .scaler_blk = {.name = STRCAT("sspp_scaler", num), \
b75ab05a34792f Shubhashree Dhar 2019-11-27 661 .id = qseed_ver, \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 662 .base = 0xa00, .len = 0xa0,}, \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 663 .csc_blk = {.name = STRCAT("sspp_csc", num), \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 664 .id = DPU_SSPP_CSC_10BIT, \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 665 .base = 0x1a00, .len = 0x100,}, \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 666 .format_list = plane_formats_yuv, \
e6b63a7bb6cd9c Fritz Koenig 2018-12-11 667 .num_formats = ARRAY_SIZE(plane_formats_yuv), \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 668 .virt_format_list = plane_formats, \
e6b63a7bb6cd9c Fritz Koenig 2018-12-11 669 .virt_num_formats = ARRAY_SIZE(plane_formats), \
4bb118c6c84614 Vinod Polimera 2022-03-15 670 .rotation_cfg = rot_cfg, \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 671 }
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 672
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 673 #define _DMA_SBLK(num, sdma_pri) \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 674 { \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 675 .maxdwnscale = SSPP_UNITY_SCALE, \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 676 .maxupscale = SSPP_UNITY_SCALE, \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 677 .smart_dma_priority = sdma_pri, \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 678 .src_blk = {.name = STRCAT("sspp_src_", num), \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 679 .id = DPU_SSPP_SRC, .base = 0x00, .len = 0x150,}, \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 680 .format_list = plane_formats, \
e6b63a7bb6cd9c Fritz Koenig 2018-12-11 681 .num_formats = ARRAY_SIZE(plane_formats), \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 682 .virt_format_list = plane_formats, \
e6b63a7bb6cd9c Fritz Koenig 2018-12-11 683 .virt_num_formats = ARRAY_SIZE(plane_formats), \
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 684 }
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 685
94391a14fc2738 AngeloGioacchino Del Regno 2022-01-13 @686 static const struct dpu_sspp_sub_blks msm8998_vig_sblk_0 =
4bb118c6c84614 Vinod Polimera 2022-03-15 687 _VIG_SBLK("0", 0, DPU_SSPP_SCALER_QSEED3, NULL);
94391a14fc2738 AngeloGioacchino Del Regno 2022-01-13 @688 static const struct dpu_sspp_sub_blks msm8998_vig_sblk_1 =
4bb118c6c84614 Vinod Polimera 2022-03-15 689 _VIG_SBLK("1", 0, DPU_SSPP_SCALER_QSEED3, NULL);
94391a14fc2738 AngeloGioacchino Del Regno 2022-01-13 @690 static const struct dpu_sspp_sub_blks msm8998_vig_sblk_2 =
4bb118c6c84614 Vinod Polimera 2022-03-15 691 _VIG_SBLK("2", 0, DPU_SSPP_SCALER_QSEED3, NULL);
94391a14fc2738 AngeloGioacchino Del Regno 2022-01-13 @692 static const struct dpu_sspp_sub_blks msm8998_vig_sblk_3 =
4bb118c6c84614 Vinod Polimera 2022-03-15 693 _VIG_SBLK("3", 0, DPU_SSPP_SCALER_QSEED3, NULL);
4bb118c6c84614 Vinod Polimera 2022-03-15 694

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

\
 
 \ /
  Last update: 2022-03-16 01:11    [W:0.064 / U:26.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site