From nobody Sat Feb 7 21:08:21 2026 Received: from out-183.mta0.migadu.com (out-183.mta0.migadu.com [91.218.175.183]) (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 9901633ADBF for ; Tue, 6 Jan 2026 16:43:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.183 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767717794; cv=none; b=USMr+PMxoPoj6X9PhVpd12rAgzTUBULhVbEHHsc6wGmZ5dTxtluYemlzNuc3mQbBKTtrA3r83c1Ygh2Ykb444zzvGj0x/4LYC+gpS4fjK8mEApcL9INVL3rZlfiKTRIcFWGtmemDKzVtd/M4IXIKCCfUd4HXkIAirV9VehJQe3w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767717794; c=relaxed/simple; bh=GBRSbMM4ky+1LksUqZJFOdJ/OByld7XkJXVDjznOSo8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=sBXTmRmr1KHxyshpnSbSl8uf6dzAAa2pLfzSSeGETEWRzbtRU2slrKKqzu1G1Zrraj4k8o+1oVry+y0GkmoXGOhGUzHl3pEHlWFM6vYzcy3OKORVoZF7FNz4CI9ZF0SP46dyZ3xd/gSjLE75ooQgsNE2jxLVSq7LfUYvnFx0joU= 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=QlTkB4ct; arc=none smtp.client-ip=91.218.175.183 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="QlTkB4ct" 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=1767717790; 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: in-reply-to:in-reply-to:references:references; bh=NkZs5zdh+IB8LwYC9eN3BRgGph4b858iwLQZ9mtjEw0=; b=QlTkB4ctl3Lk0JPk81oKR5iSzGxZW6KC9kuKtr3fVp0v+CQs0/y5iLS72FMldN2n3pHMdL nn69V2rcdReXOmRpOgbJgGFsHnF05pmgFzmCHd5iGVYjhZfeHFSu6vsIEK5eFEPzi1CBNi scXS28HikHVHZfRIKuC5Jwzfu43KmCE= 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 2/4] drm: zynqmp: Check property creation status Date: Tue, 6 Jan 2026 11:42:45 -0500 Message-Id: <20260106164247.472544-3-sean.anderson@linux.dev> In-Reply-To: <20260106164247.472544-1-sean.anderson@linux.dev> References: <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: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" Make sure to return an error in the event that we can't create our properties. Fixes: 650f12042b85 ("drm: xlnx: zynqmp_dpsub: Add global alpha support") Fixes: 8c772f0b2b8e ("drm: xlnx: zynqmp_dpsub: Expose plane ordering to use= rspace") Signed-off-by: Sean Anderson Reviewed-by: Anatoliy Klymenko Reviewed-by: Thomas Zimmermann --- (no changes since v1) drivers/gpu/drm/xlnx/zynqmp_kms.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/xlnx/zynqmp_kms.c b/drivers/gpu/drm/xlnx/zynqm= p_kms.c index 02f3a7d78cf8..816bea4ea986 100644 --- a/drivers/gpu/drm/xlnx/zynqmp_kms.c +++ b/drivers/gpu/drm/xlnx/zynqmp_kms.c @@ -175,9 +175,15 @@ static int zynqmp_dpsub_create_planes(struct zynqmp_dp= sub *dpsub) =20 drm_plane_helper_add(plane, &zynqmp_dpsub_plane_helper_funcs); =20 - drm_plane_create_zpos_immutable_property(plane, i); - if (i =3D=3D ZYNQMP_DPSUB_LAYER_GFX) - drm_plane_create_alpha_property(plane); + ret =3D drm_plane_create_zpos_immutable_property(plane, i); + if (ret) + return ret; + + if (i =3D=3D ZYNQMP_DPSUB_LAYER_GFX) { + ret =3D drm_plane_create_alpha_property(plane); + if (ret) + return ret; + } } =20 return 0; --=20 2.35.1.1320.gc452695387.dirty