00:46
libv has quit [Ping timeout: 264 seconds]
00:47
libv has joined #linux-exynos
01:38
libv has quit [Ping timeout: 264 seconds]
01:43
libv has joined #linux-exynos
02:15
twitch153 has quit [Ping timeout: 240 seconds]
02:29
twitch153 has joined #linux-exynos
05:07
_whitelogger has joined #linux-exynos
06:14
D1337d has quit [Ping timeout: 256 seconds]
06:46
D1337d has joined #linux-exynos
07:03
Wizzup_ is now known as Wizzup
07:03
Wizzup has quit [Quit: Reconnecting]
07:04
Wizzup has joined #linux-exynos
09:04
zombah has joined #linux-exynos
09:15
azer_ has left #linux-exynos [#linux-exynos]
10:44
amitk has quit [Quit: Lost terminal]
10:57
amitk has joined #linux-exynos
11:08
prahal has quit [Quit: prahal]
11:09
prahal has joined #linux-exynos
11:24
prahal has quit [Remote host closed the connection]
12:26
afaerber has joined #linux-exynos
12:28
amitk has quit [Quit: leaving]
16:22
zombah has quit [Quit: Leaving]
16:24
prahal has joined #linux-exynos
16:31
leming has quit [Read error: Connection reset by peer]
16:31
leming has joined #linux-exynos
16:32
leming has quit [Remote host closed the connection]
16:34
leming has joined #linux-exynos
16:38
libv has quit [Ping timeout: 264 seconds]
16:38
libv has joined #linux-exynos
17:04
leming has quit [Ping timeout: 248 seconds]
17:04
leowt has joined #linux-exynos
17:05
<
leowt >
javier__ you there?
17:08
<
javier__ >
leowt: I'm
17:08
<
javier__ >
leowt: you should just ask your questions here and people will answer you when possible
17:10
<
leowt >
i got both the "pseudo"ported kernel and the mainline one booting
17:10
<
leowt >
since the ported one seems functional, i want to use it meanwhile
17:11
<
leowt >
but both are not outputing hdmi
17:14
<
javier__ >
leowt: the pseudo ported was the frankestein 3.8 odroid tree + board files?
17:15
<
javier__ >
leowt: you are missing the vdd-supply regulator
17:15
<
javier__ >
the board file should provide the correct one
17:15
<
javier__ >
but I would really not spend time on that tree and try to use mainline instead
17:17
<
leowt >
mainline is having the exact same issue, i am using the odroidx dt
17:18
leming has joined #linux-exynos
17:18
<
javier__ >
leowt: arch/arm/boot/dts/exynos4412-odroidx.dts?
17:19
<
leowt >
it has the same cpu clock and memory
17:19
<
javier__ >
it defines the vdd-supply vdd-supply = <&ldo8_reg>
17:20
<
leowt >
i cant find no reference to a regulator on the boardfile
17:20
<
javier__ >
leowt: 517 is EPROBE_DEFER btw which means that the driver probe has been deferred
17:20
<
javier__ >
so it could be that succeeds later if the regulator is found again
17:20
<
javier__ >
which probably is the case for the mainline DTS since the regulator is defined there
17:21
<
leowt >
sorry, im not catching, you are saying that later on the boot process it works?
17:36
<
leowt >
the mainline one with exynos4412-odroidx.dts, just hangs here
17:36
<
leowt >
for about 10 secs and then reboots
17:42
<
javier__ >
leowt: no, what I'm saying is that EPROBE_DEFER (-517) is not necessarily an error code
17:43
<
javier__ >
leowt: at some point you will have to figure out the differences between the odroidx and your board to adapt the DT correctly
17:43
<
javier__ >
using a DT from another board may give you a serial console but unless the schematic is the same, you need to adapt the hw description
17:46
<
leowt >
tiny4412 is from the same vendor, i found that for example leds gpio matches
17:47
<
leowt >
but if i boot with it, it fails setting the cpus
17:47
<
leowt >
i suppose that there is something to do with clock, but if so, is clock defined in dt files?
17:48
<
javier__ >
leowt: yes, there are some clocks that are defined in the DT
17:48
<
javier__ >
others that are setup by the firmware or boot-loader
17:49
<
javier__ >
leowt: max77686 0-0009: device not found on this channel (this is not an error)
17:50
<
javier__ >
this is interesting, does your board use the same max77686 PMIC?
17:50
<
javier__ >
and if so, it is in the same i2c bus and address?
17:51
<
leowt >
yes it does
17:51
<
leowt >
i will go check
17:55
<
leowt >
im checking pmic-77686.h
17:55
afaerber has quit [Quit: Verlassend]
17:55
<
leowt >
i can get no reference to an address or gpio
17:56
<
leowt >
.irq_gpio= EXYNOS4_GPX3(2),
17:56
<
leowt >
.ono=EXYNOS4_GPX1(2),
17:57
<
leowt >
should regulator_p3v3 on dts be with one of those?
18:10
liquidAcid has joined #linux-exynos
18:11
<
leowt >
this is the output with tiny4412 dts
18:19
<
leowt >
got it booting with another frankenstein hack
18:21
<
leowt >
deteled the regulator and sdhc stuff from odroid-common.dtsi (the parts that didnt work at first with odroidx dtb)
18:21
<
leowt >
and added the sdhc from tiny
18:22
<
liquidAcid >
leowt, you should probably just add the right regulators
18:23
<
leowt >
i have to learn first, but since i have at least booted to the rootfs, i can now dig into it :)
18:46
leowt has joined #linux-exynos
18:52
zombah has joined #linux-exynos
19:28
afaerber has joined #linux-exynos
20:10
libv has quit [Ping timeout: 264 seconds]
20:11
libv has joined #linux-exynos
20:16
libv has quit [Ping timeout: 264 seconds]
20:16
libv has joined #linux-exynos
20:30
<
liquidAcid >
prahal, ping!
21:10
bzyx has quit [Remote host closed the connection]
21:10
bzyx has joined #linux-exynos
21:11
bzyx has quit [Remote host closed the connection]
21:12
bzyx has joined #linux-exynos
21:25
libv has quit [Ping timeout: 264 seconds]
21:25
libv has joined #linux-exynos
21:34
<
prahal >
liquidAcid: hi
21:34
<
liquidAcid >
prahal, yo!
21:34
<
liquidAcid >
prahal, can you do me a favor and test something?
21:36
<
prahal >
yes, but should fit in the few hours left of today (tomorrow I will be away
21:37
leowt has joined #linux-exynos
21:37
leowt has quit [Client Quit]
21:37
leowt has joined #linux-exynos
21:38
<
liquidAcid >
prahal, if you find some time, you could run some checks and then report back on the ml
21:39
<
prahal >
fine with me
21:40
<
liquidAcid >
i hope this accelerates the merging process
21:42
<
prahal >
liquidAcid: I still get page fault with drm iommu here (on restart of gdm3)
21:43
<
liquidAcid >
prahal, hmm, i'm not running X here, so all my test are apps from libdrm (mostly modetest)
21:43
<
liquidAcid >
have you managed to trigger this with modetest?
21:44
<
prahal >
I have not tested , will do
21:45
<
liquidAcid >
if you don't want to apply the series yourself
21:53
<
liquidAcid >
prahal, do you have dmesg from the page fault?
21:55
<
prahal >
yes , still the exynos iommu irq dump is not that helpfull , the later oops gives a better clue as of the issue (but it turned out the page fault was in the drm initial dma mapping (the one created by drm_create_iommu_mapping, ie EXYNOS_DEV_ADDR_START
21:55
<
prahal >
the sysmu was _tv one , ie the one attached to mixer
21:56
<
prahal >
then I worked around it and now I get a page fault about an address below 0x10000000
21:57
<
prahal >
the whole coneption seems to contradict the sysmmu dt binding doc
21:57
<
prahal >
that is ' one System MMU can handle transactions from only one peripheral device'
21:57
<
liquidAcid >
prahal, i think i have an idea why that happens
21:58
<
liquidAcid >
prahal, did you say it happens when you restart gdm?
21:58
<
prahal >
if we attach the first subdevice to drm device , then drm device to all other subdevice ..
21:58
<
liquidAcid >
you should revert that one
21:58
<
liquidAcid >
+ mode_cmd.height = sizes->surface_height * NUM_BUFFERS;
21:59
<
liquidAcid >
that doesn't work anymore
21:59
<
liquidAcid >
in particular it leads to this scenario:
22:00
<
liquidAcid >
if a user of the drm restores the crtc after cleanup the drm tries to restore the attached framebuffer, which is the one from the fbdev emulation
22:00
<
liquidAcid >
this fails, so the mixer is never configured to scan out this buffer, it's still scanning out the last configured one
22:01
<
liquidAcid >
then the drm user deallocates it's buffers, and voila, pagefault
22:03
<
liquidAcid >
you should see this more clearly with drm.debug=0xff
22:04
<
liquidAcid >
pagefault probably happens shortly after the scanout buffer is deallocated
22:09
<
prahal >
got a page fault (different one), will drm.debug
22:20
<
liquidAcid >
should fix the pagefault that happens due to register dumping
22:27
<
prahal >
no , trying right now
22:32
<
prahal >
with those two patches : "fb_ioctl + num_buffers" and "drm mixer dump"
22:33
<
prahal >
and drm.debug on , I was unable to reproduce the page fault :)
22:33
<
prahal >
time to try without drm.debug
22:35
<
prahal >
bah , got the page fault without the drm.debug (gdm3 restart ok , then login X session <- failed )
22:36
<
liquidAcid >
hmm, strange
22:36
<
prahal >
still the new page fault now match the previous run debug output
22:37
<
liquidAcid >
i guess there are still more racing bugs in the mixer and surrounding code
22:37
<
prahal >
page fault is at 0x900000 by 12e20000.sysmmu while previous run had : [drm:exynos_drm_fb_buffer] dma_addr = 0x900000
22:37
<
prahal >
a lot of instance of the drm fb buffer in the previous run had this address
22:41
<
liquidAcid >
still, my guess would be that mixer is still scanning out from 0x900000 when the buffer is already deallocated
23:25
liquidAcid has quit [Quit: Leaving]
23:36
prahal has quit [Quit: prahal]