karolherbst has quit [Remote host closed the connection]
karolherbst has joined #panfrost
awordnot has quit [Ping timeout: 240 seconds]
awordnot has joined #panfrost
davidlt_ has joined #panfrost
icecream95 has joined #panfrost
<icecream95>
alyssa: macc24: ←¡¿«assembler»?!→
<icecream95>
The compose key makes it way too easy to type unicode symbols :D
<icecream95>
* ☺
<macc24>
icecream95: huh?
davidlt_ has quit [Ping timeout: 264 seconds]
chewitt has joined #panfrost
vstehle has joined #panfrost
<chewitt>
macc24 kodi works fine with panfrost in my testing .. what hardware are you trying to use?
<chewitt>
ahh.. od2go thing
<chewitt>
not sure that will be good .. screen is a tad small!
davidlt_ has joined #panfrost
chewitt has quit [Quit: Adios!]
yann has joined #panfrost
<narmstrong>
and it's over Wayland, which uses a very different rendering patch inside kodi
<narmstrong>
macc24: you should try the "gbm" target instead, so you can get rid of wayland and lower the panfrost requirements
davidlt_ is now known as davidlt
raster has joined #panfrost
icecream95 has quit [Ping timeout: 244 seconds]
stikonas has joined #panfrost
kaspter has quit [Ping timeout: 260 seconds]
kaspter has joined #panfrost
robmur01 has joined #panfrost
TheMojoMan has joined #panfrost
TheMojoMan has quit [Quit: Connection closed]
AreaScout has joined #panfrost
<AreaScout>
Hi all :) I have a general question, on what type of odroid boards can I use kodi(gbm) with Panfrost driver and what kernel driver do I have to use for that ? N2/N2+ and C4, I have read the backlogs but I am still uncertain ...
<AreaScout>
ops, not kernel driver --> kernel version
<robmur01>
AreaScout: any mainline kernel since v5.2 will have some form of the Panfrost driver, however support for probing Bifrost GPUs without additional hacks won't be upstream until the 5.10-rc cycle starts in a couple of weeks
rcf has quit [Quit: WeeChat 2.7]
camus1 has joined #panfrost
kaspter has quit [Ping timeout: 260 seconds]
camus1 is now known as kaspter
rcf has joined #panfrost
<AreaScout>
robmur01 ok, so waiting for that would make thing easier to test, is that for sure the patches will land into upstream or just a guess ?
rcf is now known as rfc
<robmur01>
AreaScout: patches for general Bifrost support and Amlogic's G31 quirks are already queued in drm-next
<robmur01>
however it looks like the coherency patches to make N2 behave are still waiting to be picked up
<AreaScout>
robmur01 sounds good so far, thanks for your answer C4 aka G31 is fine for me, but I am sure N2 will catch up soon
<robmur01>
if you want to build your own kernels you should be OK to grab the branch being used for Mesa CI - that should have everything collected together
<AreaScout>
link ?
br_ has joined #panfrost
<br_>
Hi I will be working on panfrost kernel driver for FreeBSD
<br_>
The problem is that we don't have any display controller supported for a midguard/bifrost boards
<br_>
So I am choosing a victim board to make DRM support first (drm, framebuffer, hdmi transmitter etc)
<br_>
the question is should I stick to Gxx boards (vim3, odroid go advanced) or older midguard like rk3399 ?
<AreaScout>
robmur01 thanks
<br_>
what is current status of Gxx support ?
<robmur01>
I believe Bifrost is still very WIP - you're probably better off starting with a Midgard board to minimise unwanted issues on the userspace side
<narmstrong>
br_: hmm, the rockchip socs needs an IOMMU setup to display stuff, which is not the case on the amlogic side
<narmstrong>
but the rockchips socs are far better documented
<br_>
But I need like 6 months+ to get initial DRM and first steps in panfrost kernel side
<daniels>
shrug, it works just fine in the Go Advance which is RK3326 + Bifrost, and works very fine in RK3399 + Midgard
<br_>
so I wonder if to that point Gxx will be already supported
<daniels>
oh, FreeBSD, ha
<daniels>
last I looked at that, the main issue is that there was no FreeBSD core support for any SoC with Bifrost
<daniels>
if you stick to something like RK3399, then that already seems reasonably well supported by FBSD?
<br_>
yes rk3399 is well supported (but lacks and display controller or DRM code)
<daniels>
if you're planning on doing core platform support (clocks, memory/cache, UART, display, etc), then I think by the time you get to having the platform working quite well then it won't make too much difference between Bifrost/Midgard
<daniels>
at the kernel level, the code for the two is surprisingly similar, and if you look at Rockchip as well, then the display cores are very similar for 3399/3326
<daniels>
so enabling one gets you a very very long way towards having enabled the other
<daniels>
(btw, no 'u' in midgard)
<br_>
narmstrong: is it SMMU or display controller has its own iommu?
<br_>
(I'm just finishing SMMU support for freebsd)
<narmstrong>
br_: AFAIK it's own iommu
<br_>
daniels: interesting. So maybe I should indeed go with rockchip
<br_>
I will look documentation
<robmur01>
yeah, the Rockchip IOMMUs are their own thing, but they're nice and straightforward (particularly compared to all the mess of SMMU...)
<robmur01>
AIUI it's basically just a TLB sat directly in the bus interface with a minimal programming interface and pagetable walker
<robmur01>
also I'm pretty sure you don't *need* to use them if you can simply find contiguous buffers - I'd be surprised if the U-Boot display support bothers, for instance
* robmur01
goes off to check...
<robmur01>
in fact, looking at how simple the U-Boot VOP driver seems to be, it's probably a good place to start anyway ;)
camus1 has joined #panfrost
kaspter has quit [Ping timeout: 256 seconds]
camus1 is now known as kaspter
stikonas_ has joined #panfrost
stikonas has quit [Ping timeout: 272 seconds]
chewitt has joined #panfrost
<chewitt>
AreaScout all of the Bifrost Odroid devices work .. albeit Kodi is a simple use-case
<chewitt>
my kernel branch has 5.9.0 + backports of bits merged/queued for 5.10
<chewitt>
and you'll find all the other bits needed among my repos
<chewitt>
github.com/chewitt/
<chewitt>
Kodi on mainline Amlogic still sucks a bit tho :(
stikonas has joined #panfrost
stikonas_ has quit [Ping timeout: 272 seconds]
stikonas has quit [Read error: Connection reset by peer]
stikonas_ has joined #panfrost
stikonas_ has quit [Ping timeout: 240 seconds]
<AreaScout>
chewitt, thx so that means also the GBM video backend of kodi works not only wayland ? what about screensaver and visualization that uses a shader are they also working ?