Compare commits
No commits in common. "without_nv_hda" and "master" have entirely different histories.
without_nv
...
master
|
|
@ -1,9 +1,3 @@
|
||||||
system76-dkms (1.0.21-jdm1) jammy; urgency=medium
|
|
||||||
|
|
||||||
* Disable integration with the nv_hda driver
|
|
||||||
|
|
||||||
-- Jesse McDonald <jesse@jessemcdonald.info> Tue, 25 Nov 2025 00:25:19 -0600
|
|
||||||
|
|
||||||
system76-dkms (1.0.21) jammy; urgency=medium
|
system76-dkms (1.0.21) jammy; urgency=medium
|
||||||
|
|
||||||
* Add oryp13
|
* Add oryp13
|
||||||
|
|
|
||||||
|
|
@ -91,9 +91,7 @@ static int s76_wmbb(u32 method_id, u32 arg, u32 *retval)
|
||||||
#include "input.c"
|
#include "input.c"
|
||||||
#include "kb-led.c"
|
#include "kb-led.c"
|
||||||
#include "hwmon.c"
|
#include "hwmon.c"
|
||||||
#ifdef S76_WANTS_NV_HDA
|
|
||||||
#include "nv_hda.c"
|
#include "nv_hda.c"
|
||||||
#endif
|
|
||||||
|
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 12, 0)
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 12, 0)
|
||||||
static void s76_wmi_notify(union acpi_object *obj, void *context)
|
static void s76_wmi_notify(union acpi_object *obj, void *context)
|
||||||
|
|
@ -200,12 +198,10 @@ static int __init s76_probe(struct platform_device *dev)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef S76_WANTS_NV_HDA
|
|
||||||
err = nv_hda_init(&dev->dev);
|
err = nv_hda_init(&dev->dev);
|
||||||
if (unlikely(err)) {
|
if (unlikely(err)) {
|
||||||
pr_err("Could not register NVIDIA audio device\n");
|
pr_err("Could not register NVIDIA audio device\n");
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
err = wmi_install_notify_handler(S76_EVENT_GUID, s76_wmi_notify, NULL);
|
err = wmi_install_notify_handler(S76_EVENT_GUID, s76_wmi_notify, NULL);
|
||||||
if (unlikely(ACPI_FAILURE(err))) {
|
if (unlikely(ACPI_FAILURE(err))) {
|
||||||
|
|
@ -232,9 +228,7 @@ static int s76_remove(struct platform_device *dev)
|
||||||
{
|
{
|
||||||
wmi_remove_notify_handler(S76_EVENT_GUID);
|
wmi_remove_notify_handler(S76_EVENT_GUID);
|
||||||
|
|
||||||
#ifdef S76_WANTS_NV_HDA
|
|
||||||
nv_hda_exit();
|
nv_hda_exit();
|
||||||
#endif
|
|
||||||
#ifdef S76_HAS_HWMON
|
#ifdef S76_HAS_HWMON
|
||||||
if (driver_flags & DRIVER_HWMON) {
|
if (driver_flags & DRIVER_HWMON) {
|
||||||
s76_hwmon_fini(&dev->dev);
|
s76_hwmon_fini(&dev->dev);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue