AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/atomic: track colorop changes of a given plane
@ 2026-03-18 16:12 Melissa Wen
  2026-03-18 16:12 ` [PATCH 1/2] drm/atomic: track individual colorop updates Melissa Wen
  2026-03-18 16:12 ` [PATCH 2/2] drm/amd/display: use plane color_mgmt_changed to track colorop changes Melissa Wen
  0 siblings, 2 replies; 6+ messages in thread
From: Melissa Wen @ 2026-03-18 16:12 UTC (permalink / raw)
  To: airlied, alexander.deucher, christian.koenig, harry.wentland,
	maarten.lankhorst, mripard, simona, siqueira, sunpeng.li,
	tzimmermann
  Cc: Alex Hung, Chaitanya Kumar Borah, Simon Ser, Uma Shankar,
	Xaver Hugl, amd-gfx, kernel-dev, dri-devel

Similar to what is done for tracking CRTC color mgmt property changes
with CRTC `color_mgmt_changed` flag, track colorop updates of a given
plane color pipeline by setting plane `color_mgmt_changed` flag. Also
true if setting a different color pipeline to a given plane. That way,
the driver can react accordingly and update their color blocks.

This small series fix shaper/3D LUT updates when changing night mode
settings on gamescope with a custom branch that supports
`COLOR_PIPELINE`[1].

This series doesn't cover 1D/3D LUT interpolation, since it's documented
as read-only properties.

Let me know your thoughts!

[1] https://github.com/ValveSoftware/gamescope/pull/2113

Melissa Wen

Melissa Wen (2):
  drm/atomic: track individual colorop updates
  drm/amd/display: use plane color_mgmt_changed to track colorop changes

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |  6 ++-
 drivers/gpu/drm/drm_atomic_uapi.c             | 53 +++++++++++++++----
 include/drm/drm_atomic_uapi.h                 |  2 +-
 3 files changed, 48 insertions(+), 13 deletions(-)

-- 
2.51.0


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

end of thread, other threads:[~2026-03-19  9:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-18 16:12 [PATCH 0/2] drm/atomic: track colorop changes of a given plane Melissa Wen
2026-03-18 16:12 ` [PATCH 1/2] drm/atomic: track individual colorop updates Melissa Wen
2026-03-18 17:58   ` Harry Wentland
2026-03-19  9:16   ` kernel test robot
2026-03-18 16:12 ` [PATCH 2/2] drm/amd/display: use plane color_mgmt_changed to track colorop changes Melissa Wen
2026-03-18 17:59   ` Harry Wentland

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