ChanServ changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://oftc.irclog.whitequark.org/etnaviv
pcercuei has quit [Quit: dodo]
mvlad has quit [Remote host closed the connection]
f0rg3 has joined #etnaviv
f0rg3 has quit []
JohnnyonFlame has quit [Read error: Connection reset by peer]
f0rg3 has joined #etnaviv
f0rg3 has quit []
frieder has joined #etnaviv
JohnnyonFlame has joined #etnaviv
JohnnyonFlame has quit []
pjakobsson_ has quit [Ping timeout: 480 seconds]
lynxeye has joined #etnaviv
pcercuei has joined #etnaviv
mvlad has joined #etnaviv
MoeIcenowy has joined #etnaviv
<MoeIcenowy> I am trying to utilize GC620 2D core on TH1520 SoC with etnaviv, what should I take care?
<MoeIcenowy> ( now modded the DT to let etnaviv probe the device
<MoeIcenowy> and compiled xf86-video-armada
<MoeIcenowy> then when I got X running, some error appears: timed out waiting for idle: idle=0x7ffffffe
<MoeIcenowy> ( 0x1 seems to be FE, which looks like some DMA?
<lynxeye> MoeIcenowy: I don't think anyone tried etnaviv on GC620 yet. The FE is the DMA frontend, but that one will also stall eventually when other parts of the GPU are hanging.
<lynxeye> MoeIcenowy: Can you try to run the etnaviv 2d test from libdrm as a sanity check, before moving to the more complex xf86-video-armada?
<MoeIcenowy> sounds reasonable
<MoeIcenowy> will try'
<MoeIcenowy> Offset 0: expected: 0xff40ff40, got: 0x00000000
<MoeIcenowy> oops
<MoeIcenowy> and also got FE timeout
<lynxeye> MoeIcenowy: If even this simple test doesn't work, then either the programming model for the new 2D GPU changed completely, which I think is quite unlikely. Or the kernel driver isn't properly initializing the GPU. Can you try to extract the feature bits from the downstream driver and add a matching entry to the etnaviv hwdb?
<MoeIcenowy> BTW the galcore seems to declare some hack when reseting GPU, maybe I need to try to port it to etnaviv
<lynxeye> MoeIcenowy: This might help to get it into the format expected by etnaviv: https://github.com/gizmo98/hwdb-converter/
<MoeIcenowy> maybe I need to apply the HWDB item in the galcore driver
<MoeIcenowy> btw to add a new model to common.xml.h, should I add it to rnn db in etna_viv repo first?
<austriancoder> MoeIcenowy: yes please
<MoeIcenowy> BTW is the hwdb kind of override for the hardware-provided values?
<austriancoder> MoeIcenowy: yes .. the theory is that they messed up the feature bits provided by the hw and went to a hwdb approach
<lynxeye> My theory is that they got fed up with the cycle of adding feature bits for "we implemented the feature", then finding some issues with the feature and then needing to add another feature bit for "feature now actually works as advertised". Much easier to disable a feature when you find it broken by editing information in the hwdb. Once they started using the hwdb in the driver, they stopped updating the feature registers in HW, so
<lynxeye> ores have mostly bogus information in those registers.
<austriancoder> lynxeye: as you are reachable now .. have you looked at tomeu's kernel patch?
<MoeIcenowy> okay I now have hwdb item injected, and debugfs file says the new values, but it still does not work
<lynxeye> austriancoder: Yes, looks good to me. I'll pick it up this week. However, this is clearly not a bugfix, so I don't see it going into the 6.7 release.
<austriancoder> lynxeye: fine for me .. at least we have some feedback from you
JohnnyonFlame has joined #etnaviv
chewitt has quit [Quit: Zzz..]
mvlad has quit [Remote host closed the connection]
frieder has quit [Remote host closed the connection]
lynxeye has quit [Quit: Leaving.]
otavio_ has quit [Remote host closed the connection]
otavio_ has joined #etnaviv
pcercuei has quit [Quit: dodo]