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: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Raveendra Talabattula <[email protected]> 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
