intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv4 0/7] Display Global Histogram
@ 2024-09-25 15:07 Arun R Murthy
  2024-09-25 15:07 ` [PATCH 1/7] drm/i915/histogram: Define registers for histogram Arun R Murthy
                   ` (9 more replies)
  0 siblings, 10 replies; 18+ messages in thread
From: Arun R Murthy @ 2024-09-25 15:07 UTC (permalink / raw)
  To: intel-xe, intel-gfx, dri-devel; +Cc: Arun R Murthy

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 will 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 use this
IET 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 at https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3873
The IGT changes for validating the histogram event and reading the
histogram is also pushed for review at https://patchwork.freedesktop.org/series/135789/

Test-with: 20240705091333.328322-1-mohammed.thasleem@intel.com

Arun R Murthy (7):
  drm/i915/histogram: Define registers for histogram
  drm/i915/histogram: Add support for histogram
  drm/xe: Add histogram support to Xe builds
  drm/i915/histogram: histogram interrupt handling
  drm/i915/histogram: Add crtc properties for global histogram
  drm/i915/histogram: histogram delay counter doesnt reset
  drm/i915/histogram: Histogram changes for Display 20+

 drivers/gpu/drm/i915/Makefile                 |   1 +
 drivers/gpu/drm/i915/display/intel_atomic.c   |   5 +
 drivers/gpu/drm/i915/display/intel_crtc.c     | 169 ++++++++-
 drivers/gpu/drm/i915/display/intel_crtc.h     |   5 +
 drivers/gpu/drm/i915/display/intel_display.c  |  13 +
 .../gpu/drm/i915/display/intel_display_irq.c  |   6 +-
 .../drm/i915/display/intel_display_types.h    |  15 +
 .../gpu/drm/i915/display/intel_histogram.c    | 352 ++++++++++++++++++
 .../gpu/drm/i915/display/intel_histogram.h    |  38 ++
 .../drm/i915/display/intel_histogram_reg.h    |  80 ++++
 drivers/gpu/drm/i915/i915_reg.h               |   5 +-
 drivers/gpu/drm/xe/Makefile                   |   1 +
 12 files changed, 686 insertions(+), 4 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_histogram.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_histogram.h
 create mode 100644 drivers/gpu/drm/i915/display/intel_histogram_reg.h

-- 
2.25.1


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2024-11-18  9:12 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-25 15:07 [PATCHv4 0/7] Display Global Histogram Arun R Murthy
2024-09-25 15:07 ` [PATCH 1/7] drm/i915/histogram: Define registers for histogram Arun R Murthy
2024-09-26 10:13   ` Jani Nikula
2024-10-23  5:55     ` Murthy, Arun R
2024-09-25 15:07 ` [PATCHv2 2/7] drm/i915/histogram: Add support " Arun R Murthy
2024-10-24  5:10   ` Kandpal, Suraj
2024-10-24  5:12   ` Kandpal, Suraj
2024-09-25 15:07 ` [PATCH 3/7] drm/xe: Add histogram support to Xe builds Arun R Murthy
2024-09-25 15:07 ` [PATCHv4 4/7] drm/i915/histogram: histogram interrupt handling Arun R Murthy
2024-10-24  5:26   ` Kandpal, Suraj
2024-11-18  9:12     ` Murthy, Arun R
2024-09-25 15:07 ` [PATCHv4 5/7] drm/i915/histogram: Add crtc properties for global histogram Arun R Murthy
2024-10-24 11:57   ` Kandpal, Suraj
2024-09-25 15:07 ` [PATCH 6/7] drm/i915/histogram: histogram delay counter doesnt reset Arun R Murthy
2024-09-25 15:07 ` [PATCHv4 7/7] drm/i915/histogram: Histogram changes for Display 20+ Arun R Murthy
2024-09-27 20:06 ` ✗ Fi.CI.CHECKPATCH: warning for Display Global Histogram (rev5) Patchwork
2024-09-27 20:06 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-09-27 20:35 ` ✗ Fi.CI.BAT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).