Message ID | 20211115094759.520955-12-bhanuprakash.modem@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add IGT support for plane color management | expand |
On Mon, 15 Nov 2021 15:17:56 +0530 Bhanuprakash Modem <bhanuprakash.modem@intel.com> wrote: > From: Mukunda Pramodh Kumar <mukunda.pramodh.kumar@intel.com> > > Add support for Pipe color management properties. The commit summary and message are misleading. This patch makes igt recognise the CRTC GAMMA_MODE KMS property. Thanks, pq > > Cc: Harry Wentland <harry.wentland@amd.com> > Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> > Cc: Juha-Pekka Heikkila <juhapekka.heikkila@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 fdb83e0f91..677d26fedb 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 3a1f7243ad..5fac651fa3 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,
diff --git a/lib/igt_kms.c b/lib/igt_kms.c index fdb83e0f91..677d26fedb 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 3a1f7243ad..5fac651fa3 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,