From: Mohammed Thasleem <mohammed.thasleem@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: ankit.k.nautiyal@intel.com,
Swati Sharma <swati2.sharma@intel.com>,
Mohammed Thasleem <mohammed.thasleem@intel.com>
Subject: [PATCH v3 1/2] lib/igt_kms: Added "sharpness strength" as crtc property
Date: Tue, 28 Mar 2023 14:58:37 +0530 [thread overview]
Message-ID: <20230328092838.147903-2-mohammed.thasleem@intel.com> (raw)
In-Reply-To: <20230328092838.147903-1-mohammed.thasleem@intel.com>
From: Swati Sharma <swati2.sharma@intel.com>
Added "sharpness strength" as crtc property.
v2: Replace SHARPENESS_STRENGTH with SHARPNESS_STRENGTH. (Nemesa)
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
---
lib/igt_kms.c | 4 ++++
lib/igt_kms.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index af63d13b1..66c345aec 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -700,6 +700,7 @@ const char * const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
[IGT_CRTC_OUT_FENCE_PTR] = "OUT_FENCE_PTR",
[IGT_CRTC_VRR_ENABLED] = "VRR_ENABLED",
[IGT_CRTC_SCALING_FILTER] = "SCALING_FILTER",
+ [IGT_CRTC_SHARPNESS_STRENGTH] = "SHARPNESS_STRENGTH",
};
const char * const igt_connector_prop_names[IGT_NUM_CONNECTOR_PROPS] = {
@@ -2562,6 +2563,9 @@ static void igt_pipe_reset(igt_pipe_t *pipe)
if (igt_pipe_obj_has_prop(pipe, IGT_CRTC_SCALING_FILTER))
igt_pipe_obj_set_prop_enum(pipe, IGT_CRTC_SCALING_FILTER, "Default");
+ if (igt_pipe_obj_has_prop(pipe, IGT_CRTC_SHARPNESS_STRENGTH))
+ igt_pipe_obj_set_prop_value(pipe, IGT_CRTC_SHARPNESS_STRENGTH, 0);
+
pipe->out_fence_fd = -1;
}
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 01604dac9..78a632a1b 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -163,6 +163,7 @@ enum igt_atomic_crtc_properties {
IGT_CRTC_OUT_FENCE_PTR,
IGT_CRTC_VRR_ENABLED,
IGT_CRTC_SCALING_FILTER,
+ IGT_CRTC_SHARPNESS_STRENGTH,
IGT_NUM_CRTC_PROPS
};
--
2.25.1
next prev parent reply other threads:[~2024-06-18 8:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-28 9:28 [PATCH v3 0/2] Add new test to validate adaptive sharpness filter Mohammed Thasleem
2023-03-28 9:28 ` Mohammed Thasleem [this message]
2023-03-28 9:28 ` [PATCH v3 2/2] tests/kms_sharpness_filter: Add adaptive sharpness filter test Mohammed Thasleem
2024-06-20 10:21 ` Modem, Bhanuprakash
2024-07-08 3:40 ` Nautiyal, Ankit K
2024-09-02 21:07 ` [PATCH v4 " Mohammed Thasleem
2024-09-03 7:19 ` Mohammed Thasleem
2024-06-18 14:19 ` ✓ CI.xeBAT: success for Add new test to validate adaptive sharpness filter (rev4) Patchwork
2024-06-18 14:35 ` ✓ Fi.CI.BAT: " Patchwork
2024-06-18 22:45 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-06-19 3:01 ` ✗ CI.xeFULL: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230328092838.147903-2-mohammed.thasleem@intel.com \
--to=mohammed.thasleem@intel.com \
--cc=ankit.k.nautiyal@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=swati2.sharma@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox