All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/komeda: Fix GLB_CORE_ID parsing and initialize encoder clone masks
@ 2026-07-21 13:52 Raveendra Talabattula
  2026-07-21 13:52 ` [PATCH 1/2] drm/komeda: Fix bits parsing of GLB_CORE_ID Raveendra Talabattula
  2026-07-21 13:52 ` [PATCH 2/2] drm/komeda: Initialize encoder possible_clones Raveendra Talabattula
  0 siblings, 2 replies; 7+ messages in thread
From: Raveendra Talabattula @ 2026-07-21 13:52 UTC (permalink / raw)
  To: dri-devel
  Cc: linux-kernel, Raveendra Talabattula, liviu.dudau,
	maarten.lankhorst, mripard, tzimmermann, airlied, simona,
	james.qian.wang, vincenzo.frascino, nayden.kanchev, charvi.mehta

Komeda currently decodes GLB_CORE_ID with bit definitions that do not
match the hardware register layout, which leads to incorrect hardware
version reporting.

Patch 1 fixes the GLB_CORE_ID field definitions so the reported product
version matches the hardware specification.

Komeda also leaves encoder->possible_clones unset, so it remains zero
for all encoders. As a result, DRM clone-mask validation can reject
writeback configurations because no encoder is advertised as
clone-compatible.

Patch 2 initializes encoder->possible_clones after encoder
registration, making the clone-mask setup explicit for registered
encoders.

Cc: liviu.dudau@arm.com
Cc: maarten.lankhorst@linux.intel.com
Cc: mripard@kernel.org
Cc: tzimmermann@suse.de
Cc: airlied@gmail.com
Cc: simona@ffwll.ch
Cc: james.qian.wang@arm.com
Cc: vincenzo.frascino@arm.com
Cc: nayden.kanchev@arm.com
Cc: charvi.mehta@arm.com
Signed-off-by: Raveendra Talabattula <raveendra.talabattula@arm.com>

Raveendra Talabattula (2):
  drm/komeda: Fix bits parsing of GLB_CORE_ID
  drm/komeda: Initialize encoder possible_clones

 .../drm/arm/display/include/malidp_product.h  | 12 +++++++----
 .../gpu/drm/arm/display/komeda/komeda_kms.c   | 20 +++++++++++++++++++
 2 files changed, 28 insertions(+), 4 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-07-31 14:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-21 13:52 [PATCH 0/2] drm/komeda: Fix GLB_CORE_ID parsing and initialize encoder clone masks Raveendra Talabattula
2026-07-21 13:52 ` [PATCH 1/2] drm/komeda: Fix bits parsing of GLB_CORE_ID Raveendra Talabattula
2026-07-28 14:06   ` Liviu Dudau
2026-07-21 13:52 ` [PATCH 2/2] drm/komeda: Initialize encoder possible_clones Raveendra Talabattula
2026-07-28 14:20   ` Liviu Dudau
2026-07-30 13:43     ` Raveendra Talabattula
2026-07-31 14:08       ` Liviu Dudau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.