diff mbox

[PACTH,i-g-t] lib/igt_kms: Fix different order of properties and their name strings

Message ID 1467199372-19405-1-git-send-email-robert.foss@collabora.com (mailing list archive)
State New, archived
Headers show

Commit Message

Robert Foss June 29, 2016, 11:22 a.m. UTC
From: Robert Foss <robert.foss@collabora.com>

igt_crtc_prop_names and igt_atomic_crtc_properties have different orders of
properties, which is fixed in this patch.

Signed-off-by: Robert Foss <robert.foss@collabora.com>
---
 lib/igt_kms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Robert Foss July 11, 2016, 7:54 p.m. UTC | #1
This is a reminder of this series.

On 2016-06-29 07:22 AM, robert.foss@collabora.com wrote:
> From: Robert Foss <robert.foss@collabora.com>
>
> igt_crtc_prop_names and igt_atomic_crtc_properties have different orders of
> properties, which is fixed in this patch.
>
> Signed-off-by: Robert Foss <robert.foss@collabora.com>
> ---
>   lib/igt_kms.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/igt_kms.c b/lib/igt_kms.c
> index af72b90..dd4eb84 100644
> --- a/lib/igt_kms.c
> +++ b/lib/igt_kms.c
> @@ -164,8 +164,8 @@ static const char *igt_plane_prop_names[IGT_NUM_PLANE_PROPS] = {
>
>   static const char *igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
>   	"background_color",
> -	"DEGAMMA_LUT",
>   	"CTM",
> +	"DEGAMMA_LUT",
>   	"GAMMA_LUT",
>   };
>
>
Marius Vlad July 14, 2016, 11:15 a.m. UTC | #2
Applied. Thanks!
On Mon, Jul 11, 2016 at 03:54:12PM -0400, Robert Foss wrote:
> This is a reminder of this series.
> 
> On 2016-06-29 07:22 AM, robert.foss@collabora.com wrote:
> >From: Robert Foss <robert.foss@collabora.com>
> >
> >igt_crtc_prop_names and igt_atomic_crtc_properties have different orders of
> >properties, which is fixed in this patch.
> >
> >Signed-off-by: Robert Foss <robert.foss@collabora.com>
> >---
> >  lib/igt_kms.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> >diff --git a/lib/igt_kms.c b/lib/igt_kms.c
> >index af72b90..dd4eb84 100644
> >--- a/lib/igt_kms.c
> >+++ b/lib/igt_kms.c
> >@@ -164,8 +164,8 @@ static const char *igt_plane_prop_names[IGT_NUM_PLANE_PROPS] = {
> >
> >  static const char *igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
> >  	"background_color",
> >-	"DEGAMMA_LUT",
> >  	"CTM",
> >+	"DEGAMMA_LUT",
> >  	"GAMMA_LUT",
> >  };
> >
> >
diff mbox

Patch

diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index af72b90..dd4eb84 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -164,8 +164,8 @@  static const char *igt_plane_prop_names[IGT_NUM_PLANE_PROPS] = {
 
 static const char *igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
 	"background_color",
-	"DEGAMMA_LUT",
 	"CTM",
+	"DEGAMMA_LUT",
 	"GAMMA_LUT",
 };