intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Intel-gfx] [v2 0/2]  Enable Darkscreen Feature
@ 2023-10-27  9:53 Nemesa Garg
  2023-10-27  9:53 ` [Intel-gfx] [v2 1/2] drm/i915/display: Add support for darskscreen detection Nemesa Garg
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Nemesa Garg @ 2023-10-27  9:53 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/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

-- 
2.25.1


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

end of thread, other threads:[~2023-12-12  9:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-27  9:53 [Intel-gfx] [v2 0/2] Enable Darkscreen Feature Nemesa Garg
2023-10-27  9:53 ` [Intel-gfx] [v2 1/2] drm/i915/display: Add support for darskscreen detection Nemesa Garg
2023-10-27 11:10   ` Jani Nikula
2023-10-30  9:37     ` Garg, Nemesa
2023-10-30 10:19       ` Jani Nikula
2023-10-31 10:18         ` Garg, Nemesa
2023-12-12  6:09   ` Murthy, Arun R
2023-12-12  9:04     ` Jani Nikula
2023-10-27  9:53 ` [Intel-gfx] [v2 2/2] drm/i915/display: Add darkscreen debugfs entry under crtc Nemesa Garg
2023-12-12  6:23   ` Murthy, Arun R
2023-10-27 19:57 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Enable Darkscreen Feature (rev2) Patchwork
2023-10-27 19:57 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-10-27 20:15 ` [Intel-gfx] ✗ 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).