| lekernel | bhamilton, btw you can ask questions here too | 14:24 |
|---|---|---|
| bhamilton | great :) | 14:24 |
| GitHub87 | [migen] sbourdeauducq pushed 2 new commits to master: http://git.io/9iw8-A | 15:40 |
| GitHub87 | migen/master fd089b1 Sebastien Bourdeauducq: actorlib/dma_asmi/OOOWriter: fix tag offset | 15:40 |
| GitHub87 | migen/master 7a74dae Sebastien Bourdeauducq: actorlib/spi: add DMAWriteController | 15:40 |
| lekernel | found the problem :) | 16:10 |
| lekernel | yay!!! | 16:11 |
| lekernel | pairs of 2 bits were swapped ... | 16:11 |
| lekernel | gosh this sort of bug can be so annoying ... | 16:11 |
| lekernel | now the picture looks perfect | 16:12 |
| larsc | hm, yea that's what i expected, just couldn't figure out which two | 16:15 |
| larsc | which two were swapped? | 16:16 |
| lekernel | all pairs | 16:16 |
| lekernel | all 5 pairs of 2 bits in the 10-bit words | 16:17 |
| larsc | ha, I stopped at trying to swap at a 4 bit boundary... | 16:17 |
| lekernel | http://milkymist.org/dvi_working.png | 16:17 |
| lekernel | and no more strange behavior like lines with the wrong size etc. except at beginning and end | 16:18 |
| larsc | that was due to the vsync character being wrong and it thought that was data | 16:19 |
| larsc | yea | 16:19 |
| larsc | actually are you sure that this is all? | 16:21 |
| larsc | the the vsync bit seems to be flipped | 16:23 |
| lekernel | updated the data | 16:24 |
| larsc | when I count the control character I get this | 16:25 |
| larsc | 1237 FOUND 2 0b101010100 0b1010101011 | 16:25 |
| larsc | 1236 FOUND 2 0b1010101011 0b101010100 | 16:25 |
| larsc | 4 FOUND 2 0b10101011 0b1101010100 | 16:25 |
| larsc | 6 FOUND 2 0b1101010100 0b10101011 | 16:25 |
| larsc | while I expect the numbers to be the other way around | 16:26 |
| larsc | well not count the control characters, but count the transistions of hsync on <-> hsync off | 16:26 |
| lekernel | mh? | 16:27 |
| larsc | If vsync is off the transistion of hsync off to on should be the transition of c=0 to c=1 | 16:28 |
| larsc | right? | 16:28 |
| lekernel | I think so | 16:28 |
| lekernel | what do you see instead? | 16:28 |
| larsc | well a transition from c=3 to c=2 | 16:29 |
| larsc | I think | 16:29 |
| lekernel | hsync and vsync can have negative polarity - that's defined in EDID and enabled by default iirc | 16:29 |
| lekernel | maybe it's just that | 16:29 |
| larsc | ah | 16:29 |
| larsc | that makes sense then | 16:29 |
| larsc | uhm yea, 640x480 has negative polarity for both hsync and vsync | 16:30 |
| lekernel | are there any modes that have positive polarity? (ie do I need to care about that, or just hardcode negative polarity?) | 16:37 |
| larsc | I think 720p, 1080p has positive polarity | 16:40 |
| larsc | negative polarity is mostly used for legacy modes, or something | 16:40 |
| larsc | http://lxr.free-electrons.com/source/drivers/gpu/drm/drm_edid.c#L134 | 16:41 |
| lekernel | grmbl | 16:48 |
| lekernel | how is the gateware supposed to autodetect that? | 16:48 |
| larsc | check which character comes after de goes from high to low | 16:50 |
| larsc | or count the characters | 16:51 |
| larsc | iirc vsync and hsync polarity are actually supposed to help to distiguish between modes | 16:51 |
| lekernel | ok, so when de goes from high to low, it's usually hsync, and sometimes vsync+hsync ? | 16:54 |
| lekernel | it can never be vsync alone | 16:54 |
| lekernel | right? | 16:54 |
| larsc | the pattern is de nothing hsync nothing de | 16:55 |
| larsc | or vsync hsync+vsync vsync | 16:55 |
| larsc | http://www.epanorama.net/documents/pc/multisync_modedetect.html so its legacy crap | 16:56 |
| larsc | the first symbol after de goes low will always be both hsync and vsync off | 16:56 |
| lekernel | ok so if c=3 immediately after de=0 then polarity is negative? | 17:02 |
| larsc | I'd just take the c after de=0 and xor all other c's with it | 17:03 |
| lekernel | good idea | 17:03 |
| GitHub45 | [milkymist-ng] sbourdeauducq pushed 1 new commit to master: http://git.io/nsChhw | 18:40 |
| GitHub45 | milkymist-ng/master 6307331 Sebastien Bourdeauducq: dvisampler/datacapture: swap bit pairs | 18:40 |
| GitHub91 | [milkymist-ng] sbourdeauducq pushed 1 new commit to master: http://git.io/qiTZQQ | 18:42 |
| GitHub91 | milkymist-ng/master 4259699 Sebastien Bourdeauducq: dvisampler: add RawDVISampler | 18:42 |
| Fallenou | congratz :) | 21:30 |
| --- Sun May 5 2013 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!