[PATCH 05/10] drm/i915/display: Compute the scaler coefficients

2025-07-24 Thread Nemesa Garg
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] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c

[PATCH 10/10] drm/i915/display: Expose sharpness strength property

2025-07-24 Thread Nemesa Garg
Expose the drm crtc sharpness strength property which will enable or disable the sharpness/casf based on user input. With this user can set/update the strength of the sharpness or casf filter. v2: Update subject[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm

[PATCH 09/10] drm/i915/display: Enable/disable casf

2025-07-24 Thread Nemesa Garg
here[Ankit] v3: Use is_disabling in casf_disabling[Ankit] v4: Swap old_state and new_state param[Ankit] v5: In disable fn move win_sz after sharpness_ctl. Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c| 30 drivers/gpu

[PATCH 04/10] drm/i915/display: Add filter lut values

2025-07-24 Thread Nemesa Garg
Add the register bits related to filter lut values. These values are golden values and these value has to be loaded one time while enabling the casf. v2: update commit message[Ankit] v3: Make filter_load fn name same[Jani] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu

[PATCH 08/10] drm/i915/display: Set and get the casf config

2025-07-24 Thread Nemesa Garg
Set the configuration for CASF and capture it in crtc_state and get the configuration by reading back. Add the support to compare the software and hardware state of CASF. v2: Update subject[Ankit] v3: Add the state compare[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal

[PATCH 07/10] drm/i915/display: Configure the second scaler

2025-07-24 Thread Nemesa Garg
the patch[Ankit] v10: Modify the header of patch[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c| 8 +++ drivers/gpu/drm/i915/display/intel_casf.h| 1 + drivers/gpu/drm/i915/display/intel_display.c | 4 +++- drivers/gpu

[PATCH 06/10] drm/i915/display: Add and compute scaler parameter

2025-07-24 Thread Nemesa Garg
Compute the values for second scaler for sharpness. Fill the register bits corresponding to the scaler. v1: Rename the title of patch [Ankit] v2: Remove setup_casf from here[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c | 2

[PATCH 03/10] drm/i915/display: Add strength and winsize register

2025-07-24 Thread Nemesa Garg
whenever the user changes the strength value, as the enable bit and winsize bit remain constant. 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 Signed-off-by: Nemesa Garg

[PATCH 01/10] drm/drm-crtc: Introduce sharpness strength property

2025-07-24 Thread Nemesa Garg
e/decrease the sharpness level depending on the content displayed. v2: Rename crtc property variable [Arun] Add modeset detail in uapi doc[Uma] v3: Fix build issue Signed-off-by: Nemesa Garg --- drivers/gpu/drm/drm_atomic_uapi.c | 4 drivers/gpu/drm/drm_crtc.c

[PATCH 00/10] Introduce drm sharpness property

2025-07-24 Thread Nemesa Garg
the sharpened image to original image. Middleware MR link: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3665 IGT patchwork link: https://patchwork.freedesktop.org/series/130218/ Continuing discussions from: https://patchwork.freedesktop.org/series/129888/ Nemesa Garg (10): drm/drm

[PATCH 02/10] drm/i915/display: Introduce HAS_CASF for sharpness support

2025-07-24 Thread Nemesa Garg
Add HAS_CASF macro to check whether platform supports the content adaptive sharpness capability or not. v2: Update commit message[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_crtc_state_dump.c | 7 +++ drivers/gpu/drm/i915/display

[PATCH 08/10] drm/i915/display: Set and get the casf config

2025-05-19 Thread Nemesa Garg
Set the configuration for CASF and capture it in crtc_state and get the configuration by reading back. Add the support to compare the software and hardware state of CASF. v2: Update subject[Ankit] v3: Add the state compare[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal

[PATCH 06/10] drm/i915/display: Add and compute scaler parameter

2025-05-19 Thread Nemesa Garg
Compute the values for second scaler for sharpness. Fill the register bits corresponding to the scaler. v1: Rename the title of patch [Ankit] v2: Remove setup_casf from here[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c | 1

[PATCH 01/10] drm/i915/display: Introduce sharpness strength property

2025-05-19 Thread Nemesa Garg
e/decrease the sharpness level depending on the content displayed. v2: Rename crtc property variable [Arun] Add modeset detail in uapi doc[Uma] v3: Fix build issue Signed-off-by: Nemesa Garg --- drivers/gpu/drm/drm_atomic_uapi.c | 4 drivers/gpu/drm/drm_crtc.c

[PATCH 02/10] drm/i915/display: Introduce HAS_CASF for sharpness support

2025-05-19 Thread Nemesa Garg
Add HAS_CASF macro to check whether platform supports the content adaptive sharpness capability or not. v2: Update commit message[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_crtc_state_dump.c | 7 +++ drivers/gpu/drm/i915/display

[PATCH 10/10] drm/i915/display: Expose sharpness strength property

2025-05-19 Thread Nemesa Garg
Expose the drm crtc sharpness strength property which will enable or disable the sharpness/casf based on user input. With this user can set/update the strength of the sharpness or casf filter. v2: Update subject[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm

[PATCH 09/10] drm/i915/display: Enable/disable casf

2025-05-19 Thread Nemesa Garg
here[Ankit] v3: Use is_disabling in casf_disabling[Ankit] v4: Swap old_state and new_state param[Ankit] v5: In disable fn move win_sz after sharpness_ctl. Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c| 30 drivers/gpu

[PATCH 07/10] drm/i915/display: Configure the second scaler

2025-05-19 Thread Nemesa Garg
the patch[Ankit] v10: Modify the header of patch[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c| 8 +++ drivers/gpu/drm/i915/display/intel_casf.h| 1 + drivers/gpu/drm/i915/display/intel_display.c | 4 +++- drivers/gpu

[PATCH 05/10] drm/i915/display: Compute the scaler coefficients

2025-05-19 Thread Nemesa Garg
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] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c | 120 ++ drivers/gpu/drm/i915

[PATCH 03/10] drm/i915/display: Add strength and winsize register

2025-05-19 Thread Nemesa Garg
whenever the user changes the strength value, as the enable bit and winsize bit remain constant. v2: Introduce get_config for casf[Ankit] v3: Replace 0 with FILTER_STRENGTH_MASK[Ankit] v4: After updating strength add win_sz register Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers

[PATCH 04/10] drm/i915/display: Add filter lut values

2025-05-19 Thread Nemesa Garg
Add the register bits related to filter lut values. These values are golden values and these value has to be loaded one time while enabling the casf. v2: update commit message[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c | 22

[PATCH 00/10] Introduce drm sharpness property

2025-05-19 Thread Nemesa Garg
blend the sharpened image to original image. Middleware MR link: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3665 IGT patchwork link: https://patchwork.freedesktop.org/series/130218/ Continuing discussions from: https://patchwork.freedesktop.org/series/129888/ Nemesa Garg (10): drm

[PATCH 08/10] drm/i915/display: Set and get the casf config

2025-04-10 Thread Nemesa Garg
Set the configuration for CASF and capture it in crtc_state and get the configuration by reading back. Add the support to compare the software and hardware state of CASF. v2: Update subject[Ankit] v3: Add the state compare[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal

[PATCH 04/10] drm/i915/display: Add filter lut values

2025-04-08 Thread Nemesa Garg
Add the register bits related to filter lut values. These values are golden values and these value has to be loaded one time while enabling the casf. v2: update commit message[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c | 22

[PATCH 09/10] drm/i915/display: Enable/disable casf

2025-04-08 Thread Nemesa Garg
here[Ankit] v3: Use is_disabling in casf_disabling[Ankit] v4: Swap old_state and new_state param[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c| 27 drivers/gpu/drm/i915/display/intel_casf.h| 2 ++ drivers

[PATCH 02/10] drm/i915/display: Introduce HAS_CASF for sharpness support

2025-04-08 Thread Nemesa Garg
Add HAS_CASF macro to check whether platform supports the content adaptive sharpness capability or not. v2: Update commit message[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_crtc_state_dump.c | 7 +++ drivers/gpu/drm/i915/display

[PATCH 01/10] drm/i915/display: Introduce sharpness strength property

2025-04-08 Thread Nemesa Garg
e/decrease the sharpness level depending on the content displayed. v2: Rename crtc property variable [Arun] Add modeset detail in uapi doc[Uma] v3: Fix build issue Signed-off-by: Nemesa Garg --- drivers/gpu/drm/drm_atomic_uapi.c | 4 drivers/gpu/drm/drm_crtc.c

[PATCH 05/10] drm/i915/display: Compute the scaler coefficients

2025-04-08 Thread Nemesa Garg
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] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c | 120 ++ drivers/gpu/drm/i915

[PATCH 03/10] drm/i915/display: Add strength and winsize register

2025-04-08 Thread Nemesa Garg
whenever the user changes the strength value, as the enable bit and winsize bit remain constant. v2: Introduce get_config for casf[Ankit] v3: Replace 0 with FILTER_STRENGTH_MASK[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/Makefile | 1

[PATCH 00/10] Introduce drm sharpness property

2025-04-08 Thread Nemesa Garg
the sharpened image to original image. Middleware MR link: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3665 IGT patchwork link: https://patchwork.freedesktop.org/series/130218/ Continuing discussions from: https://patchwork.freedesktop.org/series/129888/ Nemesa Garg (10): drm/i915

[PATCH 06/10] drm/i915/display: Add and compute scaler parameter

2025-04-08 Thread Nemesa Garg
Compute the values for second scaler for sharpness. Fill the register bits corresponding to the scaler. v1: Rename the title of patch [Ankit] v2: Remove setup_casf from here[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c | 1

[PATCH 10/10] drm/i915/display: Expose sharpness strength property

2025-04-08 Thread Nemesa Garg
Expose the drm crtc sharpness strength property which will enable or disable the sharpness/casf based on user input. With this user can set/update the strength of the sharpness or casf filter. v2: Update subject[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm

[PATCH 07/10] drm/i915/display: Configure the second scaler

2025-04-08 Thread Nemesa Garg
the patch[Ankit] v10: Modify the header of patch[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c| 8 +++ drivers/gpu/drm/i915/display/intel_casf.h| 1 + drivers/gpu/drm/i915/display/intel_display.c | 4 +++- drivers/gpu

[PATCH 05/10] drm/i915/display: Compute the scaler coefficients

2025-04-05 Thread Nemesa Garg
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] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c | 120 ++ drivers/gpu/drm/i915

[PATCH 12/12] drm/i915/display: Expose sharpness strength property

2025-04-05 Thread Nemesa Garg
Expose the drm crtc sharpness strength property which will enable or disable the sharpness/casf based on user input. With this user can set/update the strength of the sharpness or casf filter. v2: Update subject[Ankit] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_crtc.c

[PATCH 10/10] drm/i915/display: Expose sharpness strength property

2025-04-05 Thread Nemesa Garg
Expose the drm crtc sharpness strength property which will enable or disable the sharpness/casf based on user input. With this user can set/update the strength of the sharpness or casf filter. v2: Update subject[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm

[PATCH 01/12] drm/i915/display: Introduce sharpness strength property

2025-04-05 Thread Nemesa Garg
e/decrease the sharpness level depending on the content displayed. v2: Rename crtc property variable [Arun] Add modeset detail in uapi doc[Uma] v3: Fix build issue Signed-off-by: Nemesa Garg --- drivers/gpu/drm/drm_atomic_uapi.c | 4 drivers/gpu/drm/drm_crtc.c

[PATCH 04/12] drm/i915/display: Add filter lut values

2025-04-05 Thread Nemesa Garg
Add the register bits related to filter lut values. These values are golden values and these value has to be loaded one time while enabling the casf. v2: update commit message[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c | 22

[PATCH 09/10] drm/i915/display: Enable/disable casf

2025-04-05 Thread Nemesa Garg
here[Ankit] v3: Use is_disabling in casf_disabling[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c| 27 drivers/gpu/drm/i915/display/intel_casf.h| 2 ++ drivers/gpu/drm/i915/display/intel_display.c | 26

[PATCH 08/12] drm/i915/display: Compare the sharpness state

2025-04-04 Thread Nemesa Garg
Compare the sharpness win_size, strength and enable bits Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_display.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c index

[PATCH 06/12] drm/i915/display: Add and compute scaler parameter

2025-04-04 Thread Nemesa Garg
Compute the values for second scaler for sharpness. Fill the register bits corresponding to the scaler. v1: Rename the title of patch [Ankit] v2: Remove setup_casf from here[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c | 1

[PATCH 04/10] drm/i915/display: Add filter lut values

2025-04-04 Thread Nemesa Garg
Add the register bits related to filter lut values. These values are golden values and these value has to be loaded one time while enabling the casf. v2: update commit message[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c | 22

[PATCH 03/12] drm/i915/display: Add sharpness strength and winsize

2025-04-04 Thread Nemesa Garg
changes the strength as enable bit and winsize bit remains constant. v2: Introduce get_config for casf[Ankit] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_casf.c | 99 +++ drivers/gpu/drm/i915/display

[PATCH 03/10] drm/i915/display: Add strength and winsize register

2025-04-04 Thread Nemesa Garg
whenever the user changes the strength value, as the enable bit and winsize bit remain constant. v2: Introduce get_config for casf[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_casf.c

[PATCH 06/10] drm/i915/display: Add and compute scaler parameter

2025-04-02 Thread Nemesa Garg
Compute the values for second scaler for sharpness. Fill the register bits corresponding to the scaler. v1: Rename the title of patch [Ankit] v2: Remove setup_casf from here[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c | 1

[PATCH 00/10] Introduce drm sharpness property

2025-04-02 Thread Nemesa Garg
sharpened image to original image. Middleware MR link: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3665 IGT patchwork link: https://patchwork.freedesktop.org/series/130218/ Continuing discussions from: https://patchwork.freedesktop.org/series/129888/ Nemesa Garg (10): drm/i915

[PATCH 02/10] drm/i915/display: Introduce HAS_CASF for sharpness support

2025-04-02 Thread Nemesa Garg
Add HAS_CASF macro to check whether platform supports the content adaptive sharpness capability or not. v2: Update commit message[Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_crtc_state_dump.c | 7 +++ drivers/gpu/drm/i915/display

[PATCH 08/10] drm/i915/display: Set and get the casf config

2025-04-02 Thread Nemesa Garg
Set the configuration for CASF and capture it in crtc_state and get the configuration by reading back. Add the support to compare the software and hardware state of CASF. v2: Update subject[Ankit] v3: Add the state compare[Ankit] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display

[PATCH 07/10] drm/i915/display: Configure the second scaler

2025-04-02 Thread Nemesa Garg
the patch[Ankit] v10: Modify the header of patch[Ankit] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_casf.c| 8 +++ drivers/gpu/drm/i915/display/intel_casf.h| 1 + drivers/gpu/drm/i915/display/intel_display.c | 4 +++- drivers/gpu/drm/i915/display/skl_scaler.c

[PATCH 01/10] drm/i915/display: Introduce sharpness strength property

2025-04-02 Thread Nemesa Garg
e/decrease the sharpness level depending on the content displayed. v2: Rename crtc property variable [Arun] Add modeset detail in uapi doc[Uma] v3: Fix build issue Signed-off-by: Nemesa Garg --- drivers/gpu/drm/drm_atomic_uapi.c | 4 drivers/gpu/drm/drm_crtc.c

[PATCH 11/12] drm/i915/display: Enable/disable casf

2025-03-21 Thread Nemesa Garg
here[Ankit] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_casf.c| 27 drivers/gpu/drm/i915/display/intel_casf.h| 2 ++ drivers/gpu/drm/i915/display/intel_display.c | 27 3 files changed, 56 insertions(+) diff --git a/drivers

[PATCH 07/12] drm/i915/display: Configure the second scaler for

2025-03-21 Thread Nemesa Garg
message[Arun] v4: Replace string based comparison with plane_state[Jani] v5: Rebase v6: Fix build issue v7: Remove scaler id from verify_crtc_state[Ankit] v8: Change the patch title. Add code comment. Move the config part in patch#6. [Ankit] v9: Refactor the patch[Ankit] Signed-off-by: Nemesa

[PATCH 09/12] drm/i915/display: Set a scaler mode

2025-03-21 Thread Nemesa Garg
Set the mode of scaler to HQ for casf. Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/skl_scaler.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/display/skl_scaler.c b/drivers/gpu/drm/i915/display/skl_scaler.c index d816dae9cec4..93a847c05535 100644

[PATCH 10/12] drm/i915/display: Write and read back the casf registers

2025-03-21 Thread Nemesa Garg
Write the casf registers bits to enable the sharpness and to compute the strength of casf using casf_compute_config. Also verify whether the enable bit is set or not and strength value is correctly updated. v2: Update subject[Ankit] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display

[PATCH 05/12] drm/i915/display: Compute the scaler filter

2025-03-21 Thread Nemesa Garg
: 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] Signed-off-by: Nemesa Garg Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_casf.c | 120

[PATCH 00/12] Introduce drm sharpness property

2025-03-21 Thread Nemesa Garg
sharpened image to original image. Middleware MR link: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3665 IGT patchwork link: https://patchwork.freedesktop.org/series/130218/ Continuing discussions from: https://patchwork.freedesktop.org/series/129888/ Nemesa Garg (12): drm/i915

[PATCH 02/12] drm/i915/display: Introduce HAS_CASF for sharpness support

2025-03-21 Thread Nemesa Garg
HAS_CASF macro will be used to check whether platform support the content adaptive sharpness capability or not. v2: Update commit message[Ankit] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_display_device.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu

[PATCH 00/10] Introduce drm sharpness property

2025-03-04 Thread Nemesa Garg
sharpened image to original image. Middleware MR link: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3665 IGT patchwork link: https://patchwork.freedesktop.org/series/130218/ Continuing discussions from: https://patchwork.freedesktop.org/series/129888/ Nemesa Garg (10): drm/i915

[PATCH 07/10] drm/i915/display: Configure the second scaler for sharpness

2025-03-04 Thread Nemesa Garg
message[Arun] v4: Replace string based comparison with plane_state[Jani] v5: Rebase v6: Fix build issue v7: Remove scaler id from verify_crtc_state[Ankit] v8: Change the patch title. Add code comment. Move the config part in patch#6. [Ankit] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915

[PATCH 06/10] drm/i915/display: Add and compute scaler parameter

2025-03-04 Thread Nemesa Garg
Compute the values for second scaler for sharpness. Fill the register bits corresponding to the scaler. v1: Rename the title of patch [Ankit] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_casf.c | 3 ++ drivers/gpu/drm/i915/display/skl_scaler.c | 46

[PATCH 10/10] drm/i915/display: Expose casf property

2025-03-04 Thread Nemesa Garg
Expose the drm crtc sharpness property which will ultimately enable the sharpness. Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_crtc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/display/intel_crtc.c b/drivers/gpu/drm/i915/display

[PATCH 05/10] drm/i915/display: Compute the scaler filter coefficients

2025-03-04 Thread Nemesa Garg
v6: Add new function for writing coefficients[Ankit] v7: Add cooments and add a scaler id check [Ankit] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_casf.c | 124 ++ drivers/gpu/drm/i915/display/intel_casf.h | 2 + .../gpu/drm/i915/display

[PATCH 09/10] drm/i915/display: Enable/disable casf

2025-03-04 Thread Nemesa Garg
Add a check for enabling/disabling the casf and enable the sharpness bit. Also load the filter lut value which is needed one time. Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_casf.c| 18 +++ drivers/gpu/drm/i915/display/intel_casf.h| 1 + drivers/gpu/drm

[PATCH 08/10] drm/i915/display: Call the compute function

2025-03-04 Thread Nemesa Garg
Once the casf_compute config is called then the strength and win_size bit of sharpness ctl register will be set. Read back the bits in get_config. Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_casf.c| 11 +++ drivers/gpu/drm/i915/display/intel_display.c | 4

[PATCH 03/10] drm/i915/display: Add sharpness strength and winsize

2025-03-04 Thread Nemesa Garg
Add new registers and related bits. Compute the strength value and tap value based on display mode. Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_casf.c | 68 +++ drivers/gpu/drm/i915/display

[PATCH 04/10] drm/i915/display: Add filter lut values

2025-03-04 Thread Nemesa Garg
Add the register bits related to filter lut values and populate the table. Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_casf.c | 22 +++ drivers/gpu/drm/i915/display/intel_casf.h | 3 +++ .../gpu/drm/i915/display/intel_casf_regs.h| 11

[PATCH 01/10] drm/i915/display: Introduce sharpness strength property

2025-03-04 Thread Nemesa Garg
e/decrease the sharpness level depending on the content displayed. v2: Rename crtc property variable [Arun] Add modeset detail in uapi doc[Uma] v3: Fix build issue Signed-off-by: Nemesa Garg --- drivers/gpu/drm/drm_atomic_uapi.c | 4 drivers/gpu/drm/drm_crtc.c

[PATCH 02/10] drm/i915/display: Introduce HAS_CASF macro

2025-03-04 Thread Nemesa Garg
Add the macro for casf HAS_CASF. Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_display_device.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/display/intel_display_device.h b/drivers/gpu/drm/i915/display/intel_display_device.h index 717286981687

[PATCH v6 6/6] drm/i915/display: Load the lut values and enable sharpness

2025-02-19 Thread Nemesa Garg
Load the lut values during pipe enable. v2: Add the display version check v3: Fix build issue v4: Rebase v5: Add HAS_CASF macro. [Ankit] Add scaler_id check while reading state. [Ankit] v6: Modify the disable condition. Signed-off-by: Nemesa Garg Reviewed-by: Naga Venkata Srikanth V

[PATCH 0/6] Introduce drm sharpness property

2025-02-19 Thread Nemesa Garg
sharpened image to original image. Middleware MR link: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3665 IGT patchwork link: https://patchwork.freedesktop.org/series/130218/ Continuing discussions from: https://patchwork.freedesktop.org/series/129888/ Nemesa Garg (6): drm: Introduce

[PATCH 3/6] drm/i915/display: Enable the second scaler

2025-02-19 Thread Nemesa Garg
Write the scaler registers for sharpness. v1: Rename the title of patch [Ankit] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_casf.c | 2 + drivers/gpu/drm/i915/display/skl_scaler.c | 45 +++ drivers/gpu/drm/i915/display/skl_scaler.h | 1 + 3 files

[PATCH 4/6] drm/i915/display: Configure the second scaler for sharpness

2025-02-19 Thread Nemesa Garg
message[Arun] v4: Replace string based comparison with plane_state[Jani] v5: Rebase v6: Fix build issue v7: Remove scaler id from verify_crtc_state[Ankit] v8: Change the patch title. Add code comment. Move the config part in patch#6. [Ankit] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915

[PATCH v8 5/6] drm/i915/display: Add registers and compute the strength

2025-02-19 Thread Nemesa Garg
ous condition[Ankit] v7: Change the place of compute function v8: Add strength, size in crtc_state_dump. Add bits for filter size. [Ankit] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_casf.c | 96 +++ drivers/gpu/drm/i915/display/intel_casf.h |

[PATCH v7 2/6] drm/i915/display: Compute the scaler filter coefficients

2025-02-19 Thread Nemesa Garg
v6: Add new function for writing coefficients[Ankit] v7: Add cooments and add a scaler id check [Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Naga Venkata Srikanth V --- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_casf.c | 154

[PATCH 1/6] drm: Introduce sharpness strength property

2025-02-19 Thread Nemesa Garg
e/decrease the sharpness level depending on the content displayed. v2: Rename crtc property variable [Arun] Add modeset detail in uapi doc[Uma] v3: Fix build issue Signed-off-by: Nemesa Garg --- drivers/gpu/drm/drm_atomic_uapi.c | 4 drivers/gpu/drm/drm_crtc.c

[PATCH v7 2/6] drm/i915/display: Compute the scaler filter coefficients

2025-02-14 Thread Nemesa Garg
v6: Add new function for writing coefficients[Ankit] v7: Add cooments and add a scaler id check [Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Naga Venkata Srikanth V --- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_casf.c | 154

[PATCH 0/6] Introduce drm sharpness property

2025-02-14 Thread Nemesa Garg
sharpened image to original image. Middleware MR link: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3665 IGT patchwork link: https://patchwork.freedesktop.org/series/130218/ Continuing discussions from: https://patchwork.freedesktop.org/series/129888/ Nemesa Garg (6): drm

[PATCH v5 6/6] drm/i915/display: Load the lut values and enable sharpness

2025-02-14 Thread Nemesa Garg
Load the lut values during pipe enable. v2: Add the display version check v3: Fix build issue v4: Rebase v5: Add HAS_CASF macro. [Ankit] Add scaler_id check while reading state. [Ankit] Signed-off-by: Nemesa Garg Reviewed-by: Naga Venkata Srikanth V --- drivers/gpu/drm/i915/display

[PATCH v8 5/6] drm/i915/display: Add registers and compute the strength

2025-02-14 Thread Nemesa Garg
ous condition[Ankit] v7: Change the place of compute function v8: Add strength, size in crtc_state_dump. Add bits for filter size. [Ankit] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_casf.c | 96 +++ drivers/gpu/drm/i915/display/intel_casf.h |

[PATCH 3/6] drm/i915/display: Enable the second scaler

2025-02-14 Thread Nemesa Garg
Write the scaler registers for sharpness. v1: Rename the title of patch [Ankit] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_casf.c | 2 + drivers/gpu/drm/i915/display/skl_scaler.c | 45 +++ drivers/gpu/drm/i915/display/skl_scaler.h | 1 + 3 files

[PATCH 4/6] drm/i915/display: Configure the second scaler for sharpness

2025-02-14 Thread Nemesa Garg
message[Arun] v4: Replace string based comparison with plane_state[Jani] v5: Rebase v6: Fix build issue v7: Remove scaler id from verify_crtc_state[Ankit] v8: Change the patch title. Add code comment. Move the config part in patch#6. [Ankit] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915

[PATCH 1/6] drm: Introduce sharpness strength property

2025-02-14 Thread Nemesa Garg
e/decrease the sharpness level depending on the content displayed. v2: Rename crtc property variable [Arun] Add modeset detail in uapi doc[Uma] v3: Fix build issue Signed-off-by: Nemesa Garg --- drivers/gpu/drm/drm_atomic_uapi.c | 4 drivers/gpu/drm/drm_crtc.c

[PATCH 0/5] Introduce drm sharpness property

2024-11-19 Thread Nemesa Garg
blend the sharpened image to original image. Middleware MR link: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3665 IGT patchwork link: https://patchwork.freedesktop.org/series/130218/ Continuing discussions from: https://patchwork.freedesktop.org/series/129888/ Nemesa Garg (5): drm

[PATCH 5/5] drm/i915/display: Load the lut values and enable sharpness

2024-11-19 Thread Nemesa Garg
Load the lut values during pipe enable. v2: Add the display version check v3: Fix build issue Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_crtc.c | 3 +++ drivers/gpu/drm/i915/display/intel_display.c | 6 ++ .../gpu/drm/i915/display/intel_display_types.h

[PATCH 4/5] drm/i915/display: Add registers and compute the strength

2024-11-19 Thread Nemesa Garg
Add new registers and related bits. Compute the strength value and tap value based on display mode. v2: Replace i915/dev_priv with display[Jani] v3: Create separate file for defining register[Jani] Add display->drm in debug prints[Jani] v4: Rebase v5: Fix build issue Signed-off-by: Nem

[PATCH 1/5] drm: Introduce sharpness strength property

2024-11-19 Thread Nemesa Garg
e/decrease the sharpness level depending on the content displayed. v2: Rename crtc property variable [Arun] Add modeset detail in uapi doc[Uma] v3: Fix build issue Signed-off-by: Nemesa Garg --- drivers/gpu/drm/drm_atomic_uapi.c | 4 drivers/gpu/drm/drm_crtc.c

[PATCH 2/5] drm/i915/display: Compute the scaler filter coefficients

2024-11-19 Thread Nemesa Garg
Signed-off-by: Nemesa Garg Reviewed-by: Naga Venkata Srikanth V --- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_casf.c | 128 ++ drivers/gpu/drm/i915/display/intel_casf.h | 16 +++ .../gpu/drm/i915/display/intel_casf_regs.h

[PATCH 3/5] drm/i915/display: Enable the second scaler for sharpness

2024-11-19 Thread Nemesa Garg
message[Arun] v4: Replace string based comparison with plane_state[Jani] v5: Rebase v6: Fix build issue Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_casf.c | 10 +++ drivers/gpu/drm/i915/display/intel_casf.h | 1 + drivers/gpu/drm/i915/display/intel_display.c | 10

[PATCH 3/5] drm/i915/display: Enable the second scaler for sharpness

2024-10-23 Thread Nemesa Garg
message[Arun] v4: Replace string based comparison with plane_state[Jani] v5: Rebase Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_casf.c | 10 +++ drivers/gpu/drm/i915/display/intel_casf.h | 1 + drivers/gpu/drm/i915/display/intel_display.c | 10 ++- .../drm/i915/display

[PATCH 2/5] drm/i915/display: Compute the scaler filter coefficients

2024-10-23 Thread Nemesa Garg
: Nemesa Garg --- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_casf.c | 128 ++ drivers/gpu/drm/i915/display/intel_casf.h | 16 +++ .../gpu/drm/i915/display/intel_casf_regs.h| 19 +++ drivers/gpu/drm/i915/display/intel_display.c

[PATCH 4/5] drm/i915/display: Add registers and compute the strength

2024-10-23 Thread Nemesa Garg
Add new registers and related bits. Compute the strength value and tap value based on display mode. v2: Replace i915/dev_priv with display[Jani] v3: Create separate file for defining register[Jani] Add display->drm in debug prints[Jani] v4: Rebase Signed-off-by: Nemesa Garg --- drivers/

[PATCH 5/5] drm/i915/display: Load the lut values and enable sharpness

2024-10-23 Thread Nemesa Garg
Load the lut values during pipe enable. v2: Add the display version check Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_crtc.c| 3 +++ drivers/gpu/drm/i915/display/intel_display.c | 6 ++ .../gpu/drm/i915/display/intel_display_types.h | 2 ++ drivers

[PATCH 0/5] Introduce drm sharpness property

2024-10-23 Thread Nemesa Garg
blend the sharpened image to original image. Middleware MR link: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3665 IGT patchwork link: https://patchwork.freedesktop.org/series/130218/ Continuing discussions from: https://patchwork.freedesktop.org/series/129888/ Nemesa Garg (5): drm

[PATCH 1/5] drm: Introduce sharpness strength property

2024-10-23 Thread Nemesa Garg
e/decrease the sharpness level depending on the content displayed. v2: Rename crtc property variable [Arun] Add modeset detail in uapi doc[Uma] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/drm_atomic_uapi.c | 4 drivers/gpu/drm/drm_crtc.c| 35 +++ i

[PATCH v2 5/5] drm/i915/display: Load the lut values and enable sharpness

2024-10-14 Thread Nemesa Garg
Load the lut values during pipe enable. v2: Add the display version check Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_crtc.c| 3 +++ drivers/gpu/drm/i915/display/intel_display.c | 6 ++ .../gpu/drm/i915/display/intel_display_types.h | 2 ++ drivers

[PATCH v4 3/5] drm/i915/display: Enable the second scaler for sharpness

2024-10-14 Thread Nemesa Garg
message[Arun] v4: Replace string based comparison with plane_state[Jani] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i915/display/intel_casf.c | 10 +++ drivers/gpu/drm/i915/display/intel_casf.h | 1 + drivers/gpu/drm/i915/display/intel_display.c | 10 ++- .../drm/i915/display

[PATCH v3 4/5] drm/i915/display: Add registers and compute the strength

2024-10-14 Thread Nemesa Garg
Add new registers and related bits. Compute the strength value and tap value based on display mode. v2: Replace i915/dev_priv with display[Jani] v3: Create separate file for defining register[Jani] Add display->drm in debug prints[Jani] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/i

[PATCH v2 1/5] drm: Introduce sharpness strength property

2024-10-14 Thread Nemesa Garg
e/decrease the sharpness level depending on the content displayed. v2: Rename crtc property variable [Arun] Add modeset detail in uapi doc[Uma] Signed-off-by: Nemesa Garg --- drivers/gpu/drm/drm_atomic_uapi.c | 4 drivers/gpu/drm/drm_crtc.c| 35 +++ i

[PATCH v4 2/5] drm/i915/display: Compute the scaler filter coefficients

2024-10-14 Thread Nemesa Garg
: Nemesa Garg --- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_casf.c | 131 ++ drivers/gpu/drm/i915/display/intel_casf.h | 16 +++ .../gpu/drm/i915/display/intel_casf_regs.h| 19 +++ drivers/gpu/drm/i915/display/intel_display.c

[PATCH 0/5] Introduce drm sharpness property

2024-10-14 Thread Nemesa Garg
blend the sharpened image to original image. Middleware MR link: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3665 IGT patchwork link: https://patchwork.freedesktop.org/series/130218/ Continuing discussions from: https://patchwork.freedesktop.org/series/129888/ Nemesa Garg (5): drm

  1   2   >