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

2018-06-28 Thread Harsha Manjula Mallikarjun (RBEI/ECF3)
>Hi Harsha,
>Weston needs to be rebuilt. But, no new library versions dependencies. 
>
>All right. 
>
>On Mon, Jun 25, 2018 at 10:21 AM, Harsha Manjula Mallikarjun (RBEI/ECF3) 
> wrote:
>Hi Matheus,
>
>>From: Matheus Santana [mailto:e...@cin.ufpe.br] 
>>Sent: Friday, June 22, 2018 8:33 PM
>>To: Harsha Manjula Mallikarjun (RBEI/ECF3) 
>>
>>Cc: wayland-devel@lists.freedesktop.org
>>Subject: Re: [PATCH 0/5] Implement support for drm properties "GAMMA_LUT" and 
>>"CTM"
>>
>>Hi Harsha,
>>I am unable to run the tests you introduced. Tests execution gets stuck after 
>>reporting success for surface-global-test.
>
>Surface-global-test terminates the compositor. May be this is the reason. I do 
>not see a stuck test rather a terminated compositor.
>
>For testing I modified Weston.ini as follows:
>modules=ivi-controller.so, surface-global-test.so,gamma-test.so,ctm-test.so
>
>Are you running tests in an another way? 
>
>I'm running them by just issuing `make check` after building weston. I 
>basically execute three commands (within weston's root dir):
>$ ./autogen.sh --prefix=$WLD
>$ make
>$ make check
>
>The output for `autogen.sh` (which is the same regardless patches application) 
>is attached.
>All tests in suite run fine (24 passed, 1 skipped) when running these commands 
>without the paches.
>I'm applying the patches by downloading the mbox and `git am patches.mbox`.
>Are you able to run all tests in suite by just `make check` after building the 
>project?

Thank you for providing this information.

I was cross compiling for an x86 hardware where ctm and gamma_lut are 
supported. It was not possible to run
"make check" with reasonable efforts spent.
Now fixed the stuck problem with version v3. Also tested on Ubuntu and on a 
custom hardware. On custom hardware
I have weston running with drm-backend.

>
>Best regards,
>Matheus
>P.S.: it shouldn't make a difference but I've applied the new version you 
>provided and tried it again without luck.
> 
>
>Is it necessary building weston against any newer libraries versions for 
>running the new tests?
>
>Thanks,
>Matheus
>
>>On Fri, Jun 22, 2018 at 10:23 AM,  
>>wrote:
>>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. This is useful for
>>tuning additional display settings like brightness, saturation and hue.
>>
>>This patch series adds support for setting of these two drm properties along
>>with respective tests.
>>
>>Harsha M M (5):
>>  compositor-drm: Implement support for GAMMA_LUT drm property
>>  libweston: provide support to set color transformation matrix for
>>output
>>  compositor-drm: add support for CTM property
>>  tests: add test for setting gamma
>>  tests: add test for color transformation matrix
>>
>> Makefile.am|  13 ++-
>> libweston/compositor-drm.c | 149 +--
>> libweston/compositor.h |  12 +++
>> tests/ctm-test.c   | 210 ++
>> tests/gamma-test.c | 248 
>> +
>> 5 files changed, 625 insertions(+), 7 deletions(-)
>> create mode 100644 tests/ctm-test.c
>> create mode 100644 tests/gamma-test.c
>>
>>-- 
>>2.7.4
>>
>>___
>>wayland-devel mailing list
>>wayland-devel@lists.freedesktop.org
>>https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Best regards, 

Harsha MM
RBEI/ECF3


___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


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

2018-06-28 Thread Pekka Paalanen
On Tue, 26 Jun 2018 13:47:22 -0300
Matheus Santana  wrote:

> On Tue, Jun 26, 2018 at 11:51 AM, Emil Velikov 
> wrote:

> > Matheus your assumption is correct. make check should pass, without
> > any local changes.
> >
> > Quick look points the following:
> >  - the drm (compositor-drm) backend supports the new functionality
> >  - the default backend (see tests/weston-tests-env) is headless
> > (compositor-headless)
> >  
> 
> So we shouldn't run drm-specific tests with `make check`, maybe?

Currently we do not have any DRM-specific tests. It is possible to
choose the backend to run with, see
https://wayland.freedesktop.org/testing.html , and if a test is
DRM-specific, it should skip on other backends.


Thanks,
pq


pgpp3YjMAsftZ.pgp
Description: OpenPGP digital signature
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


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

2018-06-26 Thread Emil Velikov
On 26 June 2018 at 17:47, Matheus Santana  wrote:
>
>
> On Tue, Jun 26, 2018 at 11:51 AM, Emil Velikov 
> wrote:
>>
>> On 25 June 2018 at 19:48, Matheus Santana  wrote:
>> > Hi Harsha,
>> >
>> >> Weston needs to be rebuilt. But, no new library versions dependencies.
>> >
>> >
>> > All right.
>> >
>> > On Mon, Jun 25, 2018 at 10:21 AM, Harsha Manjula Mallikarjun (RBEI/ECF3)
>> >  wrote:
>> >>
>> >> Hi Matheus,
>> >>
>> >> >From: Matheus Santana [mailto:e...@cin.ufpe.br]
>> >> >Sent: Friday, June 22, 2018 8:33 PM
>> >> >To: Harsha Manjula Mallikarjun (RBEI/ECF3)
>> >> > 
>> >> >Cc: wayland-devel@lists.freedesktop.org
>> >> >Subject: Re: [PATCH 0/5] Implement support for drm properties
>> >> > "GAMMA_LUT"
>> >> > and "CTM"
>> >> >
>> >> >Hi Harsha,
>> >> >I am unable to run the tests you introduced. Tests execution gets
>> >> > stuck
>> >> > after reporting success for surface-global-test.
>> >>
>> >> Surface-global-test terminates the compositor. May be this is the
>> >> reason.
>> >> I do not see a stuck test rather a terminated compositor.
>> >>
>> >> For testing I modified Weston.ini as follows:
>> >> modules=ivi-controller.so,
>> >> surface-global-test.so,gamma-test.so,ctm-test.so
>> >>
>> >> Are you running tests in an another way?
>> >
>> >
>> > I'm running them by just issuing `make check` after building weston. I
>> > basically execute three commands (within weston's root dir):
>> >
>> > $ ./autogen.sh --prefix=$WLD
>> > $ make
>> > $ make check
>> >
>> > The output for `autogen.sh` (which is the same regardless patches
>> > application) is attached.
>> > All tests in suite run fine (24 passed, 1 skipped) when running these
>> > commands without the paches.
>> >
>> > I'm applying the patches by downloading the mbox and `git am
>> > patches.mbox`.
>> >
>> > Are you able to run all tests in suite by just `make check` after
>> > building
>> > the project?
>> >
>> Matheus your assumption is correct. make check should pass, without
>> any local changes.
>>
>> Quick look points the following:
>>  - the drm (compositor-drm) backend supports the new functionality
>>  - the default backend (see tests/weston-tests-env) is headless
>> (compositor-headless)
>
>
> So we shouldn't run drm-specific tests with `make check`, maybe?
>
Personally I would try some of the following:
 a) see if a test specific ini file (see [0] and draw inspiration from
existing ini files) won't help
 b) enhance the testing infra to allow selecting the backend

Then again, might be better to see what more experienced developers prefer.

>>
>>  - xwayland is used - not sure if the xwayland codebase (which lives
>> in the Xserver repo) needs updates
>
>
> Would you please point out what does indicate that xwayland is in use?
>
This line [1] says "all tests with .la extension, will be run via
weston-tests-env". While this hunk [2] does the execution and you can
--xwayland in there.

HTH
Emil

[0] 
https://gitlab.freedesktop.org/wayland/weston/blob/78a42116ae92f93a01539a785ce95cc478189608/tests/weston-tests-env#L41
[1] 
https://gitlab.freedesktop.org/wayland/weston/blob/78a42116ae92f93a01539a785ce95cc478189608/Makefile.am#L1264
[2] 
https://gitlab.freedesktop.org/wayland/weston/blob/78a42116ae92f93a01539a785ce95cc478189608/tests/weston-tests-env#L67
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


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

2018-06-26 Thread Matheus Santana
On Tue, Jun 26, 2018 at 11:51 AM, Emil Velikov 
wrote:

> On 25 June 2018 at 19:48, Matheus Santana  wrote:
> > Hi Harsha,
> >
> >> Weston needs to be rebuilt. But, no new library versions dependencies.
> >
> >
> > All right.
> >
> > On Mon, Jun 25, 2018 at 10:21 AM, Harsha Manjula Mallikarjun (RBEI/ECF3)
> >  wrote:
> >>
> >> Hi Matheus,
> >>
> >> >From: Matheus Santana [mailto:e...@cin.ufpe.br]
> >> >Sent: Friday, June 22, 2018 8:33 PM
> >> >To: Harsha Manjula Mallikarjun (RBEI/ECF3)
> >> > 
> >> >Cc: wayland-devel@lists.freedesktop.org
> >> >Subject: Re: [PATCH 0/5] Implement support for drm properties
> "GAMMA_LUT"
> >> > and "CTM"
> >> >
> >> >Hi Harsha,
> >> >I am unable to run the tests you introduced. Tests execution gets stuck
> >> > after reporting success for surface-global-test.
> >>
> >> Surface-global-test terminates the compositor. May be this is the
> reason.
> >> I do not see a stuck test rather a terminated compositor.
> >>
> >> For testing I modified Weston.ini as follows:
> >> modules=ivi-controller.so,
> >> surface-global-test.so,gamma-test.so,ctm-test.so
> >>
> >> Are you running tests in an another way?
> >
> >
> > I'm running them by just issuing `make check` after building weston. I
> > basically execute three commands (within weston's root dir):
> >
> > $ ./autogen.sh --prefix=$WLD
> > $ make
> > $ make check
> >
> > The output for `autogen.sh` (which is the same regardless patches
> > application) is attached.
> > All tests in suite run fine (24 passed, 1 skipped) when running these
> > commands without the paches.
> >
> > I'm applying the patches by downloading the mbox and `git am
> patches.mbox`.
> >
> > Are you able to run all tests in suite by just `make check` after
> building
> > the project?
> >
> Matheus your assumption is correct. make check should pass, without
> any local changes.
>
> Quick look points the following:
>  - the drm (compositor-drm) backend supports the new functionality
>  - the default backend (see tests/weston-tests-env) is headless
> (compositor-headless)
>

So we shouldn't run drm-specific tests with `make check`, maybe?


>  - xwayland is used - not sure if the xwayland codebase (which lives
> in the Xserver repo) needs updates
>

Would you please point out what does indicate that xwayland is in use?


>
> HTH
> Emil
>


Thanks,
Matheus
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


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

2018-06-26 Thread Emil Velikov
On 25 June 2018 at 19:48, Matheus Santana  wrote:
> Hi Harsha,
>
>> Weston needs to be rebuilt. But, no new library versions dependencies.
>
>
> All right.
>
> On Mon, Jun 25, 2018 at 10:21 AM, Harsha Manjula Mallikarjun (RBEI/ECF3)
>  wrote:
>>
>> Hi Matheus,
>>
>> >From: Matheus Santana [mailto:e...@cin.ufpe.br]
>> >Sent: Friday, June 22, 2018 8:33 PM
>> >To: Harsha Manjula Mallikarjun (RBEI/ECF3)
>> > 
>> >Cc: wayland-devel@lists.freedesktop.org
>> >Subject: Re: [PATCH 0/5] Implement support for drm properties "GAMMA_LUT"
>> > and "CTM"
>> >
>> >Hi Harsha,
>> >I am unable to run the tests you introduced. Tests execution gets stuck
>> > after reporting success for surface-global-test.
>>
>> Surface-global-test terminates the compositor. May be this is the reason.
>> I do not see a stuck test rather a terminated compositor.
>>
>> For testing I modified Weston.ini as follows:
>> modules=ivi-controller.so,
>> surface-global-test.so,gamma-test.so,ctm-test.so
>>
>> Are you running tests in an another way?
>
>
> I'm running them by just issuing `make check` after building weston. I
> basically execute three commands (within weston's root dir):
>
> $ ./autogen.sh --prefix=$WLD
> $ make
> $ make check
>
> The output for `autogen.sh` (which is the same regardless patches
> application) is attached.
> All tests in suite run fine (24 passed, 1 skipped) when running these
> commands without the paches.
>
> I'm applying the patches by downloading the mbox and `git am patches.mbox`.
>
> Are you able to run all tests in suite by just `make check` after building
> the project?
>
Matheus your assumption is correct. make check should pass, without
any local changes.

Quick look points the following:
 - the drm (compositor-drm) backend supports the new functionality
 - the default backend (see tests/weston-tests-env) is headless
(compositor-headless)
 - xwayland is used - not sure if the xwayland codebase (which lives
in the Xserver repo) needs updates

HTH
Emil
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


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

2018-06-25 Thread Matheus Santana
Hi Harsha,

Weston needs to be rebuilt. But, no new library versions dependencies.


All right.

On Mon, Jun 25, 2018 at 10:21 AM, Harsha Manjula Mallikarjun (RBEI/ECF3) <
harsha.manjulamallikar...@in.bosch.com> wrote:

> Hi Matheus,
>
> >From: Matheus Santana [mailto:e...@cin.ufpe.br]
> >Sent: Friday, June 22, 2018 8:33 PM
> >To: Harsha Manjula Mallikarjun (RBEI/ECF3)  bosch.com>
> >Cc: wayland-devel@lists.freedesktop.org
> >Subject: Re: [PATCH 0/5] Implement support for drm properties "GAMMA_LUT"
> and "CTM"
> >
> >Hi Harsha,
> >I am unable to run the tests you introduced. Tests execution gets stuck
> after reporting success for surface-global-test.
>
> Surface-global-test terminates the compositor. May be this is the reason.
> I do not see a stuck test rather a terminated compositor.
>
> For testing I modified Weston.ini as follows:
> modules=ivi-controller.so, surface-global-test.so,gamma-
> test.so,ctm-test.so
>
> Are you running tests in an another way?
>

I'm running them by just issuing `make check` after building weston. I
basically execute three commands (within weston's root dir):

$ ./autogen.sh --prefix=$WLD
$ make
$ make check

The output for `autogen.sh` (which is the same regardless patches
application) is attached.
All tests in suite run fine (24 passed, 1 skipped) when running these
commands without the paches.

I'm applying the patches by downloading the mbox and `git am patches.mbox`.

Are you able to run all tests in suite by just `make check` after building
the project?


Best regards,
Matheus

P.S.: it shouldn't make a difference but I've applied the new version you
provided and tried it again without luck.


>
> >Is it necessary building weston against any newer libraries versions for
> running the new tests?
> >
> >Thanks,
> >Matheus
> >
> >On Fri, Jun 22, 2018 at 10:23 AM, 
> wrote:
> >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. This is useful
> for
> >tuning additional display settings like brightness, saturation and hue.
> >
> >This patch series adds support for setting of these two drm properties
> along
> >with respective tests.
> >
> >Harsha M M (5):
> >  compositor-drm: Implement support for GAMMA_LUT drm property
> >  libweston: provide support to set color transformation matrix for
> >output
> >  compositor-drm: add support for CTM property
> >  tests: add test for setting gamma
> >  tests: add test for color transformation matrix
> >
> > Makefile.am|  13 ++-
> > libweston/compositor-drm.c | 149 +--
> > libweston/compositor.h |  12 +++
> > tests/ctm-test.c   | 210 ++
> > tests/gamma-test.c | 248 ++
> +++
> > 5 files changed, 625 insertions(+), 7 deletions(-)
> > create mode 100644 tests/ctm-test.c
> > create mode 100644 tests/gamma-test.c
> >
> >--
> >2.7.4
> >
> >___
> >wayland-devel mailing list
> >wayland-devel@lists.freedesktop.org
> >https://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
> Best regards,
> Harsha MM
> RBEI/ECF3
>
>
>
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking f

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

2018-06-25 Thread Harsha Manjula Mallikarjun (RBEI/ECF3)
Hi Matheus,

>From: Matheus Santana [mailto:e...@cin.ufpe.br] 
>Sent: Friday, June 22, 2018 8:33 PM
>To: Harsha Manjula Mallikarjun (RBEI/ECF3) 
>
>Cc: wayland-devel@lists.freedesktop.org
>Subject: Re: [PATCH 0/5] Implement support for drm properties "GAMMA_LUT" and 
>"CTM"
>
>Hi Harsha,
>I am unable to run the tests you introduced. Tests execution gets stuck after 
>reporting success for surface-global-test.

Surface-global-test terminates the compositor. May be this is the reason. I do 
not see a stuck test rather a terminated compositor.

For testing I modified Weston.ini as follows:
modules=ivi-controller.so, surface-global-test.so,gamma-test.so,ctm-test.so

Are you running tests in an another way? 

>Is it necessary building weston against any newer libraries versions for 
>running the new tests?
>
>Thanks,
>Matheus
>
>On Fri, Jun 22, 2018 at 10:23 AM,  
>wrote:
>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. This is useful for
>tuning additional display settings like brightness, saturation and hue.
>
>This patch series adds support for setting of these two drm properties along
>with respective tests.
>
>Harsha M M (5):
>  compositor-drm: Implement support for GAMMA_LUT drm property
>  libweston: provide support to set color transformation matrix for
>output
>  compositor-drm: add support for CTM property
>  tests: add test for setting gamma
>  tests: add test for color transformation matrix
>
> Makefile.am|  13 ++-
> libweston/compositor-drm.c | 149 +--
> libweston/compositor.h |  12 +++
> tests/ctm-test.c   | 210 ++
> tests/gamma-test.c | 248 +
> 5 files changed, 625 insertions(+), 7 deletions(-)
> create mode 100644 tests/ctm-test.c
> create mode 100644 tests/gamma-test.c
>
>-- 
>2.7.4
>
>___
>wayland-devel mailing list
>wayland-devel@lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Best regards, 
Harsha MM
RBEI/ECF3


___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


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

2018-06-25 Thread Harsha Manjula Mallikarjun (RBEI/ECF3)
Hi Matheus,

Thank you for the test.

Weston needs to be rebuilt. But, no new library versions dependencies. 

I did not run though other Weston tests. Just running gamma and ctm test works 
at my desk.
The way I ran tests was by modifying Weston.ini to add gamma-test.so and 
ctm-test.so to modules.
I will run now all the other test in sequence, by modifying Weston.ini.

Any additional hint to reproduce this problem will help me to fix the issue 
faster.

Thank you,

Best regards, 
Harsha MM
RBEI/ECF3

From: Matheus Santana [mailto:e...@cin.ufpe.br] 
Sent: Friday, June 22, 2018 8:33 PM
To: Harsha Manjula Mallikarjun (RBEI/ECF3) 

Cc: wayland-devel@lists.freedesktop.org
Subject: Re: [PATCH 0/5] Implement support for drm properties "GAMMA_LUT" and 
"CTM"

Hi Harsha,
I am unable to run the tests you introduced. Tests execution gets stuck after 
reporting success for surface-global-test.
Is it necessary building weston against any newer libraries versions for 
running the new tests?

Thanks,
Matheus

On Fri, Jun 22, 2018 at 10:23 AM,  
wrote:
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. This is useful for
tuning additional display settings like brightness, saturation and hue.

This patch series adds support for setting of these two drm properties along
with respective tests.

Harsha M M (5):
  compositor-drm: Implement support for GAMMA_LUT drm property
  libweston: provide support to set color transformation matrix for
    output
  compositor-drm: add support for CTM property
  tests: add test for setting gamma
  tests: add test for color transformation matrix

 Makefile.am                |  13 ++-
 libweston/compositor-drm.c | 149 +--
 libweston/compositor.h     |  12 +++
 tests/ctm-test.c           | 210 ++
 tests/gamma-test.c         | 248 +
 5 files changed, 625 insertions(+), 7 deletions(-)
 create mode 100644 tests/ctm-test.c
 create mode 100644 tests/gamma-test.c

-- 
2.7.4

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


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

2018-06-22 Thread Matheus Santana
Hi Harsha,

I am unable to run the tests you introduced. Tests execution gets stuck
after reporting success for surface-global-test.

Is it necessary building weston against any newer libraries versions for
running the new tests?


Thanks,
Matheus

On Fri, Jun 22, 2018 at 10:23 AM, 
wrote:

> 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. This is useful for
> tuning additional display settings like brightness, saturation and hue.
>
> This patch series adds support for setting of these two drm properties
> along
> with respective tests.
>
> Harsha M M (5):
>   compositor-drm: Implement support for GAMMA_LUT drm property
>   libweston: provide support to set color transformation matrix for
> output
>   compositor-drm: add support for CTM property
>   tests: add test for setting gamma
>   tests: add test for color transformation matrix
>
>  Makefile.am|  13 ++-
>  libweston/compositor-drm.c | 149 +--
>  libweston/compositor.h |  12 +++
>  tests/ctm-test.c   | 210 ++
>  tests/gamma-test.c | 248 ++
> +++
>  5 files changed, 625 insertions(+), 7 deletions(-)
>  create mode 100644 tests/ctm-test.c
>  create mode 100644 tests/gamma-test.c
>
> --
> 2.7.4
>
> ___
> wayland-devel mailing list
> wayland-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


[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. This is useful for
tuning additional display settings like brightness, saturation and hue.

This patch series adds support for setting of these two drm properties along
with respective tests.

Harsha M M (5):
  compositor-drm: Implement support for GAMMA_LUT drm property
  libweston: provide support to set color transformation matrix for
output
  compositor-drm: add support for CTM property
  tests: add test for setting gamma
  tests: add test for color transformation matrix

 Makefile.am|  13 ++-
 libweston/compositor-drm.c | 149 +--
 libweston/compositor.h |  12 +++
 tests/ctm-test.c   | 210 ++
 tests/gamma-test.c | 248 +
 5 files changed, 625 insertions(+), 7 deletions(-)
 create mode 100644 tests/ctm-test.c
 create mode 100644 tests/gamma-test.c

-- 
2.7.4

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel