#
de009cf6 |
| 18-Oct-2024 |
Christos Margiolis <christos@FreeBSD.org> |
snd_hda: Remove duplicate HDA_INTEL_CMLK* entries
No functional change intended.
Sponsored by: The FreeBSD Foundation MFC after: 2 days Reviewed by: markj, emaste Differential Revision: https://rev
snd_hda: Remove duplicate HDA_INTEL_CMLK* entries
No functional change intended.
Sponsored by: The FreeBSD Foundation MFC after: 2 days Reviewed by: markj, emaste Differential Revision: https://reviews.freebsd.org/D47152
show more ...
|
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
|
#
4cc4b5e2 |
| 07-Jun-2024 |
Dmitry Luhtionov <dmitryluhtionov@gmail.com> |
Add some AMD device IDs.
|
Revision tags: release/14.1.0 |
|
#
1dd1a696 |
| 13-Apr-2024 |
Michael Zhilin <mizhka@FreeBSD.org> |
snd_hda: Add the full Intel Meteor/Arrow/Lunar Lake HD Audio PCI IDs
This is based off the Linux file sound/hda/intel-dsp-config.c.
Tested on: Lenovo Thinkbook 16 G6+ IMH MFC after:
snd_hda: Add the full Intel Meteor/Arrow/Lunar Lake HD Audio PCI IDs
This is based off the Linux file sound/hda/intel-dsp-config.c.
Tested on: Lenovo Thinkbook 16 G6+ IMH MFC after: 3 days Reviewed by: markj, christos Differential Revision: https://reviews.freebsd.org/D44777 Sponsored by: Postgres Professional
show more ...
|
Revision tags: release/13.3.0 |
|
#
89189224 |
| 23-Feb-2024 |
Gleb Smirnoff <glebius@FreeBSD.org> |
snd_hda: add 32-bit memory quirk for Creative Sound Blaster Audigy FX
Despite still being in production the device appeared not able to use memory above BUS_SPACE_MAXADDR_32BIT, and if your desktop
snd_hda: add 32-bit memory quirk for Creative Sound Blaster Audigy FX
Despite still being in production the device appeared not able to use memory above BUS_SPACE_MAXADDR_32BIT, and if your desktop has a lot of memory there is a high chance driver would allocate inaccessible memory.
Submitted by: wulf Reviewed by: mav
show more ...
|
#
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 |
|
#
015daf52 |
| 27-Sep-2023 |
Mark Johnston <markj@FreeBSD.org> |
hdac: Defer interrupt allocation in hdac_attach()
hdac_attach() registers an interrupt handler before allocating various driver resources which are accessed by the interrupt handler. On some platfo
hdac: Defer interrupt allocation in hdac_attach()
hdac_attach() registers an interrupt handler before allocating various driver resources which are accessed by the interrupt handler. On some platforms we observe what appear to be spurious interrupts upon a cold boot, resulting in panics.
Partially work around the problem by deferring irq allocation until after other resources are allocated. I think this is not a complete solution, but is correct and sufficient to work around the problems reported in the PR.
PR: 268393 Tested by: Alexander Sherikov <asherikov@yandex.com> Tested by: Oleh Hushchenkov <o.hushchenkov@gmail.com> MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D41883
show more ...
|
#
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
|
#
c4e591c9 |
| 07-Sep-2022 |
Neel Chauhan <nc@FreeBSD.org> |
snd_hda: Remove duplicate erroneous HDA_INTEL_ALLKPS line
MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D36483
|
#
22ecfc58 |
| 07-Sep-2022 |
Neel Chauhan <nc@FreeBSD.org> |
snd_hda: Add the full Intel AlderLake HD Audio PCI IDs
This is based off the Linux file sound/hda/intel-dsp-config.c.
Reviewed by: imp (src) Tested on: HP Spectre x360 16-f0023dx MFC after: 3 da
snd_hda: Add the full Intel AlderLake HD Audio PCI IDs
This is based off the Linux file sound/hda/intel-dsp-config.c.
Reviewed by: imp (src) Tested on: HP Spectre x360 16-f0023dx MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D36476
show more ...
|
Revision tags: release/13.1.0 |
|
#
3390adfe |
| 07-May-2022 |
John Baldwin <jhb@FreeBSD.org> |
sound: Remove unused devclass arguments to DRIVER_MODULE.
|
#
077564cf |
| 16-Mar-2022 |
Mark Johnston <markj@FreeBSD.org> |
hdac: Handle interrupts racing with device suspend
- Avoid looping forever if a concurrent reset causes a read of the interrupt status register to return all ones. - Lock the softc before reading
hdac: Handle interrupts racing with device suspend
- Avoid looping forever if a concurrent reset causes a read of the interrupt status register to return all ones. - Lock the softc before reading the interrupt status, so as to avoid a similar infinite loop in hdac_one_intr().
This fixes suspend-to-S3 on some laptops.
PR: 261207 Reviewed by: mav, imp Tested by: uqs MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34117
show more ...
|
#
98d59d2e |
| 09-Feb-2022 |
Alexander Motin <mav@FreeBSD.org> |
snd_hda: Add some ATI HDMI codec IDs.
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week
|
#
96e500a3 |
| 10-Dec-2021 |
Warner Losh <imp@FreeBSD.org> |
hda: Push giant / newbus topo lock down a layer
Rather than picking up Giant at the start of these sysctl handlers, push acquiring Giant down a layer to protect walking the children and also to add/
hda: Push giant / newbus topo lock down a layer
Rather than picking up Giant at the start of these sysctl handlers, push acquiring Giant down a layer to protect walking the children and also to add/delete children for the reconfigure.
Sponsored by: Netflix Reviewed by: mav, jhb Differential Revision: https://reviews.freebsd.org/D33057
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, release/12.2.0 |
|
#
cd3d0f8c |
| 15-Oct-2020 |
Alexander Motin <mav@FreeBSD.org> |
Drop unsolicited responses to the still attaching CODECs.
It is reported to fix kernel panics when early unsolicited responses delivered to the CODEC device not having driver attached yet.
PR: 250
Drop unsolicited responses to the still attaching CODECs.
It is reported to fix kernel panics when early unsolicited responses delivered to the CODEC device not having driver attached yet.
PR: 250248 Reported by: Rajeev Pillai <rajeev_v_pillai@yahoo.com> Reviewed by: avg MFC after: 2 weeks
show more ...
|
#
378503af |
| 01-Sep-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
sound: clean up empty lines in .c and .h files
|
#
43022083 |
| 26-Jun-2020 |
Andriy Gapon <avg@FreeBSD.org> |
sound/hda: fix interrupt handler endless loop after r362294
Not all interrupt sources that affect CIS bit were acknowledged. Specifically, bits in STATESTS (aka WAKESTS) were left set.
The fix is t
sound/hda: fix interrupt handler endless loop after r362294
Not all interrupt sources that affect CIS bit were acknowledged. Specifically, bits in STATESTS (aka WAKESTS) were left set.
The fix is to disable WAKEEN and clear STATESTS bits before the HDA interrupt is enabled. This way we should never get any STATESTS bits.
I also added placeholders for all event bits that we currently do not enable, do not handle and do not clear. This might get useful when / if we enable any of them.
Reported by: kib (Apollo Lake hardware) Tested by: kib (earlier, different change) MFC after: 2 weeks X-MFC with: r362294
show more ...
|
#
4c7d1ab0 |
| 18-Jun-2020 |
Andriy Gapon <avg@FreeBSD.org> |
hdac_intr_handler: keep working until global interrupt status clears
It is plausible that the hardware interrupts a host only when GIS goes from zero to one. GIS is formed by OR-ing multiple hardwa
hdac_intr_handler: keep working until global interrupt status clears
It is plausible that the hardware interrupts a host only when GIS goes from zero to one. GIS is formed by OR-ing multiple hardware statuses, so it's possible that a previously cleared status gets set again while another status has not been cleared yet. Thus, there will be no new interrupt as GIS always stayed set. If we don't re-examine GIS then we can leave it set and never get another interrupt again.
Without this change I frequently saw a problem where snd_hda would stop working. Setting dev.hdac.1.polling=1 would bring it back to life and afterwards I could set polling back to zero. Sometimes the problem started right after a boot, sometimes it happened after resuming from S3, frequently it would occur when sound output and input are active concurrently (such as during conferencing). I looked at HDAC_INTSTS while the sound was not working and I saw that both HDAC_INTSTS_GIS and HDAC_INTSTS_CIS were set, but there were no interrupts.
I have collected some statistics over a period of several days about how many loops (calls to hdac_one_intr) the new code did for a single interrupt: +--------+--------------+ |Loops |Times Happened| +--------+--------------+ |0 |301 | |1 |12857746 | |2 |280 | |3 |2 | |4+ |0 | +--------+--------------+ I believe that previously the sound would get stuck each time we had to loop more than once.
The tested hardware is: hdac1: <AMD (0x15e3) HDA Controller> mem 0xfe680000-0xfe687fff at device 0.6 on pci4 hdacc1: <Realtek ALC269 HDA CODEC> at cad 0 on hdac1
No objections: mav MFC after: 5 weeks Differential Revision: https://reviews.freebsd.org/D25128
show more ...
|