[PATCH v3 weston 1/5] compositor-drm: Implement support for GAMMA_LUT drm property

2018-06-28 Thread harsha.manjulamallikarjun
From: Harsha M M drmModeCrtcSetGamma is a legacy now. Use the generic drm property to set Gamma. If GAMMA_LUT is not supported then legacy api will be used. Signed-off-by: Harsha M M --- libweston/compositor-drm.c | 83 ++ 1 file changed, 77 insertio

[PATCH v3 weston 5/5] tests: add test for color transformation matrix

2018-06-28 Thread harsha.manjulamallikarjun
From: Harsha M M v3: --Terminate the compositor after test completion to fix stuck problem during make check --Do not launch client binary as it is optional for the test. Signed-off-by: Harsha M M --- Makefile.am | 8 ++- tests/ctm-test.c | 207

[PATCH v3 weston 2/5] libweston: provide support to set color transformation matrix for output

2018-06-28 Thread harsha.manjulamallikarjun
From: Harsha M M v2: --Fix grammatical errors in set_ctm interface description Signed-off-by: Harsha M M --- libweston/compositor.h | 12 1 file changed, 12 insertions(+) diff --git a/libweston/compositor.h b/libweston/compositor.h index c2c40ee..484b489 100644 --- a/libweston/co

[PATCH v3 weston 3/5] compositor-drm: add support for CTM property

2018-06-28 Thread harsha.manjulamallikarjun
From: Harsha M M Implement support for setting color transformation matrix using drm CTM property. Signed-off-by: Harsha M M --- libweston/compositor-drm.c | 66 ++ 1 file changed, 66 insertions(+) diff --git a/libweston/compositor-drm.c b/libweston

[PATCH v3 weston 0/5] Implement support for drm properties "GAMMA_LUT" and "CTM"

2018-06-28 Thread harsha.manjulamallikarjun
From: Harsha M M This patch series implements support for GAMMA_LUT and CTM drm properties. v3 fixes --Problem with gamma and ctm tests getting stuck during make check. Solution is to terminate the compositor after the test completes. --Fixes white space errors Harsha M M (5): compositor-

[PATCH v3 weston 4/5] tests: add test for setting gamma

2018-06-28 Thread harsha.manjulamallikarjun
From: Harsha M M v3: --Terminate the compositor after test completion to fix stuck problem during make check --Do not launch client binary as it is optional for the test. Signed-off-by: Harsha M M --- Makefile.am| 7 +- tests/gamma-test.c | 246 +

[PATCH v2 weston 1/5] compositor-drm: Implement support for GAMMA_LUT drm property

2018-06-25 Thread harsha.manjulamallikarjun
From: Harsha M M drmModeCrtcSetGamma is a legacy now. Use the generic drm property to set Gamma. If GAMMA_LUT is not supported then legacy api will be used. Signed-off-by: Harsha M M --- libweston/compositor-drm.c | 83 ++ 1 file changed, 77 insertio

[PATCH v2 weston 3/5] compositor-drm: add support for CTM property

2018-06-25 Thread harsha.manjulamallikarjun
From: Harsha M M Implement support for setting color transformation matrix using drm CTM property. Signed-off-by: Harsha M M --- libweston/compositor-drm.c | 66 ++ 1 file changed, 66 insertions(+) diff --git a/libweston/compositor-drm.c b/libweston

[PATCH v2 weston 5/5] tests: add test for color transformation matrix

2018-06-25 Thread harsha.manjulamallikarjun
From: Harsha M M Signed-off-by: Harsha M M --- Makefile.am | 8 ++- tests/ctm-test.c | 210 +++ 2 files changed, 217 insertions(+), 1 deletion(-) create mode 100644 tests/ctm-test.c diff --git a/Makefile.am b/Makefile.am index 6b1c560

[PATCH v2 weston 2/5] libweston: provide support to set color transformation matrix for output

2018-06-25 Thread harsha.manjulamallikarjun
From: Harsha M M v2: --Fix grammatical errors in set_ctm interface description Signed-off-by: Harsha M M --- libweston/compositor.h | 12 1 file changed, 12 insertions(+) diff --git a/libweston/compositor.h b/libweston/compositor.h index c2c40ee..484b489 100644 --- a/libweston/co

[PATCH v2 weston 4/5] tests: add test for setting gamma

2018-06-25 Thread harsha.manjulamallikarjun
From: Harsha M M Signed-off-by: Harsha M M --- Makefile.am| 7 +- tests/gamma-test.c | 248 + 2 files changed, 254 insertions(+), 1 deletion(-) create mode 100644 tests/gamma-test.c diff --git a/Makefile.am b/Makefile.am index 551d

[PATCH v2 weston 0/5] Implement support for drm properties "GAMMA_LUT" and "CTM"

2018-06-25 Thread harsha.manjulamallikarjun
From: Harsha M M This patch series implements support for GAMMA_LUT and CTM drm properties. Compared to the first series of patches, this one fixes the style issues in set_ctm interface description. This series just fixes grammatics in comments. No functional changes. Harsha M M (5): compos

[PATCH 5/5] tests: add test for color transformation matrix

2018-06-22 Thread harsha.manjulamallikarjun
From: Harsha M M Signed-off-by: Harsha M M --- Makefile.am | 8 ++- tests/ctm-test.c | 210 +++ 2 files changed, 217 insertions(+), 1 deletion(-) create mode 100644 tests/ctm-test.c diff --git a/Makefile.am b/Makefile.am index 6b1c560

[PATCH 0/5] Implement support for drm properties "GAMMA_LUT" and "CTM"

2018-06-22 Thread harsha.manjulamallikarjun
From: Harsha M M current drm backend uses drmModeCrtcSetGamma to set the gamma look up table. This api is a legacy now. DRM backend should support setting of gamma look up table through GAMMA_LUT property to keep up with the latest DRM. DRM has support for setting color transformation matrix. Th

[PATCH 2/5] libweston: provide support to set color transformation matrix for output

2018-06-22 Thread harsha.manjulamallikarjun
From: Harsha M M Signed-off-by: Harsha M M --- libweston/compositor.h | 12 1 file changed, 12 insertions(+) diff --git a/libweston/compositor.h b/libweston/compositor.h index c2c40ee..1e47721 100644 --- a/libweston/compositor.h +++ b/libweston/compositor.h @@ -270,6 +270,18 @@ st

[PATCH 3/5] compositor-drm: add support for CTM property

2018-06-22 Thread harsha.manjulamallikarjun
From: Harsha M M Implement support for setting color transformation matrix using drm CTM property. Signed-off-by: Harsha M M --- libweston/compositor-drm.c | 66 ++ 1 file changed, 66 insertions(+) diff --git a/libweston/compositor-drm.c b/libweston

[PATCH 4/5] tests: add test for setting gamma

2018-06-22 Thread harsha.manjulamallikarjun
From: Harsha M M Signed-off-by: Harsha M M --- Makefile.am| 7 +- tests/gamma-test.c | 248 + 2 files changed, 254 insertions(+), 1 deletion(-) create mode 100644 tests/gamma-test.c diff --git a/Makefile.am b/Makefile.am index 551d

[PATCH 1/5] compositor-drm: Implement support for GAMMA_LUT drm property

2018-06-22 Thread harsha.manjulamallikarjun
From: Harsha M M drmModeCrtcSetGamma is a legacy now. Use the generic drm property to set Gamma. If GAMMA_LUT is not supported then legacy api will be used. Signed-off-by: Harsha M M --- libweston/compositor-drm.c | 83 ++ 1 file changed, 77 insertio