ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
WoC has joined #linux-rockchip
vstehle has quit [Ping timeout: 240 seconds]
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]
stikonas has joined #linux-rockchip
apritzel has joined #linux-rockchip
niceplace has quit [Quit: ZNC 1.7.5 - https://znc.in]
diederik has joined #linux-rockchip
shailangsa has quit [Ping timeout: 256 seconds]
apritzel has quit [Ping timeout: 260 seconds]
field^Mop has joined #linux-rockchip
shailangsa has joined #linux-rockchip
apritzel has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
superherointj has joined #linux-rockchip
superherointj has quit [Quit: Leaving]
urjaman has quit [Read error: Connection reset by peer]
urjaman has joined #linux-rockchip
kaspter has joined #linux-rockchip
stikonas has joined #linux-rockchip
archetech has joined #linux-rockchip
sssb54 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
sssb54 has joined #linux-rockchip
kaspter has quit [Ping timeout: 260 seconds]
kaspter has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
vagrantc has joined #linux-rockchip
apritzel has quit [Ping timeout: 240 seconds]
BenG83 has joined #linux-rockchip
warpme_ has joined #linux-rockchip
lkcl has quit [Ping timeout: 246 seconds]
BenG83 has quit [Quit: Leaving]
apritzel has joined #linux-rockchip
lkcl has joined #linux-rockchip
apritzel has quit [Ping timeout: 245 seconds]
apritzel has joined #linux-rockchip
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
<macc24> manawyrm: oh
<macc24> just remembered
<manawyrm> Page 192
<manawyrm> Memory Access Control Operation 0x36
<macc24> i use a rotated display on my desktop
<macc24> and it has literally no performance loss
<manawyrm> macc24: yeah, but with what GPU?
<macc24> on sway at least
<macc24> manawyrm: rx460
<macc24> it hardly ever spins up
<macc24> its fans up*
<manawyrm> yep, that's AMDGPU, completly different story. amdgpu is pretty awesome.
<macc24> well, my laptop has a rotated screen to, and on sway no performance loss either
<manawyrm> try it on something with an old i915 card, like 3rd or 4th generation Intel HW
<manawyrm> flip the screen (on HDMI) 90°
<manawyrm> I did that on a Intel NUC for work, super slow, horrible frame tearing, yuck!
<macc24> i was testing performance of sway rotation on my rk3288 laptop with gpu performance near ironlake intel gpu
<manawyrm> 15 36 F8
<manawyrm> 05 01
<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