stikonas has quit [Remote host closed the connection]
tuxd3v has quit [Remote host closed the connection]
apritzel has quit [Ping timeout: 240 seconds]
field^Mop has quit [Ping timeout: 256 seconds]
tuxd3v has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
<manawyrm>
Hi, I'm searching for the best way (in terms of performance) of rotating the output to a MIPI-DSI display on a RK3326 platform, using Panfrost.
<manawyrm>
Currently using xrandr/Xorg rotate, which seems to be done in software and is pretty slow. Is there a better/generalized way to do GPU rotation?
vstehle has joined #linux-rockchip
chewitt has quit [Quit: Adios!]
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-rockchip
damex has quit [Read error: Connection reset by peer]
apritzel has joined #linux-rockchip
apritzel has quit [Ping timeout: 256 seconds]
nikhuge has joined #linux-rockchip
lkcl has quit [Ping timeout: 256 seconds]
lkcl has joined #linux-rockchip
nikhuge has quit [Quit: Leaving]
ldevulder__ has joined #linux-rockchip
ldevulder_ has quit [Ping timeout: 260 seconds]
niceplace has joined #linux-rockchip
niceplace has quit [Read error: Connection reset by peer]
niceplace has joined #linux-rockchip
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
archetech has quit [Quit: Konversation terminated!]
<punit>
manawyrm: Does the display controller on RK3326 support rotation? You can look at the output of `modetest` to see if it is - I reckon that'd be the most efficient way to do rotation as it's done during scanout IIUC
<manawyrm>
punit: hm, I've found a datasheet for the MIPI display controller in the meantime and have found a way to get the display to rotate it's memory content directly. Still having issues with parts of the screen content missing, though.
<manawyrm>
Will need to investigate that further, later.
<macc24>
manawyrm: android guys on odroid forums have investigated that
<manawyrm>
macc24: oh, really? Some more hints/links?
<macc24>
i don't have any
<punit>
"rotate memory content = done during scanout" - we might be talking about the same thing
<macc24>
punit: not same thing, your idea was to rotate on soc itself and manawyrm was talking about making display do the rotation
<manawyrm>
... mh, not sure. The panel driver has no notion of orientation until now
<manawyrm>
there's a MIPI command which can flip rows/columns of the panel
<punit>
Ah I see - I was definitely talking about rotation on SoC
<macc24>
panel rotation in kernel's drm subsystem ONLY tells userspace to rotate
<macc24>
and doesn't do anything by itself
<manawyrm>
Yeah, it looks like in-panel/MIPI rotation isn't really supported by anything.
<manawyrm>
But that wouldn't be an issue if it would work like I think it should :D
<punit>
I hadn't realised something like in-panel rotation exists... TIL
<manawyrm>
Ouch, that's a soft reset directly after the memory access setting. Hope that's not the issue.
<macc24>
you might want to talk to macromorgan about that
<manawyrm>
But the Blanking Porch Control field sounds really interesting.
<macc24>
he's done something about this iirc
WoC` has joined #linux-rockchip
WoC has quit [Ping timeout: 260 seconds]
<diederik>
is SND_SOC_ROCKCHIP_MAX98090 relevant for the rock64 (RK3328)?
<diederik>
on both Debian's 5.10 arm64 kernel and also one build with arm64 defconfig, /proc/asound/cards reports no sound cards and I'm trying to figure out what's needed to change/fix that
<macc24>
diederik: you need simple audio card, rockchip i2s, rk3328 codec and rk3328 dw hdmi drivers
<diederik>
thx. wrt the latest I do see CONFIG_ROCKCHIP_DW_HDMI=y. Do you mean that one? (not sure whether there's a specific rk3328 one)
<diederik>
hmm, CONFIG_SND_SOC_RK3328 is not set in both defconfig and Debian's config ....
<diederik>
then I guess it's no surprise I don't see any sound cards ;P