Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH 0/2] Enable Darkscreen Feature
@ 2023-10-25 10:27 Nemesa Garg
  2023-10-25 10:27 ` [Intel-gfx] [PATCH 1/2] drm/i915: Add Darkscreen registers and timer handler Nemesa Garg
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Nemesa Garg @ 2023-10-25 10:27 UTC (permalink / raw)
  To: intel-gfx

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: Add Darkscreen registers and timer handler.
  drm/i915: Add the darkscreen debugfs under crtc

 drivers/gpu/drm/i915/Makefile                 |   1 +
 .../gpu/drm/i915/display/intel_darkscreen.c   | 107 ++++++++++++++++++
 .../gpu/drm/i915/display/intel_darkscreen.h   |  40 +++++++
 .../drm/i915/display/intel_display_debugfs.c  |   2 +
 .../drm/i915/display/intel_display_types.h    |   3 +
 drivers/gpu/drm/i915/i915_reg.h               |   9 ++
 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

-- 
2.25.1


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

end of thread, other threads:[~2023-10-27  6:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-25 10:27 [Intel-gfx] [PATCH 0/2] Enable Darkscreen Feature Nemesa Garg
2023-10-25 10:27 ` [Intel-gfx] [PATCH 1/2] drm/i915: Add Darkscreen registers and timer handler Nemesa Garg
2023-10-25 11:18   ` Jani Nikula
2023-10-25 10:27 ` [Intel-gfx] [PATCH 2/2] drm/i915: Add the darkscreen debugfs under crtc Nemesa Garg
2023-10-25 11:21   ` Jani Nikula
2023-10-25 20:04 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Enable Darkscreen Feature Patchwork
2023-10-25 20:04 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-10-25 20:17 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-10-27  6:32 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox