[PATCH v1 0/1] Added IGT support to validate global histogram

Mohammed Thasleem mohammed.thasleem at intel.com
Fri Jul 5 09:13:32 UTC 2024


Display histogram is a hardware functionality where a statistics for 'x'
number of frames is generated to form a histogram data. This is notified
to the user via histogram event. Compositor then upon sensing the histogram
event will read the histogram data from KMD via crtc property.

A library can be developed to take this generated histogram as an input and
apply some algorithm to generate an Image Enhancement(IET).

This is further fed back to the KMD via crtc property. KMD will feed this
bask to the hardware. Hardware will use this as a multiplicand factor to
multiply with the incoming pixels at the end of the pipe which is then
pushed onto the display.

One such library Global Histogram Enhancement(GHE) will take the histogram
as input and applied the algorithm to enhance the density and then return 
the enhanced factor.
"This library can be located https://github.com/intel/ghe"

The corresponding mutter changes to enable/disable histogram, read the 
histogram data, communicate with the library and write the enhanced data
back to the KMD is also pushed for review.

Mohammed Thasleem (1):
  tests/kms_histogram: Added IGT support to validate global histogram

 lib/igt_kms.c         |  23 +++
 lib/igt_kms.h         |   5 +
 meson.build           |   7 +
 tests/kms_histogram.c | 354 ++++++++++++++++++++++++++++++++++++++++++
 tests/meson.build     |   2 +
 5 files changed, 391 insertions(+)
 create mode 100644 tests/kms_histogram.c

-- 
2.34.1



More information about the igt-dev mailing list