From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-180.mta0.migadu.com (out-180.mta0.migadu.com [91.218.175.180]) (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 7E49D32E15E for ; Fri, 14 Nov 2025 15:35:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763134522; cv=none; b=TcK0J6fbYbzO/e2L5f/mUa6jX1otdNaNmElPSnFhYiVViLt0rvUtfY4kCPwGB/LiLmg9tijJicsSQtqxeGhBEyR7bK9J1C53zEU1K3GaPmtcOshaO83AQaDn0hJoNetL/MbFpUKPmGIDlY59NOQ2oSOpMj9j6dElOYpeZUuMKdQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763134522; c=relaxed/simple; bh=rs1VsPb0bWailt7AHmkhv8+zXsImK9oWg3sCVHyckeY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=qagKvEyh2fT0K3FpK61QlWWxySwuVYAbjFCMoEKki1MkaRvF/M6cRyttm4QG2dIETlxSPZEWcuV9t8B876LxcFsDBKLRi+M2yGF7+WFm97bbRcLdofOY0MQszC5DcTlqVb6ItdTIZw8dBS9hjijiD0nzVAOJ78bugQTr0B9Hnsg= 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=i9s/wnTa; arc=none smtp.client-ip=91.218.175.180 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="i9s/wnTa" Message-ID: <24a9a9a2-ba7c-4619-96dc-4355d850561b@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1763134515; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6HUebMiP/35FO6RcYY0B8DO/zm6sJXKATe5rmen/gPc=; b=i9s/wnTaP9tFTF8VtyQN0XH3s4GEZVrxuhAZBnM1urA/1O1tz50RsnPIzMIR2g4dzT0+j4 IGK5PLb4/kPZ7NB9GEcPZ2LYPRKhzWLSdC4XjWM3pIzole1EiEjz0/DWuLS8XRkoQwn3U3 B/kOyP+9g7GGyT6UT2XZy9O8dNLi3BE= Date: Fri, 14 Nov 2025 10:35:10 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH 0/3] drm: zynqmp: Make the video plane primary To: Thomas Zimmermann , Laurent Pinchart , Tomi Valkeinen , dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, Mike Looijmans , David Airlie , Maarten Lankhorst , Anatoliy Klymenko , Maxime Ripard , linux-arm-kernel@lists.infradead.org, Simona Vetter , Michal Simek References: <20251113203715.2768107-1-sean.anderson@linux.dev> <36048dd7-796f-495d-b715-d8f65a7c2f98@suse.de> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Sean Anderson In-Reply-To: <36048dd7-796f-495d-b715-d8f65a7c2f98@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Hi Thomas, On 11/14/25 02:42, Thomas Zimmermann wrote: > Hi > > Am 13.11.25 um 21:37 schrieb Sean Anderson: >> 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. > > Did you try to set drm_device.mode_config.preferred_depth = 16, like at [1]?  IIRC user space looks at this value to auto-detect the color format. I have not tried that. But I would rather use 24-bit color for the performance boost. --Sean