From nobody Tue Aug 31 15:47:55 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D3EFD17ACD07 for ; Tue, 31 Aug 2021 15:48:00 +0000 (UTC) (envelope-from jsm@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GzWmc5q85z3Cwd for ; Tue, 31 Aug 2021 15:48:00 +0000 (UTC) (envelope-from jsm@FreeBSD.org) Received: from freebsd2.freebsd.lan (mail.northatlanticmusicsupplies.com [212.237.182.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jsm) by smtp.freebsd.org (Postfix) with ESMTPSA id 77A80D0F6 for ; Tue, 31 Aug 2021 15:48:00 +0000 (UTC) (envelope-from jsm@FreeBSD.org) To: freebsd-arm@FreeBSD.org From: Jesper Schmitz Mouridsen Subject: Question on panfrost work for Mali 860 e.g pinebook pro Message-ID: <7dc95dd6-9853-0e55-e4e3-ad3af074a9bc@FreeBSD.org> Date: Tue, 31 Aug 2021 17:47:55 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N Hi Congrats to Ruslan Bukin on the panfrost work. I compiled a kernel with the Pull requests on evadots https://github.com/evadot/drm-subtree/ pull 10 12 and 13. My pinebookpro detects panfrost0: GPU revision 2000, id 860 panfrost0: Mali 860, major 2, minor 0, status 0 panfrost0: Features: L2 7120206, Shader 0, Tiler 809, Mem 1, MMU 2830, AS ff, JS 7 But then as far I can see there is a lot of spurious? job_interrupts where stat is zero. (so dprintf("%s: stat %x\n", __func__, stat); in panfrost/panfrost_job.c prints a alot of stat: 0 and it is apparently in a loop... It seem to happen around the poweron on the L2 GPU_WRITE(sc, L2_PWRON_LO, sc->features.l2_present); in panfrost_device_power_on. Above is just for information. My question is if the panfrost work on Mali 860 i work in progress or if it is expected to work. And if the first what is missing. Thanks