austriancoder changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://freenode.irclog.whitequark.org/etnaviv
<cphealy> mntmn: interesting. This is the first I've even heard of RCW.
Net147 has quit [Quit: Quit]
Net147 has joined #etnaviv
lynxeye has joined #etnaviv
pcercuei has joined #etnaviv
pcercuei has quit [Read error: Connection reset by peer]
pcercuei_ has joined #etnaviv
JohnnyonFlame has quit [Ping timeout: 252 seconds]
<mntmn> LS1028ARM actually lists a bunch of GPU control registers. it also states the GPU might be GC7000L or "GC700LVX"
<mntmn> > The GC7000L/GC7000LVX has 4 such vec4 shaders.
<mntmn> but the docs for product ID register say > Grade Level indicator:: 3 indicates UltraLite.
<mntmn> so, that's conflicting, cphealy
paulk-leonov has joined #etnaviv
<mntmn> chuckled > The chip's commitment to low power begins with the decision to fabricate the chip in 28 nm bulk CMOS technology
<mntmn> pretty sure it's GC7000UL btw
<mntmn> almost... [ 4.143018] mali-dp f080000.display: failed to bind f200000.display (ops cdns_mhdp_imx_ops): -6
<mntmn> [ 4.069381] [drm] found ARM Mali-DP500 version r1p2
<mntmn> interesting > [ 4.137492] [drm:__cdns_dp_probe] *ERROR* NO dp FW running
<mntmn> also > [ 4.129741] [drm:cdns_mhdp_firmware_init_imx8qm.part.0] *ERROR* NO HDMI FW running
<mntmn> quite the mixed bag, this platform
<cphealy> The UL is what I was thinking it was too, though I don't recall the full details of why beyond it having a lower fill rate and lack of Vulkan support, IIRC.
<mntmn> i ported over the HDP driver code, and now wondering why it thinks there is no firmware
tlwoerner has joined #etnaviv
<mntmn> ok the firmware is just rows of > a0000000: deadbeef deadbeef deadbeef deadbeef
<mntmn> ok, works now > [ 4.132417] [drm] HDP FW Version - ver 23029 verlib 20560
<cphealy> Has etnaviv already been successfully used with the GC7000UL on different SoCs?
<lynxeye> cphealy: mntmn: I guess that's the same GPU as on the i.MX8MP. Basically a 2 shadercores/single pipe version of the GC7000 without the BLT engine.
<lynxeye> I haven't had time to figure out the new RS supertiling bits, so currently you need to force disable supertiling. Other necessary changes are in a WIP Mesa MR.
<cphealy> lynxeye: Would the TS optimization in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9780 apply with the GC7000UL?
<cphealy> I assume the ARM Mali display controller does not support the Vivante tile or compression formats but it would still be useful for wayland GPU composition use cases, correct?
<lynxeye> cphealy: Sure, why not? You just won't get any benefit on the display side with any display engine other than the DCSS, as I'm not aware of any other display unit supporting DEC400.
<mntmn> lynxeye: ok, interesting
<mntmn> lynxeye: with some basic headless tests i currently get "Recover hung GPU", so not sure what's wrong
<lynxeye> mntmn: You probably need the HWDB entry for the specific core. Without this the kernel driver will likely try to start the GPU using the wrong registers.
<mntmn> lynxeye: oh!
<lynxeye> The feature registers on the new GPU cores are just blatant lies.
<mntmn> ahh, i see ^^
<mntmn> i get:
<mntmn> [ 4.234691] etnaviv-gpu f0c0000.gpu: model: GC7000, revision: 6202
<mntmn> [ 4.241205] [drm] Initialized etnaviv 1.3.0 20151214 for etnaviv on minor 1
<mntmn> i guess that's meant as 0x6202?
<lynxeye> mntmn: Yep, that's hex. model/rev/vendor are reliable and then used to match the HWDB entry to get the feature registers.
<mntmn> ok, i'm gonna try these with 6202 https://www.spinics.net/lists/dri-devel/msg290275.html
<mntmn> no dice, but it changes the behavior:
<mntmn> [ 81.400810] etnaviv-gpu f0c0000.gpu: MMU fault status 0x00000002
<mntmn> [ 81.406848] etnaviv-gpu f0c0000.gpu: MMU 0 fault addr 0x00000000
<mntmn> [ 82.463403] etnaviv-gpu f0c0000.gpu: recover hung GPU!
JohnnyonFlame has joined #etnaviv
lynxeye has quit [Quit: Leaving.]
JohnnyonFlame has quit [Ping timeout: 252 seconds]
cphealy has quit [Ping timeout: 250 seconds]
cphealy has joined #etnaviv
pcercuei_ has quit [Quit: dodo]
JohnnyonFlame has joined #etnaviv