From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [chrome-os:chromeos-6.6 354/354] drivers/gpu/drm/mediatek/mtk_dp_v2.c:3140:6: warning: no previous prototype for 'mtk_mt8189_dp_phy_set_param_v2'
Date: Wed, 13 Aug 2025 22:18:39 +0800 [thread overview]
Message-ID: <202508132240.DpnF1cCE-lkp@intel.com> (raw)
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-6.6
head: db867ccf596a910b85bab8c6052afe59fa921727
commit: 4f86e88a0ffae9bb2d46965fad019e9bcedbeccc [354/354] CHROMIUM: drm/mediatek: mt8189: porting driver for dptx
config: arm-randconfig-002-20250813 (https://download.01.org/0day-ci/archive/20250813/202508132240.DpnF1cCE-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250813/202508132240.DpnF1cCE-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508132240.DpnF1cCE-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/gpu/drm/mediatek/mtk_dp_v2.c:2530:6: warning: no previous prototype for 'mtk_dp_dsc_support_v2' [-Wmissing-prototypes]
void mtk_dp_dsc_support_v2(struct mtk_dp *mtk_dp)
^~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/mediatek/mtk_dp_v2.c:2538:6: warning: no previous prototype for 'mtk_dp_dsc_enable_v2' [-Wmissing-prototypes]
void mtk_dp_dsc_enable_v2(struct mtk_dp *mtk_dp, const enum dp_encoder_id encoder_id)
^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/mediatek/mtk_dp_v2.c:2568:6: warning: no previous prototype for 'mtk_dp_dsc_disable_v2' [-Wmissing-prototypes]
void mtk_dp_dsc_disable_v2(struct mtk_dp *mtk_dp, const enum dp_encoder_id encoder_id)
^~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/mediatek/mtk_dp_v2.c:2598:6: warning: no previous prototype for 'mtk_dp_set_chunk_size_v2' [-Wmissing-prototypes]
void mtk_dp_set_chunk_size_v2(struct mtk_dp *mtk_dp, const enum dp_encoder_id encoder_id,
^~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/mediatek/mtk_dp_v2.c:2617:6: warning: no previous prototype for 'mtk_dp_dsc_set_param_v2' [-Wmissing-prototypes]
void mtk_dp_dsc_set_param_v2(struct mtk_dp *mtk_dp,
^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/mediatek/mtk_dp_v2.c:2643:6: warning: no previous prototype for 'mtk_dp_dsc_set_pps_v2' [-Wmissing-prototypes]
void mtk_dp_dsc_set_pps_v2(struct mtk_dp *mtk_dp,
^~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/mediatek/mtk_dp_v2.c:2663:6: warning: no previous prototype for 'mtk_dp_dsc_pps_send_v2' [-Wmissing-prototypes]
void mtk_dp_dsc_pps_send_v2(struct mtk_dp *mtk_dp, const enum dp_encoder_id encoder_id)
^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/mediatek/mtk_dp_v2.c:2669:6: warning: no previous prototype for 'mtk_dp_dsc_parse_pps_param_v2' [-Wmissing-prototypes]
void mtk_dp_dsc_parse_pps_param_v2(struct mtk_dp *mtk_dp, const enum dp_encoder_id encoder_id, u8 *pps)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/mediatek/mtk_dp_v2.c:3078:6: warning: no previous prototype for 'mtk_dp_phy_flip_enable_v2' [-Wmissing-prototypes]
void mtk_dp_phy_flip_enable_v2(struct mtk_dp *mtk_dp)
^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/mediatek/mtk_dp_v2.c:3096:6: warning: no previous prototype for 'mtk_dp_phy_flip_disable_v2' [-Wmissing-prototypes]
void mtk_dp_phy_flip_disable_v2(struct mtk_dp *mtk_dp)
^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/mediatek/mtk_dp_v2.c:3140:6: warning: no previous prototype for 'mtk_mt8189_dp_phy_set_param_v2' [-Wmissing-prototypes]
void mtk_mt8189_dp_phy_set_param_v2(struct mtk_dp *mtk_dp)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/mediatek/mtk_dp_v2.c: In function 'mtk_dp_video_config_v2':
drivers/gpu/drm/mediatek/mtk_dp_v2.c:3713:5: warning: variable 'data' set but not used [-Wunused-but-set-variable]
u8 data;
^~~~
drivers/gpu/drm/mediatek/mtk_dp_v2.c: At top level:
drivers/gpu/drm/mediatek/mtk_dp_v2.c:4391:6: warning: no previous prototype for 'mtk_dp_hdcp_atomic_check' [-Wmissing-prototypes]
void mtk_dp_hdcp_atomic_check(struct mtk_dp *mtk_dp, enum dp_encoder_id id,
^~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/mediatek/mtk_dp_v2.c:4705:11: warning: initialized field overwritten [-Woverride-init]
.reset = drm_atomic_helper_connector_reset,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/mediatek/mtk_dp_v2.c:4705:11: note: (near initialization for 'mtk_dp_con_funcs.reset')
vim +/mtk_mt8189_dp_phy_set_param_v2 +3140 drivers/gpu/drm/mediatek/mtk_dp_v2.c
3139
> 3140 void mtk_mt8189_dp_phy_set_param_v2(struct mtk_dp *mtk_dp)
3141 {
3142 int i;
3143
3144 PHY_WRITE_4BYTE(mtk_dp,
3145 mtk_dp->data->phyd_ana_glb_offset
3146 + DP_PHY_GLB_FORCE_CTRL_00,
3147 mtk_dp->data->patch_phy_settings[0]);
3148
3149 for (i = 0; i < 4; i++) {
3150 PHY_WRITE_4BYTE(mtk_dp,
3151 mtk_dp->data->phyd_ana_lan_offset[i]
3152 + DP_PHY_LANE_TX_2,
3153 mtk_dp->data->patch_phy_settings[1]);
3154 }
3155
3156 PHY_WRITE_4BYTE(mtk_dp,
3157 mtk_dp->data->phyd_dig_glb_offset
3158 + DP_PHY_DIG_GLB_DA_REG_00,
3159 mtk_dp->data->patch_phy_settings[2]);
3160 PHY_WRITE_4BYTE(mtk_dp,
3161 mtk_dp->data->phyd_dig_glb_offset
3162 + DP_PHY_DIG_GLB_DA_REG_01,
3163 mtk_dp->data->patch_phy_settings[3]);
3164 PHY_WRITE_4BYTE(mtk_dp,
3165 mtk_dp->data->phyd_dig_glb_offset
3166 + DP_PHY_DIG_GLB_DA_REG_02,
3167 mtk_dp->data->patch_phy_settings[4]);
3168 PHY_WRITE_4BYTE(mtk_dp,
3169 mtk_dp->data->phyd_dig_glb_offset
3170 + DP_PHY_DIG_GLB_DA_REG_03,
3171 mtk_dp->data->patch_phy_settings[5]);
3172
3173 for (i = 0; i < 4; i++) {
3174 PHY_WRITE_4BYTE(mtk_dp,
3175 mtk_dp->data->phyd_dig_lan_offset[i] + DRIVING_PARAM_3,
3176 mtk_dp->data->txfir_settings[0]);
3177 PHY_WRITE_4BYTE(mtk_dp,
3178 mtk_dp->data->phyd_dig_lan_offset[i] + DRIVING_PARAM_4,
3179 mtk_dp->data->txfir_settings[1]);
3180 PHY_WRITE_4BYTE(mtk_dp,
3181 mtk_dp->data->phyd_dig_lan_offset[i] + DRIVING_PARAM_5,
3182 mtk_dp->data->txfir_settings[2]);
3183 PHY_WRITE_4BYTE(mtk_dp,
3184 mtk_dp->data->phyd_dig_lan_offset[i] + DRIVING_PARAM_6,
3185 mtk_dp->data->txfir_settings[3]);
3186 PHY_WRITE_4BYTE(mtk_dp,
3187 mtk_dp->data->phyd_dig_lan_offset[i] + DRIVING_PARAM_7,
3188 mtk_dp->data->txfir_settings[4]);
3189 PHY_WRITE_4BYTE(mtk_dp,
3190 mtk_dp->data->phyd_dig_lan_offset[i] + DRIVING_PARAM_8,
3191 mtk_dp->data->txfir_settings[5]);
3192 }
3193 }
3194
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-08-13 14:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202508132240.DpnF1cCE-lkp@intel.com \
--to=lkp@intel.com \
--cc=cros-kernel-buildreports@googlegroups.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.