From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2AC7440F75E for ; Mon, 3 Aug 2026 14:21:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785766902; cv=none; b=IVaIBzibWOo9qFxBn3lFQsGM0mWSdgeJAyhEqSluiUX5dbrxub8rpwJkpXk5uKRdvRHMB/fhYoGWw5OKvPCV3wWjZMnwUv251LGZuDu8y31I4UX68sqNz+4qEL7w6WU9+SvpgKMkOF3KnuYjVF9MU1pWa43dVGRyoL6XUN40+F0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785766902; c=relaxed/simple; bh=6l9n8cU0Nn9oPQJ68xsaS7I0q2OdVIL+2o7pPAJduMA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aernAxFlgoXk9YUWaxjO2CWu1rC1BDz7wPlOF53iPSBuQ7E6vbyYRzNeABetO9Y1G2jMGIHUIpW1wbK2AerEOaplXdZhaTQVGZ0r4iayCt7Vqm2AhrG/m5NghcJ6E2oFULrxe+AN+hjWTzB9+yKo2SAaVPFfh4p6UwbKRmViiuI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=T1OGMazb; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b="T1OGMazb" Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8270B143D; Mon, 3 Aug 2026 07:21:36 -0700 (PDT) Received: from e135116.arm.com (unknown [10.57.0.74]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 97D6E3F632; Mon, 3 Aug 2026 07:21:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1785766900; bh=6l9n8cU0Nn9oPQJ68xsaS7I0q2OdVIL+2o7pPAJduMA=; h=From:To:Cc:Subject:Date:From; b=T1OGMazbV4uKFYSbaA7cfBEEpTgvgz+N7tizIqXJ/I6NRajiX9VRKo61fjt09rQzo chodwQyyfgcuaOwTz0woKdnmXCzdVfpIfG7bSyC/1DziIPvNF4z8ahk3zvEurMhXcf 0rrjj6+cf0KwIf3vL0k5BAkyEshct0eezuoNYJOo= From: Raveendra Talabattula To: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, Raveendra Talabattula , liviu.dudau@arm.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, james.qian.wang@arm.com, asad.malik@arm.com, vincenzo.frascino@arm.com, nayden.kanchev@arm.com, charvi.mehta@arm.com Subject: [PATCH v2 0/2] drm/komeda: Fix GLB_CORE_ID parsing and initialize encoder clone masks Date: Mon, 3 Aug 2026 15:21:20 +0100 Message-ID: <20260803142122.4127851-1-raveendra.talabattula@arm.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. DRM clone-mask validation can reject Komeda display + writeback configurations because the encoder pair attached to one CRTC does not advertise the required reciprocal possible_clones relationship. Patch 2 sets the display/writeback clone masks when the writeback connector is created, making the clone relationship explicit for the encoder pair attached to that CRTC. Changes in v2: - Patch 1: add a short GLB_CORE_ID layout comment and drop the redundant product-id mask and shift-by-zero change noted in review. - Patch 2: replace the global encoder mask initialization with per-CRTC display/writeback clone-mask setup. - Patch 2: include each encoder's own bit in possible_clones. - Update patch 2 subject and cover letter text to match the localized fix. 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: asad.malik@arm.com Cc: vincenzo.frascino@arm.com Cc: nayden.kanchev@arm.com Cc: charvi.mehta@arm.com Signed-off-by: Raveendra Talabattula Raveendra Talabattula (1): drm/komeda: Fix bits parsing of GLB_CORE_ID Vincenzo Frascino (1): drm/komeda: Set display/writeback clone masks .../drm/arm/display/include/malidp_product.h | 10 +++++++--- .../arm/display/komeda/komeda_wb_connector.c | 33 +++++++++++++++++++ 2 files changed, 40 insertions(+), 3 deletions(-) -- 2.43.0