From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 42F3D1F3BA4 for ; Mon, 22 Dec 2025 08:58:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766393930; cv=none; b=GpDGQ0hS6P4IWkZ9/vcVSq6w10nQnCVkIvDZZNGRXe316N/MxZ53tKoJ2AS9tREpO2WXdlCZGripUpVJuDCfdCy0tZlOB9vfqF/uWlubxjbkIs/dxEksrARQHgukRN9yFbnoCROl2GmSaSZoDJ4QZ08I/OkvqtS5zynSI0R7zhg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766393930; c=relaxed/simple; bh=nHt2dwMXECSTsG3fSxiLGaAWsw7Bv2teRjVMIgqQA6s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CTsHlUg2CKmPdBrL3LiHFs+LNvyOWWH/juyu2WKlq40o9gLmK7r25BqdsoZ20PuEqB6ttawucruUQjZL23gzI7k7UZYSHTpLY6T9vo7mmnX3M2a64qhT69bvrjBM5JtcPfQi3svQQ3+s0lNgTjD0gsQS+L/RF1ylsX63opUzh/o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=y7lDuIYB; arc=none smtp.client-ip=209.85.167.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="y7lDuIYB" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-595819064cdso5996180e87.0 for ; Mon, 22 Dec 2025 00:58:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1766393925; x=1766998725; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=jRoWj6fQIVZ5ec4l8AKBjpMeh7YDL/EPpVGkUu95T8Q=; b=y7lDuIYB4FLmeBdC3ovCxYCalcXVeLAu8sCXvzpZHiH9xolXGmuMPZ02gx7H9C3X7m jBjNs8wr2I9nO8kZvSy27+YFFit3gtta0lSywSNnlhL1DjquA2fQ1zo/1EMt5X65/iMR 1MvsQJ8BwSp0hDlJVhG4WGrUZyJHkSqS6uRXYdrf+gKyz46/5z8bQKA7slVZ+d5EfGH1 22etjL3rqGVrZOvdUfDD280/+224I+aZAb0Kzkl6TVFrRLOWrbsXAKki6IgAbU+2lzWN s5dycYv2hV64nER7ayHvnqNyVb5b458EIqNdcUoGwUj4gwCD/RnfPT3hNUu4FsrjqWRZ HluA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766393925; x=1766998725; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jRoWj6fQIVZ5ec4l8AKBjpMeh7YDL/EPpVGkUu95T8Q=; b=JaoV1cKit8ZSo9ilF7dSDzmbniluMC8dbjVHJ+yBtEh//bP6Lo8SX7aXv2TRt0SmF+ njehFsdNQLFLxu6SxABhybdoBX/8m1MNBDOK/kyZoc0b7U4T1kErAENjmiPzuA5tOw6y 2qtCvGepogPFAXT8apPPUV/mEkFovAp6BQ8AcdPGe44Leew6EOfkJ3+jDfYFgvFirLCD 06HUtu9lUViHZPDchdCdjQ+zVxyqlfTu9Lhoq7Bs14pj8DAyR5kR34PMXmFR8xIk1Dw0 zDATngMUAuQraoYOMrA2U9fxl19nLf3N0tBBsy2+gfcIuuWH1pLK4NoNqJv2CtV/+DVZ zPrA== X-Forwarded-Encrypted: i=1; AJvYcCXWx6g7H/x60/waqKBG/qieIQ6pgyMPSH+qIR7DfThynxA2somwcjAYfwqQT0EqQ9GZ50gb+T4Uov+kIrs=@vger.kernel.org X-Gm-Message-State: AOJu0YyeT9mQmsRu/3+DdqwB7O8Z9ETtdl8rHNFI6OKHCqm+Re05t9qX gAR9fW3wzdPG8IwwCAFlTOlkYxrAnNZDC2EYUsbEhmpKaFVxOP0irfMJ/WgH/Gw719w= X-Gm-Gg: AY/fxX5ALbvBeZmbuPXQDeb0qeJRuUeYmRMn7qsNfUrcGgVRj4zGbFNeDjlFcbIcILL Zx93McOytHGRCReuH004mVVCdR+LKuCUyzOp2KyxMA1/2xAindPBbhSYGgfZ+YYcwLu+bHhF92A b78Kh7TWjK/51Q50WVf1Qm7dARyxWXEgUSDgzc/jQXOW8fODtCtGqd/0Moheb0o1gRlanHXHR7f HNspEGl8480gFaudig/0ouP8rNdffELZ3oYwA3OeSGb+S4+duTH04uvIsFyERfOg0fBkPmnwsWB w4m9yPEEkyFIGb4Qbwn0ExH5M0ZR6jaFVM3t6alzECIE76uvyk9OKb/5JltHCZvlp9Amv4Env46 PbrG3b37bjMBjDY0As0KlRfK8TqK+wxzWEtE8F8+QT08M69yC1qe+pKj0K4EygkGBz381UBXn9A kzBqadrvFEWiTF84EmYcKMTbQJIH2fDPY6MT4nf1xmUTd5 X-Google-Smtp-Source: AGHT+IEjjr2NLFmDrfryDt5WBn7sCmpJeVOqGFgaS3Jyv/31cVGYeFCzkDxyXbjv1PH5pPRcEO8DrQ== X-Received: by 2002:a05:6512:3e1f:b0:599:daee:12af with SMTP id 2adb3069b0e04-59a126e50bfmr4705785e87.14.1766393924759; Mon, 22 Dec 2025 00:58:44 -0800 (PST) Received: from nuoska (87-100-249-247.bb.dnainternet.fi. [87.100.249.247]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-59a186280b1sm2936036e87.89.2025.12.22.00.58.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Dec 2025 00:58:44 -0800 (PST) Date: Mon, 22 Dec 2025 10:58:42 +0200 From: Mikko Rapeli To: Tomi Valkeinen Cc: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Laurent Pinchart , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Michal Simek , Bill Mills , Ilias Apalodimas Subject: Re: [PATCH 0/2] drm: xlnx: zynqmp_kms: 16 bpp fixes for Xorg startup on AMD KV260 Message-ID: References: <20251205123751.2257694-1-mikko.rapeli@linaro.org> <533168f1-1655-4947-9032-b08463f502d7@ideasonboard.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi, On Fri, Dec 19, 2025 at 02:30:11PM +0200, Mikko Rapeli wrote: > On Fri, Dec 19, 2025 at 01:59:14PM +0200, Tomi Valkeinen wrote: > > On 05/12/2025 14:37, Mikko Rapeli wrote: > > > Currently on default yocto images Xorg fails to start on AMD KV260 > > > because 24/32 color depth gets detected but does not actually work. > > > > > > These two patches fix the issue and now 16 bpp gets detected > > > and Xorg starts and draws on external HDMI display using > > > kernel.org based linux-yocto kernel. > > > > > > Anatoliy Klymenko (1): > > > drm: xlnx: zynqmp_kms: Init fbdev with 16 bit color > > > > > > Mikko Rapeli (1): > > > drm: xlnx: zynqmp_kms: set preferred_depth to 16 bpp > > > > > > drivers/gpu/drm/xlnx/zynqmp_kms.c | 3 ++- > > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > > > > Did you notice the few already sent serieses on the list where the topic > > has been discussed? > > > [PATCH] drm: xlnx: zynqmp_dp: Support DRM_FORMAT_XRGB8888 > > [PATCH 0/3] drm: zynqmp: Make the video plane primary > > Oh I wasn't aware of these. > > > Or is there something else on KV260 that messes up the 24 bit color? > > These look very similar and likely fix the X11 startup. I will give them > a try. Right, now I've tested: * these patches from Anatoliy and me to help X11 use 16bpp mode by default and removes the need to manually setup Xorg for 16bpp * "drm: xlnx: zynqmp_dp: Support DRM_FORMAT_XRGB8888" which enables the X11 default 24bpp to work, no need to set Xorg config to 16bpp * "drm: zynqmp: Make the video plane primary" which also fixes the X11 default 24bpp to work, no need to set Xorg config to 16bpp All of these fix HDMI graphics output on AMD KV260 board with yocto genericarm64 machine and core-image-sato image which includes Xorg. The graphics rendering is still very slow but I think that is a different problem. I guess the last series from Sean Anderson is moving forward so I'll reply to that thread separately. Tested-by: Mikko Rapeli Cheers, -Mikko