<smaeul>
LordKalma1: the driver you linked does not use SPI at all. so you can stick the drm_display_mode in drivers/gpu/drm/panel/panel-simple.c and call it a day. this would sidestep the whole file/module authorship question.
<smaeul>
I'm assuming it's only a "SPI" driver because of copy/paste. and I bet the panel doesn't use an ST7701s either, that was just a convenient file to hijack
machinehum1 has left #linux-sunxi [#linux-sunxi]
machinehum has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
hexdump01 has joined #linux-sunxi
hexdump0815 has quit [Ping timeout: 480 seconds]
<jernej>
smaeul: ST7701s really uses SPI, if it's connected to RGB bus
<jernej>
but yeah, worth to check if it is really there
Daanct12 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
smaeul has quit [Read error: Connection reset by peer]
smaeul has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
indy has quit []
indy has joined #linux-sunxi
bauen1 has joined #linux-sunxi
LordKalma1 has quit []
LordKalma1 has joined #linux-sunxi
LordKalma1 is now known as LordKalma
<LordKalma>
smaeul, the panel in question does use the ST7701S (notice the S) and it does use SPI. There are _very_ similar looking drivers in there honestly
JoaoSchim has quit [Remote host closed the connection]
JoaoSchim has joined #linux-sunxi
<LordKalma>
In the meanwhile, the found out that the driver works fine on 5.8, but looks weird, and there are other problems on higher kernels. Seems to be a clocks issue, haha so weird
<LordKalma>
no wonder why the manufacturer used 5.8 and not an LTS release
apritzel has joined #linux-sunxi
<LordKalma>
problem reproduced on a 5.10 kernel
<LordKalma>
wonder what happened between 5.8 and 5.10 to break graphics for this device
<bauen1>
LordKalma: perhaps git-bisect will help you
<LordKalma>
haha newton's method on big? amazing
<LordKalma>
I currently don't have the compilation infrastructure setup, only other community member, but we'll get to the bottom of this, we hope
Daanct12 has quit [Remote host closed the connection]
<bauen1>
LordKalma: git bisect is basically binary search over the commits, so at worst it will take log2(n) where n = amount of commits, so still a lot but doable
<LordKalma>
yeah, reading the docs, interesting
<LordKalma>
09:54 <LordKalma> haha newton's method on git*? amazing
<LordKalma>
is what I meant
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
cnxsoft1 has quit [Read error: Connection reset by peer]
cnxsoft has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
bauen1_ has joined #linux-sunxi
dengen has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
rajkosto has quit [Read error: Connection reset by peer]
<smaeul>
LordKalma: if the panel uses ST7701S, I would expect to see some long series of SPI transactions inside st7701s_prepare
<LordKalma>
other drivers seem to look exactly like that
<LordKalma>
but you're right that it doesn't seem to do anything special with the SPI bus
<smaeul>
so presumably the chip is configured with all of the right parameters already (in NVM). At that point Linux doesn't care what the controller is, it just has to turn the panel power on, and panel-simple is designed for that case
<DuClare>
Or maybe it isn't configured right and that's why it looks wrong :P
<LordKalma>
we discovered it looks good on 5.8
<LordKalma>
but not above
<LordKalma>
and it's not just the display. I quote "waterfall is updating better than 10x slower than it should. on the console i see lots of errors from the qt app about the rx buffer being full"
<LordKalma>
sounds like clocks gone wrong
<LordKalma>
do you know if there is anything noteworthy about that between 5.8 and 5.10?