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 ++
drivers/gpu/drm/i915/display/skl_scaler.c| 13 -
3 files
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/display/intel_display.c | 5 +-
.../drm/i915/display/intel_display_types.h| 1 +
.../drm/i915/display/intel_sharpen_filter.c | 105
As only second scaler can be used for sharpness check if it
is available and if panel fitting is also not enabled, the
set the sharpness. Panel fitting will have the preference
over sharpness property.
v2: Added the panel fitting check before enabling sharpness
Signed-off-by: Nemesa Garg
.
--v4: fix ifndef header naming issue reported by kernel test robot
Signed-off-by: Nemesa Garg
---
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu/drm/i915/display/intel_display.c | 2 +
.../drm/i915/display/intel_display_types.h| 9 ++
.../drm/i915/display
e/decrease the
sharpness level depending on the content displayed.
Signed-off-by: Nemesa Garg
---
drivers/gpu/drm/drm_atomic_uapi.c | 4
drivers/gpu/drm/drm_crtc.c| 35 +++
include/drm/drm_crtc.h| 17 +++
3 files changed, 56 insertion
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/
--v3: Added uapi documentation.
Made sharpness word consistent.
Nemesa Garg (5):
drm: Introduce
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 ++
drivers/gpu/drm/i915/display/skl_scaler.c| 13 -
3 files
.
Signed-off-by: Nemesa Garg
---
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu/drm/i915/display/intel_display.c | 2 +
.../drm/i915/display/intel_display_types.h| 9 ++
.../drm/i915/display/intel_sharpen_filter.c | 121 ++
.../drm/i915/display
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/display/intel_display.c | 5 +-
.../drm/i915/display/intel_display_types.h| 1 +
.../drm/i915/display/intel_sharpen_filter.c | 105
As only second scaler can be used for sharpness check if it
is available and if panel fitting is also not enabled, the
set the sharpness. Panel fitting will have the preference
over sharpness property.
v2: Added the panel fitting check before enabling sharpness
Signed-off-by: Nemesa Garg
e/decrease the
sharpness level depending on the content displayed.
Signed-off-by: Nemesa Garg
---
drivers/gpu/drm/drm_atomic_uapi.c | 4
drivers/gpu/drm/drm_crtc.c| 35 +++
include/drm/drm_crtc.h| 17 +++
3 files changed, 56 insertion
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/
--v3: Added uapi documentation.
Made sharpness word consistent.
Nemesa Garg (5):
drm: Introduce
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 | 14 +-
drivers/gpu/drm/i915/display/skl_scaler.c| 13 -
3
Add new registers and related bits. Compute the strength
value and tap value based on display mode.
Signed-off-by: Nemesa Garg
---
.../drm/i915/display/intel_display_types.h| 1 +
.../drm/i915/display/intel_sharpen_filter.c | 81 +++
.../drm/i915/display
The strength value should be greater than zero to
set to the scaler flag true and if the second scaler
is free then it can be used for sharpening purpose.
v2: Modify the condition for checking pipe scaler
availability
Signed-off-by: Nemesa Garg
---
drivers/gpu/drm/i915/display
Scaler coefficient 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.
Signed-off-by: Nemesa Garg
---
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu
This allows the user to set the intensity
so as to get the sharpness effect.
It is useful in scenario when the output is blurry
and user want to sharpen the pixels.
Signed-off-by: Nemesa Garg
---
drivers/gpu/drm/drm_atomic_uapi.c | 4
drivers/gpu/drm/drm_crtc.c| 17
to blend the sharpened
image to original image.
Userspace implementation for sharpening feature and IGT implementation
is in progress.
Nemesa Garg (5):
drm: Introduce sharpness mode property
drm/i915/display: Compute the scaler filter coefficients
drm/i915/display: Enable the second scaler
Load the lut values during pipe enable.
Signed-off-by: Nemesa Garg
---
drivers/gpu/drm/i915/display/intel_crtc.c| 3 +++
drivers/gpu/drm/i915/display/intel_display.c | 12 +++-
drivers/gpu/drm/i915/display/skl_scaler.c| 11 ++-
3 files changed, 24 insertions(+), 2
Add new registers and related bits. Compute the strength
value and tap value based on display mode.
Signed-off-by: Nemesa Garg
---
.../drm/i915/display/intel_display_types.h| 1 +
.../drm/i915/display/intel_sharpen_filter.c | 84 +++
.../drm/i915/display
Scaler coefficient 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.
Signed-off-by: Nemesa Garg
---
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu
The strength value should be greater than zero to
set to the scaler flag true and if the second scaler
is free then it can be used for sharpening purpose.
Signed-off-by: Nemesa Garg
---
drivers/gpu/drm/i915/display/intel_display.c | 7 +-
.../drm/i915/display/intel_display_types.h| 1
This allows the user to set the intensity
so as to get the sharpness effect.
It is useful in scenario when the output is blurry
and user want to sharpen the pixels.
Signed-off-by: Nemesa Garg
---
drivers/gpu/drm/drm_atomic_uapi.c | 4
drivers/gpu/drm/drm_crtc.c| 17
to blend the sharpened
image to original image.
Userspace implementation for sharpening feature and IGT implementation
is in progress.
Nemesa Garg (5):
drm: Introduce sharpeness mode property
drm/i915/display/: Compute the scaler filter coefficients
drm/i915/dispaly/: Enable the second scaler
24 matches
Mail list logo