[PATCH 03/10] drm/i915/display: Add strength and winsize register
kernel test robot
lkp at intel.com
Thu May 22 18:22:44 UTC 2025
Hi Nemesa,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on next-20250522]
[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: i386-randconfig-004-20250522 (https://download.01.org/0day-ci/archive/20250523/202505230242.YWyBlwSE-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250523/202505230242.YWyBlwSE-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/202505230242.YWyBlwSE-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/i915/display/intel_casf.c:52:19: error: result of comparison of constant 2073600 with expression of type 'u16' (aka 'unsigned short') is always true [-Werror,-Wtautological-constant-out-of-range-compare]
52 | if (total_pixels <= MAX_PIXELS_FOR_3_TAP_FILTER)
| ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_casf.c:54:24: error: result of comparison of constant 8294400 with expression of type 'u16' (aka 'unsigned short') is always true [-Werror,-Wtautological-constant-out-of-range-compare]
54 | else if (total_pixels <= MAX_PIXELS_FOR_5_TAP_FILTER)
| ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
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