Hi Mitul, kernel test robot noticed the following build warnings:
[auto build test WARNING on next-20251027] [cannot apply to drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip v6.18-rc3 v6.18-rc2 v6.18-rc1 linus/master v6.18-rc3] [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/drm-i915-display-Add-source-param-for-dc-balance/20251028-011354 base: next-20251027 patch link: https://lore.kernel.org/r/20251027162927.2655581-23-mitulkumar.ajitkumar.golani%40intel.com patch subject: [PATCH v8 22/22] drm/i915/vrr: Add function to check if DC Balance Possible config: i386-buildonly-randconfig-003-20251028 (https://download.01.org/0day-ci/archive/20251028/[email protected]/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251028/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): drivers/gpu/drm/i915/display/intel_vrr.c: In function 'intel_vrr_compute_vrr_timings': >> drivers/gpu/drm/i915/display/intel_vrr.c:259:31: warning: unused variable >> 'display' [-Wunused-variable] 259 | struct intel_display *display = to_intel_display(crtc_state); | ^~~~~~~ vim +/display +259 drivers/gpu/drm/i915/display/intel_vrr.c e098418ea9f1ca Mitul Golani 2025-10-27 254 58f9466c8292f8 Ankit Nautiyal 2025-03-11 255 static 8a553374db132e Ville Syrjälä 2025-10-20 256 void intel_vrr_compute_vrr_timings(struct intel_crtc_state *crtc_state, 8a553374db132e Ville Syrjälä 2025-10-20 257 int vmin, int vmax) 58f9466c8292f8 Ankit Nautiyal 2025-03-11 258 { 5de4c2be73f248 Mitul Golani 2025-10-27 @259 struct intel_display *display = to_intel_display(crtc_state); 5de4c2be73f248 Mitul Golani 2025-10-27 260 8a553374db132e Ville Syrjälä 2025-10-20 261 crtc_state->vrr.vmax = vmax; 8a553374db132e Ville Syrjälä 2025-10-20 262 crtc_state->vrr.vmin = vmin; 8a553374db132e Ville Syrjälä 2025-10-20 263 crtc_state->vrr.flipline = crtc_state->vrr.vmin; 8a553374db132e Ville Syrjälä 2025-10-20 264 58f9466c8292f8 Ankit Nautiyal 2025-03-11 265 crtc_state->vrr.enable = true; 58f9466c8292f8 Ankit Nautiyal 2025-03-11 266 crtc_state->mode_flags |= I915_MODE_FLAG_VRR; 5de4c2be73f248 Mitul Golani 2025-10-27 267 e098418ea9f1ca Mitul Golani 2025-10-27 268 if (intel_vrr_dc_balance_possible(crtc_state)) 5de4c2be73f248 Mitul Golani 2025-10-27 269 crtc_state->vrr.dc_balance.enable = true; 58f9466c8292f8 Ankit Nautiyal 2025-03-11 270 } 58f9466c8292f8 Ankit Nautiyal 2025-03-11 271 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
