All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Mukunda Pramodh Kumar <mukunda.pramodh.kumar@intel.com>,
	Pekka Paalanen <ppaalanen@gmail.com>
Subject: [igt-dev] [v4 11/15] lib/igt_kms: Add pipe color mgmt properties
Date: Fri,  6 May 2022 11:14:42 +0530	[thread overview]
Message-ID: <20220506054446.3228224-12-bhanuprakash.modem@intel.com> (raw)
In-Reply-To: <20220506054446.3228224-1-bhanuprakash.modem@intel.com>

From: Mukunda Pramodh Kumar <mukunda.pramodh.kumar@intel.com>

Add IGT support to read CRTC GAMMA_MODE property.

Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Pekka Paalanen <ppaalanen@gmail.com>
Cc: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Mukunda Pramodh Kumar <mukunda.pramodh.kumar@intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
 lib/igt_kms.c | 1 +
 lib/igt_kms.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index e39cf1de..e051522b 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -592,6 +592,7 @@ const char * const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
 	[IGT_CRTC_CTM] = "CTM",
 	[IGT_CRTC_GAMMA_LUT] = "GAMMA_LUT",
 	[IGT_CRTC_GAMMA_LUT_SIZE] = "GAMMA_LUT_SIZE",
+	[IGT_CRTC_GAMMA_MODE] = "GAMMA_MODE",
 	[IGT_CRTC_DEGAMMA_LUT] = "DEGAMMA_LUT",
 	[IGT_CRTC_DEGAMMA_LUT_SIZE] = "DEGAMMA_LUT_SIZE",
 	[IGT_CRTC_MODE_ID] = "MODE_ID",
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 3a1f7243..5fac651f 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -119,6 +119,7 @@ enum igt_atomic_crtc_properties {
        IGT_CRTC_CTM = 0,
        IGT_CRTC_GAMMA_LUT,
        IGT_CRTC_GAMMA_LUT_SIZE,
+       IGT_CRTC_GAMMA_MODE,
        IGT_CRTC_DEGAMMA_LUT,
        IGT_CRTC_DEGAMMA_LUT_SIZE,
        IGT_CRTC_MODE_ID,
-- 
2.35.1

  parent reply	other threads:[~2022-05-06  5:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-06  5:44 [igt-dev] [v4 00/15] Add IGT support for plane color management Bhanuprakash Modem
2022-05-06  5:44 ` [igt-dev] [v4 01/15] HAX: Get uapi headers to compile the IGT Bhanuprakash Modem
2022-05-06  5:44 ` [igt-dev] [v4 02/15] lib/igt_kms: Add plane color mgmt properties Bhanuprakash Modem
2022-05-06  5:44 ` [igt-dev] [v4 03/15] kms_color_helper: Add helper functions for plane color mgmt Bhanuprakash Modem
2022-05-06  5:44 ` [igt-dev] [v4 04/15] tests/kms_color: New subtests for Plane gamma Bhanuprakash Modem
2022-05-06  5:44 ` [igt-dev] [v4 05/15] tests/kms_color: New subtests for Plane degamma Bhanuprakash Modem
2022-05-06  5:44 ` [igt-dev] [v4 06/15] tests/kms_color: New subtests for Plane CTM Bhanuprakash Modem
2022-05-06  5:44 ` [igt-dev] [v4 07/15] tests/kms_color: New negative tests for plane level color mgmt Bhanuprakash Modem
2022-05-06  5:44 ` [igt-dev] [v4 08/15] tests/kms_color_chamelium: New subtests for Plane gamma Bhanuprakash Modem
2022-05-06  5:44 ` [igt-dev] [v4 09/15] tests/kms_color_chamelium: New subtests for Plane degamma Bhanuprakash Modem
2022-05-06  5:44 ` [igt-dev] [v4 10/15] tests/kms_color_chamelium: New subtests for Plane CTM Bhanuprakash Modem
2022-05-06  5:44 ` Bhanuprakash Modem [this message]
2022-05-06  5:44 ` [igt-dev] [v4 12/15] kms_color_helper: Add helper functions to support logarithmic gamma mode Bhanuprakash Modem
2022-05-06  5:44 ` [igt-dev] [v4 13/15] tests/kms_color: Extended IGT tests " Bhanuprakash Modem
2022-05-06  5:44 ` [igt-dev] [v4 14/15] tests/kms_color_chamelium: " Bhanuprakash Modem
2022-05-06  5:44 ` [igt-dev] [v4 15/15] HAX: Add color mgmt tests to BAT Bhanuprakash Modem
2022-05-06  6:41 ` [igt-dev] ✓ Fi.CI.BAT: success for Add IGT support for plane color management (rev5) Patchwork
2022-05-06  8:10 ` [igt-dev] ✗ Fi.CI.IGT: failure " 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=20220506054446.3228224-12-bhanuprakash.modem@intel.com \
    --to=bhanuprakash.modem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=mukunda.pramodh.kumar@intel.com \
    --cc=ppaalanen@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.