[PATCH 0/2] drm/komeda: Fix GLB_CORE_ID parsing and initialize encoder clone masks

From: Raveendra Talabattula

Date: Tue Jul 21 2026 - 09:54:22 EST


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@xxxxxxx
Cc: maarten.lankhorst@xxxxxxxxxxxxxxx
Cc: mripard@xxxxxxxxxx
Cc: tzimmermann@xxxxxxx
Cc: airlied@xxxxxxxxx
Cc: simona@xxxxxxxx
Cc: james.qian.wang@xxxxxxx
Cc: vincenzo.frascino@xxxxxxx
Cc: nayden.kanchev@xxxxxxx
Cc: charvi.mehta@xxxxxxx
Signed-off-by: Raveendra Talabattula <raveendra.talabattula@xxxxxxx>

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