From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 163BCFA3742 for ; Mon, 31 Oct 2022 10:07:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230203AbiJaKHa (ORCPT ); Mon, 31 Oct 2022 06:07:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230158AbiJaKH1 (ORCPT ); Mon, 31 Oct 2022 06:07:27 -0400 Received: from mo4-p01-ob.smtp.rzone.de (mo4-p01-ob.smtp.rzone.de [85.215.255.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4D27DF1E; Mon, 31 Oct 2022 03:07:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1667210834; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=BWR4o5dpQKvBN+fm6DmhC8rAzcoU8MEhcqlwh67HIAc=; b=Kbj82e32WAQzh1fgTBwGex3R1D8Ce49LoBDtY4yF76VLRkghEw755Yg9oQrSntceGt VhfNXXxORGkB9PbJlpjC+XyOE/oHvq49CwCJD8nhncwHe7jey22xPOFt63sbseQACS1W qaXqL4NTyWymM/2GfOBUogCqmf0YJCMDwOa7ycnPxzHZY4YaTYXsoCL8V41yqCxjkavQ NZqllXRIBkS/xlw8Nazd6ErDjiKAC6BKYUeJVud/7xNiNhldYG+TyYr4OHbx1j1ON6Xj Ag7xv+bbtS4P8yOJIp4cCfMTRskUxxGTKap4vBS7L3eWTmT0NF8oO03khSLQInCvy0g2 p+jA== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj5Apz9PSN6LgsXcGerXQ=" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 48.2.1 DYNA|AUTH) with ESMTPSA id v55d69y9VA7DNJI (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Mon, 31 Oct 2022 11:07:13 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [PATCH 3/3] drm: omapdrm: Do no allocate non-scanout GEMs through DMM/TILER From: "H. Nikolaus Schaller" In-Reply-To: Date: Mon, 31 Oct 2022 11:07:13 +0100 Cc: Tony Lindgren , tomba@kernel.org, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, merlijn@wizzup.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <1642587791-13222-1-git-send-email-ivo.g.dimitrov.75@gmail.com> <1642587791-13222-4-git-send-email-ivo.g.dimitrov.75@gmail.com> <4B3F8E50-3472-4AED-9A77-3E265DF8C928@goldelico.com> <0000784a-ae89-1081-0ec7-fc77d3381545@gmail.com> To: Ivaylo Dimitrov X-Mailer: Apple Mail (2.3445.104.21) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ivaylo, > Am 31.10.2022 um 10:58 schrieb Ivaylo Dimitrov = : >=20 >=20 >=20 > On 31.10.22 =D0=B3. 9:57 =D1=87., H. Nikolaus Schaller wrote: >>> Am 31.10.2022 um 08:44 schrieb H. Nikolaus Schaller = : >>>=20 >>> Hi Ivaylo, >>>=20 >>>> Am 31.10.2022 um 08:05 schrieb Ivaylo Dimitrov = : >>>>=20 >>>> HI Nikolaus, >>>>=20 >>>> On 31.10.22 =D0=B3. 0:08 =D1=87., H. Nikolaus Schaller wrote: >>>>> Hi Ivaylo, >>>>> it took a while until I found time to test newer kernels (mainline = + Letux additions) >>>>> on the OMAP5 Pyra but unfortunately I did not get screen display = for v6.1. Even worse, >>>>> the console was flooded by >>>>=20 >>>> Could you elaborate on that - do you have anything on the display = (during boot or dunno). Do you have simplefb enabled, so boot log to be = visible on the display? >>>=20 >>> No bootlog enabled but I have some printk in the panel driver. It is = initially enabled, then disabled and enabled again. Then the issues = start... >>>=20 >>>> Is that wayland you are trying to run? Do you have PVR driver = enabled? Did you try to boot vanilla kernel? >>>=20 >>> I have tested with Debian Stretch with standard Xorg with "omap" = driver. PVR is not enabled. >> Have cross-checked: my setup uses the fbdev driver. >=20 > omapfb and not omapdrm? or I am missing something. I just have "fbdev" in the xorg.conf. Certainly not the best choice but = it seems to be the most generic setup without having to tweak every = combination of user-space release and kernel version and hardware = variant. Section "Monitor" Identifier "lcd" VendorName "BOE" ModelName "W677L" Option "Rotate" "right" # use = TILER rotation DisplaySize 111 62 # LCD size in = millimeters EndSection Section "Device" Identifier "display0" Driver "fbdev" Option "Monitor-DSI-1" "lcd" Option "HWcursor" "False" EndSection Of course the kernel config uses DRM_OMAP: root@letux:~# uname -a Linux letux 6.1.0-rc2-letux-lpae+ #11029 SMP PREEMPT Sun Oct 30 22:41:25 = CET 2022 armv7l GNU/Linux root@letux:~#=20 root@letux:~# ls -l = /sys/devices/platform/omapdrm.0/drm/card1/card1-DSI-1 total 0 lrwxrwxrwx 1 root root 0 Oct 31 10:03 device -> ../../card1 -r--r--r-- 1 root root 4096 Oct 31 10:03 dpms -r--r--r-- 1 root root 0 Oct 31 10:03 edid -r--r--r-- 1 root root 4096 Oct 31 10:03 enabled -r--r--r-- 1 root root 4096 Oct 31 10:03 modes drwxr-xr-x 2 root root 0 Oct 31 10:03 power -rw-r--r-- 1 root root 4096 Oct 31 10:03 status lrwxrwxrwx 1 root root 0 Oct 31 10:00 subsystem -> = ../../../../../../class/drm -rw-r--r-- 1 root root 4096 Oct 31 10:00 uevent root@letux:~#=20 root@letux:~# gunzip X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 63806FA3740 for ; Mon, 31 Oct 2022 10:07:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 14C7A10E182; Mon, 31 Oct 2022 10:07:32 +0000 (UTC) Received: from mo4-p01-ob.smtp.rzone.de (mo4-p01-ob.smtp.rzone.de [81.169.146.164]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0744810E18A for ; Mon, 31 Oct 2022 10:07:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1667210834; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=BWR4o5dpQKvBN+fm6DmhC8rAzcoU8MEhcqlwh67HIAc=; b=Kbj82e32WAQzh1fgTBwGex3R1D8Ce49LoBDtY4yF76VLRkghEw755Yg9oQrSntceGt VhfNXXxORGkB9PbJlpjC+XyOE/oHvq49CwCJD8nhncwHe7jey22xPOFt63sbseQACS1W qaXqL4NTyWymM/2GfOBUogCqmf0YJCMDwOa7ycnPxzHZY4YaTYXsoCL8V41yqCxjkavQ NZqllXRIBkS/xlw8Nazd6ErDjiKAC6BKYUeJVud/7xNiNhldYG+TyYr4OHbx1j1ON6Xj Ag7xv+bbtS4P8yOJIp4cCfMTRskUxxGTKap4vBS7L3eWTmT0NF8oO03khSLQInCvy0g2 p+jA== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj5Apz9PSN6LgsXcGerXQ=" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 48.2.1 DYNA|AUTH) with ESMTPSA id v55d69y9VA7DNJI (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Mon, 31 Oct 2022 11:07:13 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [PATCH 3/3] drm: omapdrm: Do no allocate non-scanout GEMs through DMM/TILER From: "H. Nikolaus Schaller" In-Reply-To: Date: Mon, 31 Oct 2022 11:07:13 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1642587791-13222-1-git-send-email-ivo.g.dimitrov.75@gmail.com> <1642587791-13222-4-git-send-email-ivo.g.dimitrov.75@gmail.com> <4B3F8E50-3472-4AED-9A77-3E265DF8C928@goldelico.com> <0000784a-ae89-1081-0ec7-fc77d3381545@gmail.com> To: Ivaylo Dimitrov X-Mailer: Apple Mail (2.3445.104.21) X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tomba@kernel.org, Tony Lindgren , merlijn@wizzup.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, airlied@linux.ie, linux-omap@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Ivaylo, > Am 31.10.2022 um 10:58 schrieb Ivaylo Dimitrov = : >=20 >=20 >=20 > On 31.10.22 =D0=B3. 9:57 =D1=87., H. Nikolaus Schaller wrote: >>> Am 31.10.2022 um 08:44 schrieb H. Nikolaus Schaller = : >>>=20 >>> Hi Ivaylo, >>>=20 >>>> Am 31.10.2022 um 08:05 schrieb Ivaylo Dimitrov = : >>>>=20 >>>> HI Nikolaus, >>>>=20 >>>> On 31.10.22 =D0=B3. 0:08 =D1=87., H. Nikolaus Schaller wrote: >>>>> Hi Ivaylo, >>>>> it took a while until I found time to test newer kernels (mainline = + Letux additions) >>>>> on the OMAP5 Pyra but unfortunately I did not get screen display = for v6.1. Even worse, >>>>> the console was flooded by >>>>=20 >>>> Could you elaborate on that - do you have anything on the display = (during boot or dunno). Do you have simplefb enabled, so boot log to be = visible on the display? >>>=20 >>> No bootlog enabled but I have some printk in the panel driver. It is = initially enabled, then disabled and enabled again. Then the issues = start... >>>=20 >>>> Is that wayland you are trying to run? Do you have PVR driver = enabled? Did you try to boot vanilla kernel? >>>=20 >>> I have tested with Debian Stretch with standard Xorg with "omap" = driver. PVR is not enabled. >> Have cross-checked: my setup uses the fbdev driver. >=20 > omapfb and not omapdrm? or I am missing something. I just have "fbdev" in the xorg.conf. Certainly not the best choice but = it seems to be the most generic setup without having to tweak every = combination of user-space release and kernel version and hardware = variant. Section "Monitor" Identifier "lcd" VendorName "BOE" ModelName "W677L" Option "Rotate" "right" # use = TILER rotation DisplaySize 111 62 # LCD size in = millimeters EndSection Section "Device" Identifier "display0" Driver "fbdev" Option "Monitor-DSI-1" "lcd" Option "HWcursor" "False" EndSection Of course the kernel config uses DRM_OMAP: root@letux:~# uname -a Linux letux 6.1.0-rc2-letux-lpae+ #11029 SMP PREEMPT Sun Oct 30 22:41:25 = CET 2022 armv7l GNU/Linux root@letux:~#=20 root@letux:~# ls -l = /sys/devices/platform/omapdrm.0/drm/card1/card1-DSI-1 total 0 lrwxrwxrwx 1 root root 0 Oct 31 10:03 device -> ../../card1 -r--r--r-- 1 root root 4096 Oct 31 10:03 dpms -r--r--r-- 1 root root 0 Oct 31 10:03 edid -r--r--r-- 1 root root 4096 Oct 31 10:03 enabled -r--r--r-- 1 root root 4096 Oct 31 10:03 modes drwxr-xr-x 2 root root 0 Oct 31 10:03 power -rw-r--r-- 1 root root 4096 Oct 31 10:03 status lrwxrwxrwx 1 root root 0 Oct 31 10:00 subsystem -> = ../../../../../../class/drm -rw-r--r-- 1 root root 4096 Oct 31 10:00 uevent root@letux:~#=20 root@letux:~# gunzip