From: kernel test robot <lkp@intel.com>
To: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v13 9/9] drm/i915: Compute CMRR and calculate vtotal
Date: Fri, 7 Jun 2024 17:55:11 +0800 [thread overview]
Message-ID: <202406071749.cjO2itUi-lkp@intel.com> (raw)
In-Reply-To: <20240605170111.494784-10-mitulkumar.ajitkumar.golani@intel.com>
Hi Mitul,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on drm-tip/drm-tip next-20240606]
[cannot apply to drm-intel/for-linux-next-fixes drm/drm-next drm-exynos/exynos-drm-next drm-misc/drm-misc-next linus/master v6.10-rc2]
[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/Mitul-Golani/gpu-drm-i915-Update-indentation-for-VRR-registers-and-bits/20240606-011504
base: git://anongit.freedesktop.org/drm-intel for-linux-next
patch link: https://lore.kernel.org/r/20240605170111.494784-10-mitulkumar.ajitkumar.golani%40intel.com
patch subject: [PATCH v13 9/9] drm/i915: Compute CMRR and calculate vtotal
config: i386-randconfig-016-20240606 (https://download.01.org/0day-ci/archive/20240607/202406071749.cjO2itUi-lkp@intel.com/config)
compiler: gcc-12 (Ubuntu 12.3.0-9ubuntu2) 12.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240607/202406071749.cjO2itUi-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/202406071749.cjO2itUi-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: drivers/gpu/drm/i915/display/intel_vrr.o: in function `cmrr_get_vtotal':
>> drivers/gpu/drm/i915/display/intel_vrr.c:152:(.text+0x507): undefined reference to `__udivdi3'
vim +152 drivers/gpu/drm/i915/display/intel_vrr.c
135
136 static unsigned int
137 cmrr_get_vtotal(struct intel_crtc_state *crtc_state, bool video_mode_required)
138 {
139 int multiplier_m = 1, multiplier_n = 1, vtotal, desired_refresh_rate;
140 long long adjusted_pixel_rate;
141 struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode;
142
143 desired_refresh_rate = drm_mode_vrefresh(adjusted_mode);
144
145 if (video_mode_required) {
146 multiplier_m = 1001;
147 multiplier_n = 1000;
148 }
149
150 crtc_state->cmrr.cmrr_n =
151 desired_refresh_rate * adjusted_mode->crtc_htotal * multiplier_n;
> 152 vtotal = (adjusted_mode->crtc_clock * 1000 * multiplier_n) / crtc_state->cmrr.cmrr_n;
153 adjusted_pixel_rate = adjusted_mode->crtc_clock * 1000 * multiplier_m;
154 crtc_state->cmrr.cmrr_m = do_div(adjusted_pixel_rate, crtc_state->cmrr.cmrr_n);
155
156 return vtotal;
157 }
158
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-06-07 9:55 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-05 17:01 [PATCH v13 0/9] Implement CMRR Support Mitul Golani
2024-06-05 17:01 ` [PATCH v13 1/9] gpu/drm/i915: Update indentation for VRR registers and bits Mitul Golani
2024-06-07 3:29 ` Nautiyal, Ankit K
2024-06-07 5:08 ` Nautiyal, Ankit K
2024-06-07 10:15 ` [PATCH v14 " Mitul Golani
2024-06-05 17:01 ` [PATCH v13 2/9] drm/i915: Separate VRR related register definitions Mitul Golani
2024-06-07 10:17 ` [PATCH v14 " Mitul Golani
2024-06-05 17:01 ` [PATCH v13 3/9] drm/i915: Define and compute Transcoder CMRR registers Mitul Golani
2024-06-05 17:01 ` [PATCH v13 4/9] drm/i915: Update trans_vrr_ctl flag when cmrr is computed Mitul Golani
2024-06-05 17:01 ` [PATCH v13 5/9] drm/dp: Add refresh rate divider to struct representing AS SDP Mitul Golani
2024-06-06 11:38 ` Jani Nikula
2024-06-06 12:23 ` Maxime Ripard
2024-06-05 17:01 ` [PATCH v13 6/9] drm/i915/display: Add support for pack and unpack Mitul Golani
2024-06-05 17:01 ` [PATCH v13 7/9] drm/i915/display: Compute Adaptive sync SDP params Mitul Golani
2024-06-05 17:01 ` [PATCH v13 8/9] drm/i915/display: Compute vrr vsync params Mitul Golani
2024-06-05 17:01 ` [PATCH v13 9/9] drm/i915: Compute CMRR and calculate vtotal Mitul Golani
2024-06-07 9:55 ` kernel test robot [this message]
2024-06-05 17:58 ` ✗ Fi.CI.CHECKPATCH: warning for Implement CMRR Support (rev13) Patchwork
2024-06-05 17:58 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-06-05 18:06 ` ✓ Fi.CI.BAT: success " Patchwork
2024-06-05 23:57 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-06-06 12:43 ` ✓ Fi.CI.IGT: success " Patchwork
2024-06-07 11:38 ` ✗ Fi.CI.CHECKPATCH: warning for Implement CMRR Support (rev15) Patchwork
2024-06-07 11:38 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-06-07 11:48 ` ✓ Fi.CI.BAT: success " Patchwork
2024-06-07 22:07 ` ✗ Fi.CI.IGT: failure " Patchwork
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=202406071749.cjO2itUi-lkp@intel.com \
--to=lkp@intel.com \
--cc=mitulkumar.ajitkumar.golani@intel.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.