Turl changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi
ikmaak has joined #linux-sunxi
lurchi_ is now known as lurchi__
jstein has quit [Ping timeout: 246 seconds]
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 276 seconds]
lurchi__ is now known as lurchi_
cnxsoft has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
lurchi_ is now known as lurchi__
sunxi_fan1 has joined #linux-sunxi
sunxi_fan has quit [Ping timeout: 255 seconds]
TEKrantz has quit [Ping timeout: 260 seconds]
kristina_nossl has quit [Remote host closed the connection]
aballier has quit [Remote host closed the connection]
kristina1nossl has joined #linux-sunxi
jski has quit [Remote host closed the connection]
aballier has joined #linux-sunxi
TEKrantz has joined #linux-sunxi
tgaz has quit [Ping timeout: 240 seconds]
chlorine has joined #linux-sunxi
jski has joined #linux-sunxi
tgaz has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
aidin has quit [Ping timeout: 240 seconds]
Andy-D_ has quit [Ping timeout: 240 seconds]
aidin has joined #linux-sunxi
<wens> it seems one of my sd cards is on the verge of breaking
JohnDoe_71Rus has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
terra854 has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 248 seconds]
cnxsoft1 is now known as cnxsoft
jailbox has quit [Ping timeout: 248 seconds]
deep-book-gk_ has joined #linux-sunxi
deep-book-gk_ has left #linux-sunxi [#linux-sunxi]
chlorine has joined #linux-sunxi
jailbox has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
lurchi_ has joined #linux-sunxi
rexxster has quit [Remote host closed the connection]
lurchi__ has quit [Ping timeout: 240 seconds]
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
fkluknav has joined #linux-sunxi
datoga__ has joined #linux-sunxi
terra854 has quit [Quit: Connection closed for inactivity]
terra854 has joined #linux-sunxi
reinforce has joined #linux-sunxi
leviathan_ has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 248 seconds]
lkcl has joined #linux-sunxi
leviathan_ has quit [Ping timeout: 260 seconds]
leviathan_ has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
sunxi_fan has joined #linux-sunxi
sunxi_fan1 has quit [Ping timeout: 260 seconds]
aidin has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
aidin has quit [Ping timeout: 260 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 4.9.2, revision: git-7099-gca80ee628, build type: debug, sources date: 20160102, built on: 2017-03-12 14:49:35 UTC git-7099-gca80ee628 http://www.kvirc.net/]
Ke has quit [Ping timeout: 255 seconds]
Ke has joined #linux-sunxi
<qschulz> MoeIcenowy: Have you tested the quick patch I sent on this list for THS on H3?
<qschulz> BTW, on A33, irq for temp data do not work, is it the same on H3?
<qschulz> MoeIcenowy: basically, I tested on a Sinlinx SinA33 and my patch does not fix the problem. However, if I had a delay of 1s in the resume, the first value returned by get_temp is correct.
<qschulz> on A33, you set the "thermal sensor period" which in the driver is ~0.6s
<qschulz> then, the value of the temperature sensor will be 0 until the first thermal sensor period happened (~0.6s later)
msimpson has joined #linux-sunxi
popolon has joined #linux-sunxi
Andy-D_ has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
Andy-D_ has quit [Ping timeout: 240 seconds]
LargePrime has quit [Ping timeout: 246 seconds]
<MoeIcenowy> qschulz: in fact H3 can use interrupts
<MoeIcenowy> but I didn't implmented it...
Gerwin_J has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
LargePrime has joined #linux-sunxi
sunxi_fan1 has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
sunxi_fan has quit [Ping timeout: 268 seconds]
aidin has joined #linux-sunxi
<oliv3r> hey guys, with the mainlne work, do we have hdmi audio already?
_whitelogger has joined #linux-sunxi
aidin has joined #linux-sunxi
droman0 has quit [Ping timeout: 276 seconds]
_whitelogger_ has quit [Remote host closed the connection]
jeandet has quit [Ping timeout: 276 seconds]
<wens> that was never merged
adfad666 has quit [Ping timeout: 240 seconds]
cosm has quit [Ping timeout: 276 seconds]
vbmithr_ has joined #linux-sunxi
cosm has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
vbmithr has quit [Ping timeout: 240 seconds]
<oliv3r> wens: no but you gave me a pointer as to where to look :)
reinforce has joined #linux-sunxi
jrg has quit [Ping timeout: 276 seconds]
paulk-gagarine has joined #linux-sunxi
adfad666 has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 255 seconds]
ornitorrincos has quit [Ping timeout: 255 seconds]
jrg has joined #linux-sunxi
<oliv3r> and it looks like there's no support yet? :(
enrico__ has joined #linux-sunxi
ornitorrincos has joined #linux-sunxi
ornitorrincos has quit [Changing host]
ornitorrincos has joined #linux-sunxi
<wens> I'm not sure what the status is on the dw-hdmi based driver
<oliv3r> i'm not seeing it with HDMI_CODEC_DRV_NAME grep
<oliv3r> only the bridge chip, which is not what you mean: drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c
<oliv3r> but i'm looking at a20, which is not yet the dw-hdmi IP is it?
<oliv3r> though that would be supprising, as allwinner users a lot of synopsis-dw ip
<wens> a20 uses sun4i-drm-hdmi, which is supported
<wens> but the display pipeline on the a10/a20 is not supported yet
<oliv3r> wens: i'm using the patches from Net147 which makes the display pipeline working
<oliv3r> wens: but sun4i-drm-hdmi doesn't use audio yet does it?
<wens> oliv3r: no, audio is not supported yet
<oliv3r> you reconn it's a lot to add it using the hdmi-audio-codec extension? using at the mediatek driver, doesn't look like too much effort?
<wens> it's just a couple of registers to set the audio format and stuff, and a FIFO for dma
<wens> unlike dw-hdmi on sunxi, which needs an i2s controller to send it audio
<oliv3r> would it be part of sun4i_drv's probe? or somewhere part of the connector?
<wens> I don't know, I haven't looked into how other drivers do it
<wens> it should be easy, but it is quite low on my list
<mripard> it would definitely not be part of sun4i_drv
<oliv3r> i just noticed in mediatek's driver in the probe
<oliv3r> which i found odd
<oliv3r> ah, no it's hdi_probe, sorry
<oliv3r> ok then it makes more sense
BenG83 has joined #linux-sunxi
<oliv3r> and we do it via component_add -> bind
<oliv3r> ok makes sense
dave0x6d has quit [Quit: Connection closed for inactivity]
<codekipper> oliv3r: I'm looking at hdmi audio on the a20 at the moment
<codekipper> h3 it's working but not delivered.
afaerber has joined #linux-sunxi
<oliv3r> codekipper: do you have patches somewhere?
leviathan_ has quit [Remote host closed the connection]
<oliv3r> codekipper: nice :)
<codekipper> and https://github.com/codekipper/linux-sunxi/commits/upstream for h3 (i2s is getting delivered first but I test hdmi audio)
<oliv3r> i don't have an h3 :p so not that importat to me :)
<codekipper> I'm not sure about the way forward with a20 hdmi audio...so far I've just extracted reg settings from legacy to compare
<oliv3r> ah it's not working?
<oliv3r> okay, thanks
<oliv3r> i may checkout your patches and test it in the next week depending on priorities
<oliv3r> got lots of other things to look at and send off to the ml
<codekipper> coolio..it's hovering near the top of my todos but there is always something else
<oliv3r> codekipper: but thiese looks like it's obsolete no? https://github.com/codekipper/linux-sunxi/commit/0ea2271c69526c4ca546567463d0ac3afcb7199c
<oliv3r> ah no that's the hdmi audio stuff
<oliv3r> as a pure hdmi audio output
<codekipper> yeah...I sort of looked at what the sti-hdmi was doing. Not sure if it needs a driver of it's own
<codekipper> h3 uses i2s so was a bit easier to get implemented.
<codekipper> I haven't also got my head around this drm stuff yet
<oliv3r> ah i've been using it for 2 weeks now, works quite well
<oliv3r> dualhead not yet :p
<codekipper> on the a20?
<oliv3r> having both connected also crashes things during boot; but hotplugging a hdmi monitor gives me something like two heads
<oliv3r> yeah
<oliv3r> 'alternate' heads that is
<codekipper> yeah audio fails to work for me if I boot with hdmi connected on the h3
qeed has quit [Quit: Leaving]
<codekipper> after hot plugging it works
mossroy has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
aidin has quit [Ping timeout: 240 seconds]
dave0x6d has joined #linux-sunxi
nashpa_ has quit [Quit: Going away]
<wens> codekipper: drm is hard
BenG83 has joined #linux-sunxi
aidin has joined #linux-sunxi
nashpa has joined #linux-sunxi
gaby has quit [Ping timeout: 276 seconds]
gaby has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
aidin has quit [Ping timeout: 255 seconds]
cafijo has quit [Ping timeout: 260 seconds]
BenG83 has quit [Ping timeout: 255 seconds]
<Net147> oliv3r: are you intending to add speakers to your display through HDMI?
terra854 has quit [Quit: Connection closed for inactivity]
aidin has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
fkluknav has joined #linux-sunxi
<wens> hmm, FreeBSD says armv6 instead of armv7 O.o
<KotCzarny> one image to boot them all ? ;)
<wens> maybe? I only looked at the release notes
<oliv3r> Net147: potentially, yeah, right now we are looking at an hdmi decoder that does hdmi -> rgb + i2s
<oliv3r> wens: is it really hard? or just quite complex?
<oliv3r> from the user space side, it's much more complex then the framebuffer i found, it's not hard, just 'a lot/complex'
<wens> oliv3r: no idea at the moment
<wens> or do you mean drm?
tom_nov has joined #linux-sunxi
<oliv3r> wens: sorry, DRM yeah
<wens> there's tons of usable callbacks, it's kind of hard to figure out what to do when starting from scratch
<oliv3r> wens: i noticed from the kernel side it gets even trickier
<oliv3r> wens: oh yeah absolutly
<oliv3r> i did a vsync test/tripple buffering test
<oliv3r> and modified modetest to do what i wanted to see
<Net147> DRM has evolved quite organically over time...
<oliv3r> yeah
<oliv3r> like *addFB and *addFB2
<Net147> page_flip_handler and page_flip_handler2
<oliv3r> there's a page_flip_handler2?
<Net147> yep
<oliv3r> hmm, modetest and https://github.com/dvdhrm/docs/tree/master/drm-howto didn't use it :)
BenG83 has joined #linux-sunxi
<Net147> it adds crtc_id so you know which display controller the flip occurred on
<oliv3r> aug 2016 i see
<Net147> would be nice if they added vblank_handler2
BenG83 has quit [Remote host closed the connection]
<oliv3r> lol
<oliv3r> would be nice if they'd rework it so it's extensible more cleanly
BenG83 has joined #linux-sunxi
<oliv3r> e.g. DRM_EVENT_CONTEXT_VERSION defines which handler you get
<oliv3r> though I think they actually do it don't they?
<oliv3r> ah no, flip_handler wraps around flip_handler2
<Net147> you should hardcode the version number
<oliv3r> nice blog
<oliv3r> post*
<oliv3r> yeah modetest does it wrong as well then :D
<oliv3r> evctx.version = DRM_EVENT_CONTEXT_VERSION;
<oliv3r> lol
<oliv3r> yep wrong
<oliv3r> they do memset it properly
jeandet has joined #linux-sunxi
<Net147> oliv3r: Qt also broke when page_flip_handler2 was added - http://code.qt.io/cgit/qt/qtbase.git/commit/?id=34d2fd14979198dc0fcc07f73581ece9540c4b72
<oliv3r> Net147: lol funny :)
<oliv3r> + drmEvent.version = DRM_EVENT_CONTEXT_VERSION;
<oliv3r> fix is not even right though
<Net147> yes, they're doing it wrong too...
<oliv3r> though the define is not clear enough
<oliv3r> DRM_EVENT_CONTEXT_SUPPORTED_VERSION
<oliv3r> may be a bit better
<oliv3r> as it now tells the user what the supported version of the library is that you have
<oliv3r> though i'm sure people would abuse it equally
droman0 has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
chlorine has joined #linux-sunxi
rexxster has joined #linux-sunxi
<Net147> mripard: oliv3r: olimex_lcd_olinuxino_43ts width/height incorrect? https://patchwork.kernel.org/patch/9854541/
<mripard> ?
<Net147> mripard: the width and height are incorrect from your initial patch
mzki has quit [Read error: Connection reset by peer]
paulk-gagarine has quit [Ping timeout: 240 seconds]
mzki has joined #linux-sunxi
<mripard> yes, but you sent a patch for it
<Net147> mripard: an ack would be nice =)
<mripard> I'm not the maintainer for it, I can't ack it
<Net147> I see
paulk-leonov has joined #linux-sunxi
<Net147> looks good otherwise?
Wizzup has quit [Quit: reboot]
<Net147> mripard: the previous fix for it I did you gave an ack - https://patchwork.kernel.org/patch/9325865/
aidin has quit [Remote host closed the connection]
paulk-gagarine has joined #linux-sunxi
Wizzup has joined #linux-sunxi
paulk-leonov has quit [Quit: Leaving]
<MoeIcenowy> mripard: have you checked my U-Boot patch that set PRCM to non-secure for H3?
cnxsoft has quit [Ping timeout: 246 seconds]
matthias_bgg has joined #linux-sunxi
lemonzest has joined #linux-sunxi
<oliv3r> Net147: yes it is incorrect
<oliv3r> i have the same patch in my local tree lol
<Net147> oliv3r: ah, so you have tested it then
<oliv3r> Net147: i noticed quite a few panels actually have it wrong
<oliv3r> Net147: indirectly, yes
<oliv3r> as mripard probably copy/pasted it from a similar panel is my guess
<oliv3r> so chances are, those are wrong too
<Net147> oliv3r: his size is the overall physical size including the frame, not just the active display portion
<Net147> oliv3r: the datasheet has the physical size that it corresponds to as well
lurchi_ is now known as lurchi__
<oliv3r> Net147: from what i understood (and according to your patch you too) the size parameter is the actual visble area
<oliv3r> the datasheet lists both
<oliv3r> and vendors quite often list the bigger size, as bigger > better
aidin has joined #linux-sunxi
<oliv3r> Net147: that's exactly the reason why it was in my queue as well :)
cafijo has joined #linux-sunxi
<cafijo> hi every body
<cafijo> Now I work with sunxi_ss
<cafijo> but I receive this dmsg message and I understad why
<cafijo> sunxi_ss_work()338 - async_req is NULL!
<cafijo> thats occurs when finish aes test
<cafijo> any idea?
<cafijo> Other question is the next: When I execute aes example the output is confusing, the output is: Got cbc(aes) with driver ss-cbc-aes. Note: This is not an accelerated cipher.
<cafijo> any idea about why is not an accelerated driver?? I observe dmesg and ss driver works.
<montjoie> the legacy sunxi_ss driver is crap. good luck:)
dave0x6d has quit [Quit: Connection closed for inactivity]
p_rossak has quit [Remote host closed the connection]
p_rossak has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
IgorPec11116 has joined #linux-sunxi
IgorPec11116 is now known as IgorPec
terra854 has joined #linux-sunxi
msimpson has quit [Quit: Leaving]
msimpson has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
IgorPec has quit [Ping timeout: 276 seconds]
IgorPec has joined #linux-sunxi
IgorPec2 has joined #linux-sunxi
IgorPec has quit [Read error: Connection reset by peer]
cnxsoft has quit [Quit: cnxsoft]
Gerwin_J has joined #linux-sunxi
<oliv3r> while i still have to double check, but all my audio is played back at double the speed/pitch
<oliv3r> sound familiar to anyone?
aidin has quit [Remote host closed the connection]
<oliv3r> i am using pleas' clock patches ...
<oliv3r> maybe the clock is wrong ...
<oliv3r> plaes ^ ring a bell?
aidin has joined #linux-sunxi
vagrantc has joined #linux-sunxi
IgorPec2 has quit [Read error: Connection reset by peer]
IgorPec has joined #linux-sunxi
<willmore> oliv3r, could be a mono/stereo thing.
reinforce has quit [Quit: Leaving.]
<oliv3r> willmore: how so?
jernej has joined #linux-sunxi
IgorPec2 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 255 seconds]
aidin has quit [Remote host closed the connection]
Andy-D_ has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 240 seconds]
fkluknav has quit [Ping timeout: 255 seconds]
<willmore> oliv3r, If you play a mono file and it splits it to stereo, you will get it played back at 2x the speed.
jernej has quit [Ping timeout: 240 seconds]
IgorPec2 has quit [Ping timeout: 276 seconds]
BenG83 has quit [Quit: Leaving]
fkluknav has joined #linux-sunxi
reinforce has joined #linux-sunxi
netlynx has joined #linux-sunxi
lkcl has quit [Ping timeout: 255 seconds]
msimpson has quit [Quit: Leaving]
tom_nov has quit [Quit: Leaving]
boycottg00gle has joined #linux-sunxi
jernej has joined #linux-sunxi
fkluknav has quit [Ping timeout: 255 seconds]
matthias_bgg has quit [Ping timeout: 255 seconds]
dev1990 has joined #linux-sunxi
boycottg00gle has quit [Remote host closed the connection]
leviathan_ has joined #linux-sunxi
IgorPec has joined #linux-sunxi
BenG83 has joined #linux-sunxi
phipli has joined #linux-sunxi
IgorPec has quit [Ping timeout: 246 seconds]
enrico__ has quit [Quit: Bye]
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
<plaes> oliv3r: oh no...
IgorPec has joined #linux-sunxi
<oliv3r> willmore: even speaker-test?
afaerber has quit [Quit: Leaving]
sunxi_fan has joined #linux-sunxi
sunxi_fan1 has quit [Ping timeout: 268 seconds]
jstein has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
chlorine_ has quit [Ping timeout: 240 seconds]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
Mr__Anderson has joined #linux-sunxi
BenG83_ has joined #linux-sunxi
valkyr1e has quit [Quit: Bye.]
<jernej> MoeIcenowy: which version of mali driver did you test with H3 DRM? X11?
nvz has joined #linux-sunxi
valkyr1e has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
lkcl has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
fdcx has quit [Ping timeout: 240 seconds]
fdcx has joined #linux-sunxi
netlynx has quit [Remote host closed the connection]
Mr__Anderson has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
IgorPec has joined #linux-sunxi
lurchi__ is now known as lurchi_
rej has quit [Ping timeout: 240 seconds]
rej has joined #linux-sunxi
rej has joined #linux-sunxi
rej has quit [Changing host]
rej has quit [Client Quit]
rej has joined #linux-sunxi
dev1990 has quit [Remote host closed the connection]
<oliv3r> plaes: dunno maybe it's something on my end; just checking if this is something known
<oliv3r> i haven't started debugging at all yet
terra854 has quit [Quit: Connection closed for inactivity]
dev1990 has joined #linux-sunxi
mossroy has quit [Quit: Leaving]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
reinforce has quit [Quit: Leaving.]
<willmore> oliv3r, I don't know. I've never used that.
dev1990 has quit [Quit: Konversation terminated!]
lkcl has quit [Ping timeout: 240 seconds]
Andy-D_ has joined #linux-sunxi
leviathan_ has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
IgorPec2 has joined #linux-sunxi
jstein has quit [Remote host closed the connection]
IgorPec has quit [Ping timeout: 260 seconds]
IgorPec2 has quit [Ping timeout: 240 seconds]
jernej has quit [Ping timeout: 240 seconds]
Mr__Anderson has quit [Remote host closed the connection]
phipli has quit [Ping timeout: 246 seconds]
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 240 seconds]
lurchi_ is now known as lurchi__
lemonzest has quit [Quit: Quitting]
aidin has joined #linux-sunxi
aidin has quit [Remote host closed the connection]
aidin has joined #linux-sunxi
lurchi__ is now known as lurchi_