ChanServ changed the topic of #linux-msm to:
hexdump0815 has joined #linux-msm
hexdump01 has quit [Ping timeout: 480 seconds]
cxl000 has quit [Quit: Leaving]
pevik_ has joined #linux-msm
cxl000 has joined #linux-msm
pespin has joined #linux-msm
Guest33 is now known as Rayyan
<calebccff> vkoul: i spent a while trying to make dma work with the touchscreen on my OnePlus 6 - I'm pretty sure I had it working around a year ago. The rmi4 touch driver fails to send the first command to the device
<calebccff> this is the diff I'm appllying: https://p.calebs.dev/7962a9
<vkoul> calebccff: this looks okay to me
<vkoul> cat /sys/kernel/debug/dmaengine/summary?
<calebccff> vkoul: https://p.calebs.dev/367139
<vkoul> looks like channel were not assigned/failed to assign... anything in dmesg
<vkoul> dmesg |egrep -i "dma|gpi|i2c"
<calebccff> vkoul: this is what i get https://p.calebs.dev/e1e856, everything seems fine it just can't talk to the touchscreen
<vkoul> calebccff: [ 21.586941] geni_i2c 890000.i2c: CA:: i2c fifo/se-dma mode. fifo depth:16
<vkoul> looks like it not using gsi but se dma mode
<calebccff> oh, hm
<calebccff> it's from fifo_disable = readl_relaxed(gi2c->se.base + GENI_IF_DISABLE_RO) & FIFO_IF_DISABLE;
<vkoul> right, that tells us which mode is supported there, gpi or fifo
<calebccff> is that based on the qup firmware?
<vkoul> calebccff: that is correct
<calebccff> vkoul: so downstream didn't use GPI for the touchscreen on my device?
<vkoul> I guess so, the firmware (qup) for a board controls this...
<calebccff> huh i see. I looked through downstream DTS and GPI DMA is enabled and on the touchscreen i2c node, so is it a bug on mainline that it doesn't properly fall back to FIFO mode?
<Mis012[m]> sounds more like hacks on downstream so it doesn't act according to the dts :P
sumits has quit [Remote host closed the connection]
vkoul has quit [Remote host closed the connection]
sumits has joined #linux-msm
vkoul has joined #linux-msm
pespin has quit [Remote host closed the connection]
pevik_ has quit [Ping timeout: 480 seconds]
jojo_autoboy[m] has joined #linux-msm
agross has quit [Read error: No route to host]
arnd has quit [Read error: Connection reset by peer]
steev has quit [Read error: Connection reset by peer]
arnd has joined #linux-msm
agross has joined #linux-msm
steev has joined #linux-msm