The NetBSD Project

CVS log for src/sys/arch/arm/allwinner/Attic/awin_hdmiaudio.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.7.10.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.7: +2 -2 lines
Sync with HEAD, resolve some conflicts

Revision 1.8
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.7: +2 -2 lines
Remove old Allwinner port.

Revision 1.7.8.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.7.8.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.8.1: +720 -0 lines
update from HEAD

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:29 2017 UTC (7 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.1: +2 -4 lines
Sync with HEAD

Revision 1.7.8.1
Thu Jun 1 02:45:05 2017 UTC (7 years, 8 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.7: +0 -720 lines
file awin_hdmiaudio.c was added on branch tls-maxphys on 2017-12-03 11:35:51 +0000

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:05 2017 UTC (7 years, 8 months ago) by chs
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, 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, 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
Branch point for: tls-maxphys, pgoyette-compat
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -4 lines
remove checks for failure after memory allocation calls that cannot fail:

  kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

Revision 1.5.2.1: 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.5: preferred, colored
Changes since revision 1.5: +4 -2 lines
Sync with HEAD (as of 26th Dec)

Revision 1.6: 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: 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, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -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.3.2.4: download - view: text, markup, annotated - select for diffs
Sun Nov 23 13:07:04 2014 UTC (10 years, 2 months ago) by martin
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.3.2.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.3: +47 -8 lines
Pull up following revision(s) (requested by jmcneill in ticket #249):
	sys/modules/pad/Makefile: revision 1.2
	sys/arch/arm/allwinner/awin_hdmiaudio.c: revision 1.5
	sys/dev/pad/pad.c: revision 1.22
	sys/dev/pad/padvol.c: file removal
	sys/dev/pad/files.pad: revision 1.5
	sys/dev/auvolconv.c: revision 1.1
	sys/dev/pad/padvol.h: file removal
	sys/dev/audio.c: revision 1.266
	sys/dev/files.audio: revision 1.3 (via patch: sys/conf/files)
	sys/dev/auvolconv.h: revision 1.1
	sys/dev/pad/padvar.h: revision 1.5
	sys/dev/audio_if.h: revision 1.70
	sys/arch/arm/allwinner/files.awin: revision 1.26
Add common audio converters for software volume control. Only supports
slinear16_le and slinear16_be for now.
Convert pad(4) and awin_hdmiaudio to use the new converters.

Revision 1.3.2.3: 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
Diff to: previous 1.3.2.2: preferred, colored
Changes since revision 1.3.2.2: +31 -5 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.5: download - view: text, markup, annotated - select for diffs
Tue Nov 18 01:53:53 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +47 -8 lines
add software volume controls

Revision 1.4: 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.3: preferred, colored
Changes since revision 1.3: +31 -5 lines
report hotplug status for AUDIO_GETDEV fields, only allow playback if a capable display is connected

Revision 1.3.2.2: 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.3.2.1: preferred, colored
Changes since revision 1.3.2.1: +655 -0 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.3.2.1
Wed Nov 12 17:38:14 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
FILE REMOVED
Changes since revision 1.3: +0 -655 lines
file awin_hdmiaudio.c was added on branch netbsd-7 on 2014-11-14 13:37:39 +0000

Revision 1.3: 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
Branch point for: netbsd-7
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +25 -10 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.2: download - view: text, markup, annotated - select for diffs
Tue Nov 11 17:14:38 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -9 lines
AWIN_HDMI_ADMA_CTRL_FIFO_CLEAR causes playback to stop working, dont set it

Revision 1.1: 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
add HDMI audio driver

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>