From patchwork Thu May 20 12:19:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12270001 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF9DAC433B4 for ; Thu, 20 May 2021 12:21:27 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9C39761186 for ; Thu, 20 May 2021 12:21:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9C39761186 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=cbqloz1pH+fBljxluwJNhR+DisFMJzPvX4kAJtIhg50=; b=JakyphjxSWPMm/t6oZPuSZIXTk kbM6kDzEctWAfhkSn/149QZacc00jQebjKUkgGsib57UQ+j2ld4QqE2TOTxE48ct0axuQVISPwk6E AqbRTqDxl+5RN5S4QsodmWRPSzrPNyTM0sGHr6ecNr+rFO2TQaEWhdjHUMT1RamdrYDWlIGiwhCTX 5w5Lzt2oUuP+x8W3LRNf96mTtNN55i0XbSSOZKfTqBJ/Z0XHeWora1E80iUTVLnTv23Gf2wAOEKRM b3lROXTJN8xYTfzey+74UnEODaGUJ+/mMdZZO7xXuuJhy4YN2U4zzXuOtxOFI3x3xgkzNcqxQq439 VHP+hmag==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljheg-000l8t-3M; Thu, 20 May 2021 12:19:58 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljheb-000l7j-TM for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 12:19:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=qiccqmCou3cbIbsC9rRvQTsNI1DEI3AmxSOIVDju50k=; b=3Xyxkjr+7Rq1TMXrXjelF0wlSQ 5zkcv94YtBfU692HHQswvRkPJppjIZ9SZT/Xu4lEEzk9QgeRlb7ucoH4bS/3FhNni2nS9/2FXAgzP 81rnjRkCwzvxvKSxhYSO11/sDAXaMFE72O2/pG0akdicvU73/I+FzUV182QrA+ttEhBW4fZwcqONX AweWL2Qv4bjofTGwMajMuemhMGf7rrBRXiKEcSH9vTb6ne0hrkFTbswKAsNpjt6yQRiM1xisoNqiS UwKc4KQygWedPnfTp9BJOtwCJ87fHTII09FU8gr3g2+k0vqDzJJSlPbf3Z7K32m3cp+N9Srxw42tk M8bBtY/Q==; Received: from perceval.ideasonboard.com ([2001:4b98:dc2:55:216:3eff:fef7:d647]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljheZ-00GJIq-CT for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 12:19:52 +0000 Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id EBDE0D41; Thu, 20 May 2021 14:19:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1621513187; bh=VY42HxSKGIYiibjWaT7Yzm4mL9PWiio2eRTcJ2StC44=; h=From:To:Cc:Subject:Date:From; b=pei/N+CeG1HK3ijGa24s55Xi2QO4txm75OYX8dPdWPNgLbTVj3qCMLasdzYQlCsqB sMROW/iV+60rNaJ7hvrMy0uOfzuQaCUDJPBd7BxIjFs3OMigfy4azefmUezlJ0dUht TDK00V+U9/jDKRpbW1GuFDbnTRSjPWSOKVP10Fho= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Cc: Rohit Visavalia , Michal Simek , linux-arm-kernel@lists.infradead.org, Quanyang Wang Subject: [PATCH v2 0/3] drm: xlnx: zynqmp_dpsub: Fix plane handling Date: Thu, 20 May 2021 15:19:39 +0300 Message-Id: <20210520121942.26686-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.28.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_051951_574087_20145D57 X-CRM114-Status: UNSURE ( 8.66 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, This small patch series fixes an issue related to plane blending (patch 1/3), add global alpha support to the overlay plane (patch 2/3) and exposes plane ordering to userspace (patch 3/3). There isn't much to say here, please refer to individual patches for details. Compared to v1, I've dropped making the video plane primary, as that seems to cause issues with existing userspace, and I've been told in the meantime that the DRM/KMS API doesn't require the overlay planes to be on top of the primary plane (even if not doing so is somehow counterintuitive, given the name "overlay"). Laurent Pinchart (3): drm: xlnx: zynqmp_dpsub: Fix graphics layer blending drm: xlnx: zynqmp_dpsub: Add global alpha support drm: xlnx: zynqmp_dpsub: Expose plane ordering to userspace drivers/gpu/drm/xlnx/zynqmp_disp.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)