From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-178.mta0.migadu.com (out-178.mta0.migadu.com [91.218.175.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6C4BE33ADB1 for ; Tue, 6 Jan 2026 16:43:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767717792; cv=none; b=uEsmxFi3TEUitvsOUm/g+xT4c9LsNsSUskhlXb95nU11YmT9BfHl77XsTTebQugsyKxOyfm0T2as9eUt1ReGxNYtfxQBKDAPrOOovyosyXNj82zB40Snz666tNQ+/nP4VykZwmiOxfCTfbUs5W7vLn4y5BLumnZPBAeYeM+NKX0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767717792; c=relaxed/simple; bh=YLDs2ndRVmqxucuCRC5N5Ai0AawboUOmkpAEXWNMoaM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=LNSzehucfHnWQPc7qSEzGRYX2etKi3EnS4uwMBCfJ64EIrLixp8T0vEY15hrUkGFsaKXlkvqXib/xCUL2hzlSPJ2jljtYi8HRTkHYuyDUiOqW5pgLQVcmnj8HLICeWrjZdmpFRDSka8GX6HITvJR60gfRMFyNu6PKK9rRFq8Hro= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=eversUs4; arc=none smtp.client-ip=91.218.175.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="eversUs4" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1767717785; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=hLJ5TSFgVxNb97ViY0bF75+yIlZ7EweJuk9FX1+8Rs8=; b=eversUs4uq7J0CoDWipujPj+7P8CGr5Ig60nfSJn2W1JXdDo0egx9IDjsqZfW/c06CTFVW sGpdkXyGeFavWav8XbSXYLpHMOzp5+Vlr6Yq6DekMzXAaPtyaIxJr/h2Nj5ZO4PBz55uMk DvmORhgPPjoA7X4/D3Lej6NaIMNtNi0= From: Sean Anderson To: Laurent Pinchart , Tomi Valkeinen , dri-devel@lists.freedesktop.org Cc: Simona Vetter , Thomas Zimmermann , linux-kernel@vger.kernel.org, Maxime Ripard , David Airlie , linux-arm-kernel@lists.infradead.org, Michal Simek , Anatoliy Klymenko , Maarten Lankhorst , Mike Looijmans , Sean Anderson Subject: [PATCH v2 0/4] drm: zynqmp: Make the video plane primary Date: Tue, 6 Jan 2026 11:42:43 -0500 Message-Id: <20260106164247.472544-1-sean.anderson@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT The graphics plane does not support XRGB8888, which is the default mode X uses for 24-bit color. Because of this, X must be set to use 16-bit color, which has a measurable performance penalty. Make the video plane the primary plane as it natively supports XRGB8888. An alternative approach to add XRGB8888 to the graphics plane is discussed in [1], as well as in patch 2. [1] https://lore.kernel.org/dri-devel/20250627145058.6880-1-mike.looijmans@topic.nl/ Changes in v2: - Allow specifying blend mode default - Advertise coverage instead of premulti, since that's what the hardware supports. - Set default blend mode to none since that's what the default was before this series. Sean Anderson (4): drm/drm_blend: Allow specifying blend mode default drm: zynqmp: Check property creation status drm: zynqmp: Make the video plane primary drm: zynqmp: Add blend mode property to graphics plane drivers/gpu/drm/drm_blend.c | 22 ++++++------- drivers/gpu/drm/xlnx/zynqmp_kms.c | 53 +++++++++++++++++++++++++------ include/drm/drm_blend.h | 26 +++++++++++++-- 3 files changed, 78 insertions(+), 23 deletions(-) -- 2.35.1.1320.gc452695387.dirty