ChanServ changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://oftc.irclog.whitequark.org/etnaviv
SpieringsAE has joined #etnaviv
alarumbe has quit []
pcercuei has joined #etnaviv
karolherbst has quit [Ping timeout: 480 seconds]
karolherbst has joined #etnaviv
afc has joined #etnaviv
SpieringsAE has quit [Quit: SpieringsAE]
afc has quit []
alarumbe has joined #etnaviv
<MoeIcenowy> I am thinking about whether my previous addition of chipMinorFeatures12 in https://github.com/etnaviv/etna_viv/commit/cded6437ff357f1f585fe8f1948c90d06128ebdb for G2D_DEC400EX is proper
<MoeIcenowy> these new chipMinorFeatures words seems to be just defined by etnaviv
<MoeIcenowy> and I just copied it from some random converter (https://github.com/gizmo98/hwdb-converter)
<MoeIcenowy> maybe bool flags instead of new words should be added
<austriancoder> MoeIcenowy: in Mesa we are using a different approach - hwdb. Oh and these chip features are not copied from a random converter but galcore used them too
<austriancoder> marex: got the hw.. will have a look
<marex> austriancoder: mp2 ?
<MoeIcenowy> austriancoder: I think new galcore uses hwdb too?
<MoeIcenowy> and I think only a few chipMinorFeatures words are really backed by Vivante
<MoeIcenowy> others are random allocations (because galcore used hwdb
<MoeIcenowy> BTW according to my reading of the vivante kernel driver, do they only use PTA table id 0?
<MoeIcenowy> (on my GC620 r5552 setup, only pta table id 0 works reliably, other ids all fail
<MoeIcenowy> despite I saw some document says 0x00394 register is "MMU_REG_TABLE_ARRAY_SIZE", writing non-0-or-1 values still do not make other pta table ids work (although the id 0 still work)
<austriancoder> MoeIcenowy: older glacore used the feature regs only.
<MoeIcenowy> austriancoder: yes I read about it
<MoeIcenowy> but should we introduce new chipMinorFeatures?
<MoeIcenowy> or just keep the current ones here and start to introduce bool flags?
<MoeIcenowy> I think chipMinorFeatures12 isn't used by Vivante, but just assigned by gizmo98 ?
<MoeIcenowy> I say gc_feature_database.h is just copied to mesa, but I think copying it to the Linux kernel isn't acceptable, right?
<MoeIcenowy> s/say/see/
<austriancoder> MoeIcenowy: where do you need the new chipfeature/flag?
<MoeIcenowy> austriancoder: GC620 r5552 on TH1520, G2D_DEC400EX
<MoeIcenowy> well temporarily this could be just connected to GC620 r5552, for the quirk workaround
<MoeIcenowy> well for the page table id 0 only, I tried to set the first page table id to 16, and it still works once (and fail when trying to switch to page table 17
pcercuei has quit [Quit: dodo]