diff options
| author | Nemesa Garg <nemesa.garg@intel.com> | 2025-10-28 17:37:41 +0530 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2025-10-30 15:42:59 +0200 |
| commit | 76f51cdc5d45a5497f7f2578ff81fd3efcabb3bd (patch) | |
| tree | 7aedce7be12b28faa59d9015aff0c4e80650905c /tools/lib/python/kdoc/python_version.py | |
| parent | 515d1c895ffcd168b7b8b7bec1d6a2ec6edfe915 (diff) | |
drm/i915/display: Compute the scaler coefficients
The sharpness property requires the use of one of the scaler
so need to set the sharpness scaler coefficient values.
These values are based on experiments and vary for different
tap value/win size. These values are normalized by taking the
sum of all values and then dividing each value with a sum.
Add helper to compute and set the scaler coefficients.
v2: Fix ifndef header naming issue reported by kernel test robot
v3: Rename file name[Arun]
Replace array size number with macro[Arun]
v4: Correct the register format[Jani]
Add brief comment and expalin about file[Jani]
Remove coefficient value from crtc_state[Jani]
v5: Fix build issue
v6: Add new function for writing coefficients[Ankit]
v7: Add cooments and add a scaler id check [Ankit]
v8: Remove casf_enable from here[Ankit]
v9: Removed REG and use shift operator[Jani]
v10: Remove filter macros
v11: Add casf_write_coeff function to casf_enable
Signed-off-by: Nemesa Garg <nemesa.garg@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patch.msgid.link/20251028120747.3027332-6-ankit.k.nautiyal@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
