[PATCH 03/10] drm/i915/display: Add strength and winsize register
kernel test robot
lkp at intel.com
Tue May 20 10:23:52 UTC 2025
Hi Nemesa,
kernel test robot noticed the following build warnings:
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on next-20250516]
[cannot apply to linus/master drm-intel/for-linux-next-fixes drm-tip/drm-tip v6.15-rc7]
[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/Nemesa-Garg/drm-i915-display-Introduce-sharpness-strength-property/20250519-203316
base: git://anongit.freedesktop.org/drm-intel for-linux-next
patch link: https://lore.kernel.org/r/20250519122644.3685679-4-nemesa.garg%40intel.com
patch subject: [PATCH 03/10] drm/i915/display: Add strength and winsize register
config: x86_64-randconfig-161-20250520 (https://download.01.org/0day-ci/archive/20250520/202505201824.ifVWlBHl-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
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/202505201824.ifVWlBHl-lkp@intel.com/
New smatch warnings:
drivers/gpu/drm/i915/display/intel_casf.c:52 intel_casf_compute_win_size() warn: always true condition '(total_pixels <= (1920 * 1080)) => (0-u16max <= 2073600)'
Old smatch warnings:
drivers/gpu/drm/i915/display/intel_casf.c:54 intel_casf_compute_win_size() warn: always true condition '(total_pixels <= (3840 * 2160)) => (0-u16max <= 8294400)'
vim +52 drivers/gpu/drm/i915/display/intel_casf.c
46
47 static void intel_casf_compute_win_size(struct intel_crtc_state *crtc_state)
48 {
49 const struct drm_display_mode *mode = &crtc_state->hw.adjusted_mode;
50 u16 total_pixels = mode->hdisplay * mode->vdisplay;
51
> 52 if (total_pixels <= MAX_PIXELS_FOR_3_TAP_FILTER)
53 crtc_state->hw.casf_params.win_size = SHARPNESS_FILTER_SIZE_3X3;
54 else if (total_pixels <= MAX_PIXELS_FOR_5_TAP_FILTER)
55 crtc_state->hw.casf_params.win_size = SHARPNESS_FILTER_SIZE_5X5;
56 else
57 crtc_state->hw.casf_params.win_size = SHARPNESS_FILTER_SIZE_7X7;
58 }
59
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the Intel-gfx
mailing list