[PATCH 10/17] drm/msm/dp: modify dp_catalog_hw_revision to show major and minor val
kernel test robot
lkp at intel.com
Sat Jan 27 23:43:16 UTC 2024
Hi Paloma,
kernel test robot noticed the following build warnings:
[auto build test WARNING on v6.8-rc1]
[also build test WARNING on linus/master next-20240125]
[cannot apply to drm-misc/drm-misc-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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Paloma-Arellano/drm-msm-dpu-allow-dpu_encoder_helper_phys_setup_cdm-to-work-for-DP/20240126-034233
base: v6.8-rc1
patch link: https://lore.kernel.org/r/20240125193834.7065-11-quic_parellan%40quicinc.com
patch subject: [PATCH 10/17] drm/msm/dp: modify dp_catalog_hw_revision to show major and minor val
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20240128/202401280752.AmrDI7Ox-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240128/202401280752.AmrDI7Ox-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401280752.AmrDI7Ox-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/msm/dp/dp_catalog.c:541: warning: Function parameter or struct member 'major' not described in 'dp_catalog_hw_revision'
>> drivers/gpu/drm/msm/dp/dp_catalog.c:541: warning: Function parameter or struct member 'minor' not described in 'dp_catalog_hw_revision'
vim +541 drivers/gpu/drm/msm/dp/dp_catalog.c
c943b4948b5848 Chandan Uddaraju 2020-08-27 531
757a2f36ab095f Kuogee Hsieh 2022-02-25 532 /**
757a2f36ab095f Kuogee Hsieh 2022-02-25 533 * dp_catalog_hw_revision() - retrieve DP hw revision
757a2f36ab095f Kuogee Hsieh 2022-02-25 534 *
757a2f36ab095f Kuogee Hsieh 2022-02-25 535 * @dp_catalog: DP catalog structure
757a2f36ab095f Kuogee Hsieh 2022-02-25 536 *
5febc52d5716d6 Paloma Arellano 2024-01-25 537 * Return: void
757a2f36ab095f Kuogee Hsieh 2022-02-25 538 *
757a2f36ab095f Kuogee Hsieh 2022-02-25 539 */
5febc52d5716d6 Paloma Arellano 2024-01-25 540 void dp_catalog_hw_revision(const struct dp_catalog *dp_catalog, u16 *major, u16 *minor)
757a2f36ab095f Kuogee Hsieh 2022-02-25 @541 {
757a2f36ab095f Kuogee Hsieh 2022-02-25 542 const struct dp_catalog_private *catalog = container_of(dp_catalog,
757a2f36ab095f Kuogee Hsieh 2022-02-25 543 struct dp_catalog_private, dp_catalog);
5febc52d5716d6 Paloma Arellano 2024-01-25 544 u32 reg_dp_hw_version;
757a2f36ab095f Kuogee Hsieh 2022-02-25 545
5febc52d5716d6 Paloma Arellano 2024-01-25 546 reg_dp_hw_version = dp_read_ahb(catalog, REG_DP_HW_VERSION);
5febc52d5716d6 Paloma Arellano 2024-01-25 547 *major = DP_HW_VERSION_MAJOR(reg_dp_hw_version);
5febc52d5716d6 Paloma Arellano 2024-01-25 548 *minor = DP_HW_VERSION_MINOR(reg_dp_hw_version);
757a2f36ab095f Kuogee Hsieh 2022-02-25 549 }
757a2f36ab095f Kuogee Hsieh 2022-02-25 550
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the Freedreno
mailing list