austriancoder changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://freenode.irclog.whitequark.org/etnaviv
BobB31 has joined #etnaviv
BobB3 has quit [Ping timeout: 260 seconds]
BobB31 is now known as BobB3
philn has quit [Remote host closed the connection]
philn has joined #etnaviv
pcercuei has quit [Quit: dodo]
_whitelogger has joined #etnaviv
_whitelogger has joined #etnaviv
lilstevie has quit [Ping timeout: 256 seconds]
sravn has joined #etnaviv
lilstevie has joined #etnaviv
MaxPower2005 has joined #etnaviv
lynxeye has joined #etnaviv
pcercuei has joined #etnaviv
berton has joined #etnaviv
MaxPower2005 has quit [Quit: ChatZilla 0.9.94 [SeaMonkey 2.49.5/20190805002510]]
cphealy has joined #etnaviv
<marex> I still wonder why some of the video pipelines in kernel use this component_add stuff
<marex> is that legacy ?
<marex> sravn: ^
<lynxeye> marex: Mostly legacy from before device-links were a thing.
<marex> lynxeye: and so, NXP would use it for their fancy new LCDIF driver, of course
<lynxeye> marex: They've found a bit too much inspiration in imx-drm for all the i.MX8 graphics stuff they did...
<marex> lynxeye: so ptx is to blame for that ? :-)
<marex> lynxeye: mxsfb doesnt use that API :-)
<lynxeye> Yep, we are taking the blame. To be fair the component framework was specifically added by Russell to keep the bits in imx-drm together. device-links were nowhere to be seen at that time.
<marex> lynxeye: so shifting it to russel, heh
<marex> lynxeye: with a complex pipeline like the ipuv3, I can see how that might've been needed back then
<marex> lynxeye: but with super-standard linear pipeline like the mxsfb on mx8mm ... why oh why
<lynxeye> marex: even with the imx8mm you need a way to tear down the DRM device when one of the invloved drivers (mxsfs, bridges, panel) goes away
<marex> lynxeye: isnt that what hte device links are for ?
<lynxeye> that's the fundamental issue solved by the component framework. But now you can achieve the same thing with device links.
<marex> so yeah :)
<lynxeye> Yea, at this point it's all history. The component framework just happend to solve this issue 2.5 years before device links existed and even then device links still needed to learn a few tricks to be able to replace components.
<marex> lynxeye: so while I still have you here
<marex> lynxeye: why dont we switch SMP GPCv2 handling to the GPCv2 driver too ?
<marex> lynxeye: I can kinda answer that in two ways myself, but what is your take on it ?
<lynxeye> PSCI is kind of useful when thinking about virtualisation, so I'm not really opposed to the ARM dictated de-faco standard of all new SoCs in the Linux kernel handling SMP that way.
<marex> lynxeye: except that means we do like x86 does with ACPI -- all the bad stuff is buried in firmware
<marex> lynxeye: and then, bugs start to surface
<marex> lynxeye: and we had that both with x86 and acpi and TFA GPCv2
<lynxeye> marex: True. But then on i.MX8M you can at least fix the firmware. The difference (at least to me) between the power domain and SMP handling, is that PSCI is a very well-defined interface between firmware and kernel, while the power domain stuff requires a pretty ad-hoc interface with implicit assumptions between both parts.
<agx_> marex: no, i'm leaving wifi aside atm so if you have a look that would be cool
<marex> lynxeye: it still doesn't solve burying the bugs and hacks into the firmware part though
<marex> lynxeye: also, how is SCFW on MX8Q ? seems like the "you can fix firmware" part isn't such a certainty anymore
<marex> lynxeye: esp. with BSD-licensed TFA, it definitelly is not
<lynxeye> that's why we decided to avoid all i.MX8 parts with a SCU like the plague
<marex> lynxeye: those chips arent going away though
<lynxeye> fortunately the i.MX8MP has most of the features that our industrial customers are looking for, so we can recommend this on instead
<marex> lynxeye: its still obsolete CA53, the update to A55 at least would've done it well
<marex> lynxeye: and all those MX8M chips are ripe for CPU core refresh
<lynxeye> Oh, I think those chips will go away. At least from my little world-view.
<marex> lynxeye: so I would be rather worried what is the next industrial/embedded SoC gonna be like
<marex> lynxeye: but your world-view doesnt matter to big NXP customers I'm afraid :(
<marex> lynxeye: if they say SCFW is OK, it is here to stay
<lynxeye> Can you even buy the i.MX8QM if you aren't going to buy like 100k pcs of them?
<marex> lynxeye: nowadays you already can afaik
<lynxeye> From what I've heard "okay" was not exactly the feedback they got from their customers on the SCFW ;)
<marex> I still dont get it with the SCFW though, what is it that they feel they need to hide in there ?
<marex> lynxeye: was it on the management level or engineering level ?
<marex> lynxeye: I suspect on the engineering level, the "SCFW is not OK" is pretty unanimous agreement
<lynxeye> What they need to hide? All the horrors of the actual implementation... Just take a look at the interface "definition" and you know it's just going down from there...
<marex> lynxeye: and now, remember, TFA is BSD-licensed :-)
<lynxeye> You can always fork the already open-source parts of the TF-A, nobody is forcing you to use NXPs implementation.
<marex> lynxeye: for existing SoCs, yes
<marex> lynxeye: and still, not everything is documented
<marex> lynxeye: even in existing SoCs
<lynxeye> ever met a hardware company where everything is documented?
<marex> lynxeye: yes, I know of a couple
<lynxeye> In public documentation? Or in NDA stuff you don't get if you tell them that you are going to write GPL software?
<marex> lynxeye: that was not your original question
<marex> lynxeye: you did put a highly different spin on that question
<marex> lynxeye: but I suspect a lot of open hardware companies would have decent documentation and be OK with giving it out ?
<lynxeye> marex: I would regard the i.MX8Mx reference manuals as "decent", and yet they still lack some crucial parts... ;)
<marex> lynxeye: I guess that is one way to put it
<lynxeye> Need to run now. Lets continue this on another occasion. :)
lynxeye has quit [Ping timeout: 240 seconds]
<DPA> I've 3 problems I've trouble to figure out the cause of. Both only happen with glamor.
<DPA> 1) With etnaviv+xorg+glamor (and with non-compositing WM), some parts of the screen don't update when they should: https://dpa.li/temp/etna-xorg-glamor.mp4
<DPA> 3) A prime shared output will stay black.
<DPA> 2) Rotating the screen will result in a black screen, even if rotating it back, and even if turning the output off and back on with xrandr.
<DPA> Does anyone know what could cause these thing? Or can anyone give me a hint what I should check / look for?
<marex> which linux and mesa versions ?
<DPA> mesa and xorg compiled from git master
<marex> DPA: in which case, commit ID would help :)
<DPA> I'll check that one after dinner. But I last updated yesterday.
<marex> so that should at least contain all the current fixes
JohnnyonFlame has quit [Read error: Connection reset by peer]
T_UNIX has quit [Quit: Connection closed for inactivity]
<DPA> I just updated it once more, I'm on 8dc8922af257e454f4460bbc5993df5647968146 now. It didn't change anything though.
<DPA> Another thing that may be important, to make xorg+glamor to work at all, I have to set ETNA_MESA_DEBUG=nir
JohnnyonFlame has joined #etnaviv
JohnnyonFlame has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
JohnnyonFlame has joined #etnaviv
berton has quit [Quit: Leaving]
<DPA> There's a very specific configuration in which 1 and 2 seam to mostly work. That is if I enable atomic 2 in xorg on dcss (the external monitor).
<DPA> The same thing doesn't seam to work on mxsfb, and without atomic v2, I see the same issues on dcss as well.
philn has quit [Ping timeout: 240 seconds]
philn has joined #etnaviv
cphealy has quit [Ping timeout: 265 seconds]
cphealy has joined #etnaviv