[PATCH i-g-t v4 0/3] Move backlight read, write to lib

Santhosh Reddy Guddati santhosh.reddy.guddati at intel.com
Thu Oct 24 04:52:09 UTC 2024


Move backlight read and backlight write functions to library and rename
the function as igt_backlight_read and igt_backlight_write.

changes include:

Moving the backlight read and write functions to the library.
Renaming the functions to `igt_backlight_read` and `igt_backlight_write`.
Updating the existing `kms_pm_backlight` to use the newly moved functions.
Adding a new scenario in `kms_hdr` to manipulate brightness while in HDR 
using the newly moved functions.

Santhosh Reddy Guddati (3):
  lib/igt_kms: Move backlight read and write to lib
  tests/intel/kms_pm_backlight: Refactor and use functions from lib
  tests/kms_hdr: Test brightness manipulation in HDR mode

 lib/igt_kms.c                  |  66 ++++++++++++++++++++
 lib/igt_kms.h                  |  12 ++++
 tests/intel/kms_pm_backlight.c | 108 +++++++++------------------------
 tests/kms_hdr.c                |  42 ++++++++++++-
 4 files changed, 147 insertions(+), 81 deletions(-)

-- 
2.34.1



More information about the igt-dev mailing list