Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v3 0/2] lib/igt_kms: Reset leftover color state
@ 2026-12-01 21:50 Gil Dekel
  2026-12-01 21:50 ` [PATCH i-g-t v3 1/2] lib/igt_kms: Reset leftover COLOR_PIPELINE Gil Dekel
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Gil Dekel @ 2026-12-01 21:50 UTC (permalink / raw)
  To: igt-dev
  Cc: Gil Dekel, Melissa Wen, Chaitanya Kumar Borah, Swati Sharma,
	Kamil Konieczny, Mark Yacoub

A KMS client that exits without cleaning up can leave plane color
pipelines and connector colorimetry set, and IGT inherits that state
without always being able to see it. Patch 1 resets COLOR_PIPELINE to
Bypass even for tests that never enable the color pipeline client cap.
Patch 2 resets the connector Colorspace property to Default.

v3:
- Patch 1/2: reset leaked planes plane-by-plane directly and stop on
  -EACCES; log leaked resets with igt_info(), non-EACCES failures with
  igt_warn(), and -EACCES with igt_debug(); correct commit message and
  comment on hiding vs. rejecting legacy properties (Melissa Wen).
- Rebased on master and sent as a fresh thread so Patchwork keeps both
  patches together in one series; added Kamil to Cc.
v2:
- Patch 1/2: reuse plane_resources from igt_display_require() without
  helper functions or temporary id arrays.

Cc: Melissa Wen <mwen@igalia.com>
Cc: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Cc: Swati Sharma <swati2.sharma@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Mark Yacoub <markyacoub@google.com>

Gil Dekel (2):
  lib/igt_kms: Reset leftover COLOR_PIPELINE
  lib/igt_kms: Reset connector Colorspace

 lib/igt_kms.c | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++
 lib/igt_kms.h |  1 +
 2 files changed, 79 insertions(+)

-- 
Gil Dekel, Senior SWE, Google | Android Laptops & Tablets Display


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

end of thread, other threads:[~2026-12-04 18:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 21:50 [PATCH i-g-t v3 0/2] lib/igt_kms: Reset leftover color state Gil Dekel
2026-12-01 21:50 ` [PATCH i-g-t v3 1/2] lib/igt_kms: Reset leftover COLOR_PIPELINE Gil Dekel
2026-12-04 18:24   ` Melissa Wen
2026-12-01 21:50 ` [PATCH i-g-t v3 2/2] lib/igt_kms: Reset connector Colorspace Gil Dekel
2026-12-04 18:05   ` Melissa Wen
2026-12-01 22:20 ` ✓ Xe.CI.BAT: success for lib/igt_kms: Reset leftover color state Patchwork
2026-12-01 22:39 ` ✓ i915.CI.BAT: " Patchwork
2026-12-02 18:10 ` ✓ Xe.CI.FULL: " Patchwork
2026-12-02 23:27 ` ✗ i915.CI.Full: failure " Patchwork

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