#
3ddaf820 |
| 02-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
Use bus_generic_detach instead of device_delete_children in detach
While here, check for errors from bus_generic_detach and move it to the start of detach if necessary.
Differential Revision: https
Use bus_generic_detach instead of device_delete_children in detach
While here, check for errors from bus_generic_detach and move it to the start of detach if necessary.
Differential Revision: https://reviews.freebsd.org/D47969
show more ...
|
#
18250ec6 |
| 06-Dec-2024 |
John Baldwin <jhb@FreeBSD.org> |
Replace calls to bus_generic_attach with bus_attach_children
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D47675
|
Revision tags: release/14.2.0 |
|
#
d643e823 |
| 18-Oct-2024 |
Jani Salonen <salojan@goto10.co> |
snd_hda: Identify NVIDIA GM204
PR: 228615 MFC after: 2 days Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D47166
|
Revision tags: release/13.4.0 |
|
#
5b56413d |
| 25-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY
Sponsored by: Netflix
|
#
fb1028dc |
| 14-Jun-2024 |
Adam Retter <adam.retter@googlemail.com> |
hda: add support for Tiger Lake-H
PR: 272682 Reported by: Miguel Salcedo Reviewed by: emaste
|
Revision tags: release/14.1.0 |
|
#
bed0b214 |
| 13-Apr-2024 |
Michael Zhilin <mizhka@FreeBSD.org> |
snd_hda: fix "duplicated free" on module unloading
This is trivial fix of hdacc_detach to avoid duplicated free on snd_hda unloading.
The first try of detaching (kldunload) may results into "device
snd_hda: fix "duplicated free" on module unloading
This is trivial fix of hdacc_detach to avoid duplicated free on snd_hda unloading.
The first try of detaching (kldunload) may results into "device busy" error, but codec->fgs is freed by detach. Second try attempts to free codec->fgs again and system panicks.
Here is example:
pcm0: unregister: channel pcm0:virtual:dsp0.vp0 busy (pid 3428) pulseaudio[3428] [oss] module-oss.c: DSP shutdown. pcm0: detached hdaa0: detached panic: Duplicate free of 0xfffff80412ee7d20 from zone 0xfffffe006bc0ba00 (malloc-32) slab 0xfffff80412ee7fc8(105) cpuid = 6 time = 1712999565 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0202f859e0 vpanic() at vpanic+0x135/frame 0xfffffe0202f85b10 panic() at panic+0x43/frame 0xfffffe0202f85b70 uma_dbg_free() at uma_dbg_free+0x105/frame 0xfffffe0202f85b90 uma_zfree_arg() at uma_zfree_arg+0x95/frame 0xfffffe0202f85be0 free() at free+0xa1/frame 0xfffffe0202f85c20 hdacc_detach() at hdacc_detach+0x2f/frame 0xfffffe0202f85c40 device_detach() at device_detach+0x197/frame 0xfffffe0202f85c80 devclass_driver_deleted() at devclass_driver_deleted+0x66/frame 0xfffffe0202f85c devclass_delete_driver() at devclass_delete_driver+0x81/frame 0xfffffe0202f85d00 driver_module_handler() at driver_module_handler+0xff/frame 0xfffffe0202f85d50 module_unload() at module_unload+0x32/frame 0xfffffe0202f85d70 linker_file_unload() at linker_file_unload+0x1eb/frame 0xfffffe0202f85db0 kern_kldunload() at kern_kldunload+0x18e/frame 0xfffffe0202f85e00 amd64_syscall() at amd64_syscall+0x153/frame 0xfffffe0202f85f30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0202f85f30
MFC after: 3 days Reviewed by: markj, christos Differential Revision: https://reviews.freebsd.org/D44778 Sponsored by: Postgres Professional
show more ...
|
Revision tags: release/13.3.0 |
|
#
5968e477 |
| 18-Feb-2024 |
Dmitry Lukhtionov <dmitryluhtionov@gmail.com> |
snd_hda: Add patches for the Lenovo Ideapad 330-15 and ThinkPad X230
PR: 259640 MFC after: 2 weeks Reviewed by: delphij, markj Differential Revision: https://reviews.freebsd.org/D43804
|
#
f7d3d0a4 |
| 22-Jan-2024 |
Christos Margiolis <christos@FreeBSD.org> |
sound: use device_set_descf() to set device descriptions
Commit 6b6914c1e21b introduced a printf-like version of device_set_desc(), so use it to simplify device description setting in the audio stac
sound: use device_set_descf() to set device descriptions
Commit 6b6914c1e21b introduced a printf-like version of device_set_desc(), so use it to simplify device description setting in the audio stack.
Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Reviewed by: dev_submerge.ch, markj Differential Revision: https://reviews.freebsd.org/D43467
show more ...
|
Revision tags: release/14.0.0 |
|
#
5aacf339 |
| 18-Aug-2023 |
John Baldwin <jhb@FreeBSD.org> |
sys: Remove SND_DECLARE_FILE
Reviewed by: kbowling, imp, emaste Differential Revision: https://reviews.freebsd.org/D41499
|
#
82a265ad |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: sound driver version
Remove /SND_DECLARE_FILE\("\$FreeBSD\$"\);/
|
#
4d846d26 |
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
Revision tags: release/13.2.0, release/12.4.0 |
|
#
2a31a06b |
| 20-Oct-2022 |
Alexander Motin <mav@FreeBSD.org> |
Add random VMware device IDs.
Just to make dmesg look nicer there.
MFC after: 1 week
|
Revision tags: release/13.1.0 |
|
#
3390adfe |
| 07-May-2022 |
John Baldwin <jhb@FreeBSD.org> |
sound: Remove unused devclass arguments to DRIVER_MODULE.
|
#
e997f337 |
| 16-Mar-2022 |
Ed Maste <emaste@FreeBSD.org> |
Add Tempo Semiconductor 92HD95B HDA codec ID
This codec is found in recent versions of the Framework laptop. Tempo Semiconductor acquired these products from IDT's Audio Business Unit.
MFC after:
Add Tempo Semiconductor 92HD95B HDA codec ID
This codec is found in recent versions of the Framework laptop. Tempo Semiconductor acquired these products from IDT's Audio Business Unit.
MFC after: 1 week Sponsored by: The FreeBSD Foundation
show more ...
|
Revision tags: release/12.3.0 |
|
#
dc238358 |
| 06-Nov-2021 |
Alexander Motin <mav@FreeBSD.org> |
Add some of Intel Alder Lake device IDs.
MFC after: 1 week
|
#
86d69de8 |
| 12-Jul-2021 |
Xin LI <delphij@FreeBSD.org> |
Fix blankspace anomalies, no actual code change.
|
#
ddfc9c4c |
| 23-Jun-2021 |
Warner Losh <imp@FreeBSD.org> |
newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf
Now that the upper layers all go through a layer to tie into these information functions that translates
newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf
Now that the upper layers all go through a layer to tie into these information functions that translates an sbuf into char * and len. The current interface suffers issues of what to do in cases of truncation, etc. Instead, migrate all these functions to using struct sbuf and these issues go away. The caller is also in charge of any memory allocation and/or expansion that's needed during this process.
Create a bus_generic_child_{pnpinfo,location} and make it default. It just returns success. This is for those busses that have no information for these items. Migrate the now-empty routines to using this as appropriate.
Document these new interfaces with man pages, and oversight from before.
Reviewed by: jhb, bcr Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D29937
show more ...
|
Revision tags: release/13.0.0 |
|
#
510cc421 |
| 15-Jan-2021 |
Alexander Motin <mav@FreeBSD.org> |
Unify Intel CODEC naming.
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week
|
Revision tags: release/12.2.0, release/11.4.0 |
|
#
fc68af79 |
| 05-Jun-2020 |
Alexander Motin <mav@FreeBSD.org> |
Add bunch of HDA controller and codec IDs.
MFC after: 2 weeks
|
#
944a6408 |
| 19-Apr-2020 |
Ed Maste <emaste@FreeBSD.org> |
snd_hda: whitespace and style(9) cleanups
|
#
cdf17038 |
| 18-Apr-2020 |
Ed Maste <emaste@FreeBSD.org> |
hda: remove hda*_lockowned macros
These are not used anywhere.
|
#
bd136d88 |
| 13-Apr-2020 |
Mark Johnston <markj@FreeBSD.org> |
snd_hda(4): Recognize the ALC257 codec.
PR: 245524 Submitted by: Jose Luis Duran <jlduran@gmail.com> MFC after: 1 week
|
#
35228417 |
| 05-Dec-2019 |
Scott Long <scottl@FreeBSD.org> |
Add support for new sound HDA hardware
Sponsored by: Intel
|
Revision tags: release/12.1.0 |
|
#
a6c2525c |
| 29-Oct-2019 |
Scott Long <scottl@FreeBSD.org> |
Add device IDs for the next generation of Intel HDA audio.
MFC after: 3 days
|
Revision tags: release/11.3.0 |
|
#
f9856d08 |
| 21-Mar-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @345353
|