diff options
| author | Nemesa Garg <nemesa.garg@intel.com> | 2025-10-28 17:37:39 +0530 |
|---|---|---|
| committer | Jani Nikula <jani.nikula@intel.com> | 2025-10-30 15:41:18 +0200 |
| commit | 74ad9ec94b70e7ca7f8f713458b8f2704c191e2a (patch) | |
| tree | 5c424edd871573f14fe301665753abc8ab82b95e /tools/lib/python/kdoc/python_version.py | |
| parent | 72a583c2b4892164c1ccc20357652e703f23f44c (diff) | |
drm/i915/display: Add CASF strength and winsize
Add register definitions for sharpness strength and
filter window size used by CASF. Provide functions to
read and write these fields.
The sharpness strength value is determined by user input,
while the winsize is based on the resolution. The casf_enable
flag should be set if the platform supports sharpness adjustments
and the user API strength is not zero. Once sharpness is
enabled, update the strength bit of the register whenever
the user changes the strength value, as the enable bit and
winsize bit remain constant.
Introduce helper to enable, disable and update strength.
Add relavant strength and winsize in both enable and disable.
v2: Introduce get_config for casf[Ankit]
v3: Replace 0 with FILTER_STRENGTH_MASK[Ankit]
v4: After updating strength add win_sz register
v5: Replace u16 with u32 for total_pixel
v6: Add casf logging
v7: Add helper for enable and disable casf
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-4-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
