mbox series

[v2,0/2] Enable Darkscreen Feature

Message ID 20231027095336.3059445-1-nemesa.garg@intel.com (mailing list archive)
Headers show
Series Enable Darkscreen Feature | expand

Message

Nemesa Garg Oct. 27, 2023, 9:53 a.m. UTC
The logic checks for any black screen at pipe level and
upon such detection prints error. Darkscreen compares the
pixels with the compare value(0x00 - black) for the detection
purpose. This feature can be enables/disabled through debugfs.

Nemesa Garg (2):
  drm/i915/display: Add support for darskscreen detection
  drm/i915/display: Add darkscreen debugfs entry under crtc

 drivers/gpu/drm/i915/Makefile                 |   1 +
 .../gpu/drm/i915/display/intel_darkscreen.c   | 123 ++++++++++++++++++
 .../gpu/drm/i915/display/intel_darkscreen.h   |  26 ++++
 .../drm/i915/display/intel_display_debugfs.c  |   2 +
 .../drm/i915/display/intel_display_types.h    |   2 +
 drivers/gpu/drm/i915/i915_reg.h               |   8 ++
 6 files changed, 162 insertions(+)
 create mode 100644 drivers/gpu/drm/i915/display/intel_darkscreen.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_darkscreen.h