From: Gil Dekel <gildekel@google.com>
To: igt-dev@lists.freedesktop.org
Cc: Gil Dekel <gildekel@google.com>, Melissa Wen <mwen@igalia.com>,
Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>,
Swati Sharma <swati2.sharma@intel.com>,
Kamil Konieczny <kamil.konieczny@linux.intel.com>,
Mark Yacoub <markyacoub@google.com>
Subject: [PATCH i-g-t v4 0/2] lib/igt_kms: Reset leftover color state
Date: Fri, 4 Dec 2026 18:36:22 -0500 [thread overview]
Message-ID: <20261204233624.2091892-1-gildekel@google.com> (raw)
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.
v4:
- Patch 2/2: match surrounding indentation in
enum igt_atomic_connector_properties (Melissa Wen).
- Rebased on master and collected Melissa's Reviewed-by tags on both
patches.
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
next reply other threads:[~2026-12-04 23:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 23:36 Gil Dekel [this message]
2026-12-04 23:36 ` [PATCH i-g-t v4 1/2] lib/igt_kms: Reset leftover COLOR_PIPELINE Gil Dekel
2026-12-04 23:36 ` [PATCH i-g-t v4 2/2] lib/igt_kms: Reset connector Colorspace Gil Dekel
2026-12-05 5:41 ` ✓ Xe.CI.BAT: success for lib/igt_kms: Reset leftover color state (rev2) Patchwork
2026-12-05 5:58 ` ✓ i915.CI.BAT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261204233624.2091892-1-gildekel@google.com \
--to=gildekel@google.com \
--cc=chaitanya.kumar.borah@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@linux.intel.com \
--cc=markyacoub@google.com \
--cc=mwen@igalia.com \
--cc=swati2.sharma@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox