The NetBSD Project

CVS log for src/sys/arch/arm/allwinner/Attic/awin_hdmi.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / allwinner

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.19.18.1
Mon Apr 16 01:59:52 2018 UTC (6 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
FILE REMOVED
Changes since revision 1.19: +2 -2 lines
Sync with HEAD, resolve some conflicts

Revision 1.20
Sun Apr 8 13:19:17 2018 UTC (6 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-futex-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, isaki-audio2-base, isaki-audio2, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
FILE REMOVED
Changes since revision 1.19: +2 -2 lines
Remove old Allwinner port.

Revision 1.19.16.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:51 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.19.16.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.16.1: +1064 -0 lines
update from HEAD

Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:29 2015 UTC (9 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +92 -36 lines
Sync with HEAD (as of 26th Dec)

Revision 1.19.16.1
Thu Nov 19 18:48:22 2015 UTC (9 years, 2 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.19: +0 -1064 lines
file awin_hdmi.c was added on branch tls-maxphys on 2017-12-03 11:35:51 +0000

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Nov 19 18:48:22 2015 UTC (9 years, 2 months ago) by bouyer
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: tls-maxphys, pgoyette-compat
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +38 -2 lines
Turn off video output on WSDISPLAYIO_SVIDEO.
For LCD/LVDS, just stop the tcon0.
For HDMI, turn off tcon and hdmi (so that the monitor goes to sleeo)
if the audio output is inactive.
For this, add a lock-protected refcount in awin_hdmi, incremented when
audio and/or video is active.
Tested with an audio-enabled HDMI display.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Nov 15 21:28:54 2015 UTC (9 years, 3 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -6 lines
Add support for LVDS output on tcon0. Tested with a full HD LVDS display.
Other LCD interfaces not supported yet, mostly by lack of hardware.
The LVDS output and timings are set from the FEX script.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Oct 25 20:54:19 2015 UTC (9 years, 3 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +56 -36 lines
Snapshot of work in progress on support for multiple display outputs.
The display configuration comes from the fex script as defined
in http://linux-sunxi.org/Fex_Guide, section disp_init.
There is some code to convert lcd0_para/lcd1_para to properties but
it's not used yet.

At this time only mode 0 (debe0->tcon0->hdmi) works.
debe0->tcon1->hdmi and debe1->tcon0->hdmi both gives a valid HDMI
signal but completely blank screen. AWIN_TCON1_BLUEDATA gives a blue screen
in both cases so tcon1->hdmi works. I suspect that, for some reason
setups other than debe0->tcon0 are not configured properly, and
the tcon is reading all-1 bits instead of the expected debe output.

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:36 2015 UTC (9 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +29 -4 lines
Sync with HEAD

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Jul 25 15:19:54 2015 UTC (9 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +29 -4 lines
For DDC, we don't have a real I2C bus, but instead read an EDID block at
a time. Read the blocks ourselves instead of pulling in ddc_read_edid.

Revision 1.4.2.5: download - view: text, markup, annotated - select for diffs
Tue Nov 18 18:19:09 2014 UTC (10 years, 3 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.4.2.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.4: +188 -23 lines
Pull up following revision(s) (requested by jmcneill in ticket #244):
	sys/arch/arm/allwinner/awin_hdmi.c: revision 1.13-1.15
	sys/arch/arm/allwinner/awin_hdmiaudio.c: revision 1.4
	sys/arch/arm/allwinner/awin_var.h: revision 1.25
	sys/arch/evbarm/awin/awin_machdep.c: revision 1.29
	sys/dev/i2c/ddc.c: revision 1.4
	sys/dev/i2c/ddcvar.h: revision 1.2
	sys/dev/videomode/edid.c: revision 1.13
	sys/dev/videomode/edidreg.h: revision 1.4
	sys/dev/videomode/edidvar.h: revision 1.3
Parse the extension block count field, and make it available in struct edid_info
--
add ddc_read_edid_block, which is the same as ddc_read_edid but takes an additional block number argument
--
Add support for DVI displays. Detect HDMI vs DVI mode by looking for a
CEA-861-D extension block in the EDID, and then searching this block for
an HDMI vendor-specific data block (HDMI VSDB).
--
Allow for overriding DVI/HDMI detection with a kernel boot arg. Set
hdmi.forcemode=dvi or hdmi.forcemode=hdmi to disable auto-detection.
--
report hotplug status for AUDIO_GETDEV fields, only allow playback if a capable display is connected
--
clear repeater sel bits before setting -- would cause an issue if we ever switched away from a pixel doubling mode

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Nov 17 10:00:14 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -3 lines
clear repeater sel bits before setting -- would cause an issue if we ever switched away from a pixel doubling mode

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Nov 17 01:38:00 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +39 -3 lines
report hotplug status for AUDIO_GETDEV fields, only allow playback if a capable display is connected

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Nov 17 00:49:32 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +149 -21 lines
Add support for DVI displays. Detect HDMI vs DVI mode by looking for a
CEA-861-D extension block in the EDID, and then searching this block for
an HDMI vendor-specific data block (HDMI VSDB).

Revision 1.4.2.4: download - view: text, markup, annotated - select for diffs
Fri Nov 14 13:37:39 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.4.2.3: preferred, colored
Changes since revision 1.4.2.3: +83 -9 lines
Pull up following revision(s) (requested by jmcneill in ticket #214):
	sys/arch/evbarm/conf/BPI: revision 1.11
	sys/arch/arm/allwinner/awin_hdmi.c: revision 1.10
	sys/arch/arm/allwinner/awin_hdmiaudio.c: revision 1.1
	sys/arch/arm/allwinner/awin_hdmiaudio.c: revision 1.2
	sys/arch/arm/allwinner/awin_hdmiaudio.c: revision 1.3
	sys/arch/evbarm/conf/CUBIEBOARD: revision 1.34
	sys/arch/arm/allwinner/awin_io.c: revision 1.28
	sys/arch/arm/allwinner/awin_reg.h: revision 1.48
	sys/arch/arm/allwinner/awin_debe.c: revision 1.5
	sys/arch/arm/allwinner/awin_dma_a10.c: revision 1.3
	sys/arch/evbarm/conf/HUMMINGBIRD_A31: revision 1.19
	sys/arch/arm/allwinner/files.awin: revision 1.24
	sys/arch/arm/allwinner/awin_board.c: revision 1.28
	sys/arch/arm/allwinner/awin_hdmi.c: revision 1.7
	sys/arch/arm/allwinner/awin_hdmi.c: revision 1.8
HDMI audio driver for Allwinner boards.

Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Fri Nov 14 13:26:46 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.4.2.2: preferred, colored
Changes since revision 1.4.2.2: +295 -82 lines
Pull up following revision(s) (requested by jmcneill in ticket #210):
	sys/arch/arm/allwinner/awin_board.c: revisions 1.26-1.27
	sys/arch/arm/allwinner/awin_debe.c: revisions 1.1-1.6
	sys/arch/arm/allwinner/awin_fb.c: revisions 1.1-1.4
	sys/arch/arm/allwinner/awin_hdmi.c: revisions 1.3-1.6,1.9-1.12
	sys/arch/arm/allwinner/awin_io.c: revision 1.27
	sys/arch/arm/allwinner/awin_reg.h: revisions 1.46-1.47,1.49
	sys/arch/arm/allwinner/awin_tcon.c: revisions 1.1-1.5
	sys/arch/arm/allwinner/awin_var.h: revisions 1.20-1.22
	sys/arch/arm/allwinner/files.awin: revisions 1.22-1.23,1.25
	sys/arch/evbarm/awin/awin_machdep.c: revision 1.26
	sys/arch/evbarm/conf/BPI: revision 1.10
	sys/arch/evbarm/conf/CUBIEBOARD: revision 1.32
	sys/arch/evbarm/conf/HUMMINGBIRD_A31: revisions 1.17-1.18
	sys/dev/wscons/wsconsio.h: revision 1.109

HDMI framebuffer for Allwinner boards.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Nov 14 01:05:57 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -2 lines
disable hdmi and tcon before setting up the display

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Nov 14 00:31:54 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -13 lines
Add support for interlaced video modes.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Nov 12 17:38:14 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -3 lines
Add A20 HDMI audio support. Basically the same as A31, except we need to use dedicated DMA mode here (A31 DMA controller only supports "normal DMA" mode).

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Nov 11 19:22:32 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -4 lines
defflag AWIN_HDMI_DEBUG, AWIN_TCON_DEBUG, AWIN_DEBE_DEBUG, and defparam AWIN_DEBE_VIDEOMEM

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Nov 11 17:27:12 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
only dump regs when enabling audio if AWIN_HDMI_DEBUG

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Nov 11 17:00:59 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +79 -7 lines
add HDMI audio driver

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Nov 10 18:18:09 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -2 lines
hide edid dump with AWIN_HDMI_DEBUG

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Nov 10 17:55:25 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +111 -80 lines
HDMI framebuffer support, tested on Cubieboard2 and Hummingbird A31.

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 9 14:42:33 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.4.2.1: preferred, colored
Changes since revision 1.4.2.1: +531 -0 lines
Catch up to -current as of ~1 hour ago for sys/arch/arm/allwinner and
sys/arch/evbarm/awin. Requested by skrll in ticket #203.

Revision 1.4.2.1
Sun Nov 9 14:30:55 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
FILE REMOVED
Changes since revision 1.4: +0 -714 lines
file awin_hdmi.c was added on branch netbsd-7 on 2014-11-09 14:42:33 +0000

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Nov 9 14:30:55 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Branch point for: netbsd-7
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +16 -11 lines
If we can't determine the preferred display mode for some reason, fallback
to 640x480.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Nov 9 14:10:54 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +247 -69 lines
awin framebuffer support, not sure if this works yet because hdmi is not working yet

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Nov 8 00:31:54 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +131 -30 lines
Core version 1.4 (as found in A31) has a different DDC register layout. Add
support for it.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Sep 11 02:21:19 2014 UTC (10 years, 5 months ago) by jmcneill
Branches: MAIN
work in progress HDMI driver, so far it can detect display presence and read the display EDID

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>