# Upstream patches
upstream/0000-iwlwifi-fix.patch
upstream/0000-drm-amdgpu-fix-race-condition-in-amdgpu_vm_wait_idle-during-process-kill.patch
# https://invent.kde.org/plasma/kwin/-/merge_requests/9178
# https://mail.kde.org/pipermail/distributions/2026-June/001711.html
upstream/udmabuf/0001-udmabuf-Do-not-create-malformed-scatterlists.patch

# Enable x86_64-v2 build optimisations
more-ISA-levels-and-uarches-for-kernel-6.16+.patch

# OGC patch-set
# https://github.com/OpenGamingCollective/linux/tree/ogc-7.1.y
ogc/0001-FROM-ML-platform-x86-asus-armoury-gate-PPT-writes-be.patch
ogc/0002-FOR-UPSTREAM-hid-asus-ally-Add-joystick-LED-ring-sup.patch
ogc/0003-FOR-UPSTREAM-hid-asus-ally-do-MCY-FW-validation-in-h.patch
ogc/0004-FOR-UPSTREAM-hid-asus-ally-initial-Ally-X-gamepad-br.patch
ogc/0005-FOR-UPSTREAM-hid-asus-ally-initial-gamepad-configura.patch
ogc/0006-FOR-UPSTREAM-hid-asus-ally-add-button-remap-attribut.patch
ogc/0007-FOR-UPSTREAM-hid-asus-ally-add-gamepad-mode-selectio.patch
ogc/0008-FOR-UPSTREAM-hid-asus-ally-Turbo-settings-for-button.patch
ogc/0009-FOR-UPSTREAM-hid-asus-ally-add-vibration-intensity-s.patch
ogc/0010-FOR-UPSTREAM-hid-asus-ally-add-JS-deadzones.patch
ogc/0011-FOR-UPSTREAM-hid-asus-ally-add-trigger-deadzones.patch
ogc/0012-FOR-UPSTREAM-hid-asus-ally-add-anti-deadzones.patch
ogc/0013-FOR-UPSTREAM-hid-asus-ally-add-JS-response-curves.patch
ogc/0014-FOR-UPSTREAM-hid-asus-ally-mcu_version-attribute.patch
ogc/0015-FOR-UPSTREAM-hid-asus-ally-add-calibrations-wip.patch
ogc/0016-FOR-UPSTREAM-debug-by-default.patch
ogc/0017-FOR-UPSTREAM-hid-asus-ally-grab-short-press-QAM-on-R.patch
ogc/0018-FOR-UPSTREAM-hid-asus-ally-disable-wakeup-attribute-.patch
ogc/0019-FROM-ML-platform-x86-ayn-ec-Add-PWM-Fan-HWMON-Interf.patch
ogc/0020-FROM-ML-platform-x86-ayn-ec-Add-Temperature-Sensors.patch
ogc/0021-FROM-ML-platform-x86-ayn-ec-Add-RGB-Interface.patch
ogc/0022-FROM-ML-platform-x86-ayn-ec-Add-AYN-EC-Platform-Docu.patch
ogc/0023-FROM-ML-iio-imu-bmi270-Match-PNP-ID-found-on-OrangeP.patch
ogc/0024-FROM-ML-iio-imu-bmi270-Match-PNP-ID-found-on-OneXPla.patch
ogc/0025-FROM-ML-iio-imu-bmi270-add-BOSC0160-PNP-ID-for-gamin.patch
ogc/0026-FROM-ML-iio-imu-bmi270-fix-typo-found-in-dc757dc.patch
ogc/0027-FROM-ML-cgroup-dmem-Add-queries-for-protection-value.patch
ogc/0028-FROM-ML-cgroup-cgroup-dmem-Add-dmem_-cgroup_common_a.patch
ogc/0029-FROM-ML-drm-ttm-Extract-code-for-attempting-allocati.patch
ogc/0030-FROM-ML-drm-ttm-Split-cgroup-charge-and-resource-all.patch
ogc/0031-FROM-ML-drm-ttm-Be-more-aggressive-when-allocating-b.patch
ogc/0032-FROM-ML-drm-ttm-Use-common-ancestor-of-evictor-and-e.patch
ogc/0033-FROM-ML-drm-nouveau-Userspace-can-now-make-use-of-me.patch
ogc/0034-FROM-ML-platform-x86-lenovo-wmi-other-Add-missing-CP.patch
ogc/0035-FROM-ML-platform-x86-lenovo-wmi-other-Add-GPU-tunabl.patch
ogc/0036-FROM-ML-platform-x86-lenovo-wmi-other-Rename-LWMI_OM.patch
ogc/0037-FROM-ML-platform-x86-lenovo-wmi-other-Add-WMI-batter.patch
ogc/0038-FROM-ML-platform-x86-lenovo-wmi-other-Add-force_load.patch
ogc/0039-FROM-ML-platform-x86-lenovo-wmi-helpers-Add-helper-f.patch
ogc/0040-FROM-ML-platform-x86-lenovo-wmi-capdata-Add-debugfs-.patch
ogc/0041-FROM-ML-mmc-rtsx_pci_sdmmc-drop-MMC_CAP_AGGRESSIVE_P.patch
ogc/0042-FROM-ML-misc-rtsx_pcr-prevent-pm_schedule_suspend-fo.patch
ogc/0043-FROM-ML-mmc-rtsx_pci_sdmmc-increase-delay-after-powe.patch
ogc/0044-FROM-ML-HID-hid-msi-Add-MSI-Claw-configuration-drive.patch
ogc/0045-FROM-ML-HID-hid-msi-Add-M-key-mapping-attributes.patch
ogc/0046-FROM-ML-HID-hid-msi-Add-RGB-control-interface.patch
ogc/0047-FROM-ML-HID-hid-msi-Add-Rumble-Intensity-Attributes.patch
ogc/0048-FROM-ML-platform-x86-msi-wmi-Reformat-msi_wmi_notify.patch
ogc/0049-FROM-ML-platform-x86-msi-wmi-Add-MSI-Claw-M-Center-k.patch
ogc/0050-FROM-ML-platform-x86-msi-wmi-platform-Use-input-buff.patch
ogc/0051-FROM-ML-platform-x86-msi-wmi-platform-Add-unlocked-m.patch
ogc/0052-FROM-ML-platform-x86-msi-wmi-platform-Add-quirk-syst.patch
ogc/0053-FROM-ML-platform-x86-msi-wmi-platform-Add-support-fo.patch
ogc/0054-FROM-ML-platform-x86-msi-wmi-platform-Add-platform-p.patch
ogc/0055-FROM-ML-platform-x86-msi-wmi-platform-Add-PL1-PL2-su.patch
ogc/0056-FROM-ML-platform-x86-msi-wmi-platform-Add-charge_thr.patch
ogc/0057-FROM-ML-platform-x86-msi-wmi-platform-Drop-excess-fa.patch
ogc/0058-FROM-ML-platform-x86-msi-wmi-platform-Update-header-.patch
ogc/0059-FROM-ML-platform-x86-msi-wmi-platform-Restore-fan-cu.patch
ogc/0060-Revert-FROM-ML-HID-hid-msi-Add-Rumble-Intensity-Attr.patch
ogc/0061-Revert-FROM-ML-HID-hid-msi-Add-RGB-control-interface.patch
ogc/0062-Revert-FROM-ML-HID-hid-msi-Add-M-key-mapping-attribu.patch
ogc/0063-Revert-FROM-ML-HID-hid-msi-Add-MSI-Claw-configuratio.patch
ogc/0064-FROM-ML-HID-hid-msi-Add-MSI-Claw-configuration-drive.patch
ogc/0065-FROM-ML-HID-hid-msi-Add-M-key-mapping-attributes.patch
ogc/0066-FROM-ML-HID-hid-msi-Add-RGB-control-interface.patch
ogc/0067-FROM-ML-HID-hid-msi-Add-Rumble-Intensity-Attributes.patch
ogc/0068-NOT-FOR-UPSTREAM-HID-hid-msi-Report-RGB-LED-under-th.patch
ogc/0069-FROM-ML-HID-hid-oxp-Add-OneXPlayer-configuration-dri.patch
ogc/0070-FROM-ML-HID-hid-oxp-Add-Second-Generation-RGB-Contro.patch
ogc/0071-FROM-ML-HID-hid-oxp-Add-Second-Generation-Gamepad-Mo.patch
ogc/0072-FROM-ML-HID-hid-oxp-Add-Button-Mapping-Interface.patch
ogc/0073-FROM-ML-HID-hid-oxp-Add-Vibration-Intensity-Attribut.patch
ogc/0074-NOT-FOR-UPSTREAM-HID-hid-oxp-Report-RGB-LED-under-th.patch
ogc/0079-FROM-ML-platform-x86-oxpec-add-support-for-OneXPlaye.patch
ogc/0080-FROM-ML-platform-x86-oxpec-Distinguish-OneXPlayer-Su.patch
ogc/0081-FROM-ML-platform-x86-oxpec-Report-tablet-mode-on-One.patch
ogc/0082-EXTERNALLY-MAINTAINED-drm-amd-display-Enable-3-overl.patch
ogc/0083-EXTERNALLY-MAINTAINED-hwmon-Add-driver-for-Steam-Dec.patch
ogc/0084-EXTERNALLY-MAINTAINED-hwmon-steamdeck-hwmon-Add-supp.patch
ogc/0085-EXTERNALLY-MAINTAINED-mfd-Add-MFD-core-driver-for-St.patch
ogc/0086-EXTERNALLY-MAINTAINED-mfd-steamdeck-Expose-controlle.patch
ogc/0087-EXTERNALLY-MAINTAINED-leds-steamdeck-Add-support-for.patch
ogc/0088-EXTERNALLY-MAINTAINED-leds-steamdeck-Add-support-for.patch
ogc/0089-EXTERNALLY-MAINTAINED-extcon-Add-driver-for-Steam-De.patch
ogc/0090-EXTERNALLY-MAINTAINED-leds-rgb-add-leds-valve-driver.patch
ogc/0091-FROM-ML-HID-usbhid-skip-interrupt-IN-polling-for-dev.patch
ogc/0093-FROM-ML-platform-x86-msi-wmi-platform-Move-guard-out.patch
ogc/0094-FROM-ML-platform-x86-msi-wmi-platform-fix-Remove-unu.patch
ogc/0095-FROM-ML-platform-x86-msi-wmi-platform-terminate-msi_.patch
ogc/0096-FROM-ML-platform-x86-msi-wmi-platform-Clean-up-devic.patch
ogc/0097-FROM-ML-platform-x86-wmi-msi-platform-Add-MSI-Claw-A.patch
ogc/0098-FROM-ML-platform-x86-msi-wmi-platform-Add-Gen-4-devi.patch
ogc/0099-EXTERNALLY-MAINTAINED-drm-amd-display-Don-t-consider.patch
ogc/0100-EXTERNALLY-MAINTAINED-Bluetooth-btrtl-add-suspend-ha.patch
ogc/0101-EXTERNALLY-MAINTAINED-drm-amd-bump-backlight-brightn.patch
ogc/0102-EXTERNALLY-MAINTAINED-amd-display-fix-for-dmub-stutt.patch
ogc/0103-EXTERNALLY-MAINTAINED-drm-amd-display-Don-t-consider.patch

# Valve patches
# https://github.com/ValveSoftware/steam-devices/pull/83#issuecomment-4786835173
# https://lore.kernel.org/linux-input/20260624023601.1197134-1-vi@endrift.com/T/
valve/0000-HID-core-expose-id-attributes-in-sysfs.patch

# Gaming patches from CachyOS and Manjaro
gaming/0000-usb-vhci-hcd-Unconditionally-allow-system-suspend.patch
gaming/0008-Disable-modes-with-1200-MHz-Pixel-clocks-when-connec.patch
gaming/0009-drm-amdgpu-Don-t-use-doorbells-for-SDMA-5.2.patch
gaming/0010-Add-2s-delay-before-enabling-DP-link-for-dock.patch
gaming/0011-drivers-video-backlight-Disable-backlight-notificati.patch
gaming/0014-ASoC-max98388-Fix-power-on-when-resuming-from-suspen.patch
gaming/0015-ASoC-amd-acp-Use-correct-DAI-link-ID-for-BT-codec.patch
gaming/0016-wifi-ath11k-Rename-QCA2066-fw-dir-to-QCA206X.patch

# ZOTAC patches by Luke and Philip
zotac/0001-zotac-zone-hid-initial-impl.patch
zotac/0002-xpad-gate-the-zotac-zone-PID-behind-if-IS_REACHABLE-.patch
zotac/0003-tmp-apply-zotac-screen-quirk.patch
zotac/0005-zone-fix-6.15-rename-del_timer-to-timer_delete.patch

# MS Surface device patches
# https://github.com/hphilm/linux-patches/tree/linux-surface/v7.1
# based on https://github.com/linux-surface/linux-surface/pull/2178
surface/0001-Revert-efi-x86-Set-the-PE-COFF-header-s-NX-compat-fl.patch
surface/0002-PM-hibernate-Add-a-lockdown_hibernate-parameter.patch
surface/0003-surface3-oemb-add-DMI-matches-for-Surface-3-with-bro.patch
surface/0004-surface3-spi-workaround-disable-DMA-mode-to-avoid-cr.patch
surface/0005-mwifiex-Add-quirk-resetting-the-PCI-bridge-on-MS-Sur.patch
surface/0006-mwifiex-pcie-disable-bridge_d3-for-Surface-gen4.patch
surface/0007-Bluetooth-btusb-Lower-passive-lescan-interval-on-Mar.patch
surface/0008-ath10k-Add-module-parameters-to-override-board-files.patch
surface/0009-mei-me-Add-Icelake-device-ID-for-iTouch.patch
surface/0010-iommu-Use-IOMMU-passthrough-mode-for-IPTS.patch
surface/0011-hid-Add-support-for-Intel-Precise-Touch-and-Stylus.patch
surface/0012-iommu-intel-Disable-source-id-verification-for-ITHC.patch
surface/0013-hid-Add-support-for-Intel-Touch-Host-Controller.patch
surface/0014-rtc-Add-basic-support-for-RTC-via-Surface-System-Agg.patch
surface/0015-platform-surface-aggregator_registry-Add-Surface-Lap.patch
surface/0016-i2c-acpi-Implement-RawBytes-read-access.patch
surface/0017-platform-surface-Add-driver-for-Surface-Book-1-dGPU-.patch
surface/0018-Input-soc_button_array-support-AMD-variant-Surface-d.patch
surface/0019-platform-surface-surfacepro3_button-don-t-load-on-am.patch
surface/0020-USB-quirks-Add-USB_QUIRK_DELAY_INIT-for-Surface-Go-3.patch
surface/0021-hid-multitouch-Turn-off-Type-Cover-keyboard-backligh.patch
surface/0022-hid-multitouch-Add-support-for-surface-pro-type-cove.patch
surface/0023-PCI-Add-quirk-to-prevent-calling-shutdown-method.patch
surface/0024-PCI-Add-Surface-Laptop-Studio-2-devices-to-shutdown-.patch
surface/0025-platform-surface-gpe-Add-support-for-Surface-Pro-9.patch
surface/0026-ACPI-delay-enumeration-of-devices-with-a-_DEP-pointi.patch
surface/0027-iommu-intel-ipu-use-IOMMU-passthrough-mode-for-Intel.patch
surface/0028-platform-x86-int3472-Enable-I2c-daisy-chain.patch
surface/0029-media-i2c-Clarify-that-gain-is-Analogue-gain-in-OV72.patch
surface/0030-media-v4l2-core-Acquire-privacy-led-in-v4l2_async_re.patch
surface/0031-platform-x86-int3472-Add-MFD-cell-for-tps68470-LED.patch
surface/0032-include-mfd-tps68470-Add-masks-for-LEDA-and-LEDB.patch
surface/0033-leds-tps68470-Add-LED-control-for-tps68470.patch
surface/0034-media-i2c-dw9719-fix-probe-error-on-surface-go-2.patch
surface/0035-Add-camera-support-for-Surface-Pro-9.patch
surface/0036-media-ipu-bridge-Add-front-camera-rotation-quirks-fo.patch
surface/0037-ACPI-Add-quirk-for-Surface-Laptop-4-AMD-missing-irq-.patch
surface/0038-ACPI-Add-AMD-13-Surface-Laptop-4-model-to-irq-7-over.patch
surface/0039-HID-Add-hid-surface-driver-to-filter-BTN_0-FN-key.patch
surface/0040-hid-multitouch-Prevent-mode-set-on-Surface-Laptop-St.patch

# amdgpu patches that make it easier to control
# whether to use radeon or amdgpu from the kernel cmd-line
0001-Add-kernel-arg-to-enable-amdgpu-overdrive.patch

# HDMI VRR support https://github.com/Lawstorant/linux/tree/hdmi-7.1
hdmi/0001-drm-amd-display-Refactor-amdgpu_dm_update_freesync_c.patch
hdmi/0002-Do-not-modify-display_info-in-freesync_caps.patch
hdmi/0003-Modify-display-range-if-freesync-capable.patch
hdmi/0004-drm-amd-display-Remove-redundant-edid-checks.patch
hdmi/0005-drm-amd-display-Move-DisplayID-vrr-parsing.patch
hdmi/0006-drm-amd-display-Always-try-to-parse-AMD-vsdb.patch
hdmi/0007-drm-amd-display-Check-for-VRR-range-in-CEA-AMD-vsdb.patch
hdmi/0008-drm-amd-display-Use-bigger-VRR-range-if-found-in-AMD.patch
hdmi/0009-drm-amd-display-Separate-DP-eDP-and-PCON-paths-compl.patch
hdmi/0010-drm-amd-display-Refactor-PCON-VRR-compatibility-chec.patch
hdmi/0011-drm-amd-display-Add-PCON-VRR-ID-check-override.patch
hdmi/0012-drm-amd-display-Add-CH7218-PCON-ID.patch
hdmi/0013-drm-edid-Parse-more-info-from-HDMI-Forum-vsdb.patch
hdmi/0014-drm-amd-display-Rename-PCON-adaptive-sync-types.patch
hdmi/0015-drm-amd-display-Enable-HDMI-VRR-over-PCON.patch
hdmi/0016-drm-amd-display-Support-HDMI-VRRmax-0.patch
hdmi/0017-drm-amd-display-Build-HDMI-vsif-in-correct-slot.patch
hdmi/0018-drm-amd-display-Save-HDMI-gaming-info-to-edid-caps.patch
hdmi/0019-drm-amd-display-Restore-ALLM-support-in-HDMI-vsif.patch
hdmi/0020-drm-amd-display-Trigger-ALLM-if-it-s-available.patch
hdmi/0021-drm-amd-display-Reintroduce-VTEM-info-frame.patch
hdmi/0022-drm-amd-display-Enable-HDMI-VRR.patch
hdmi/0023-Merge-HDMI-and-PCON-paths.patch
hdmi/0024-drm-amd-display-freesync_on_desktop-support-for-HDMI.patch
hdmi/0025-Force-freesync_on_desktop-for-HDMI.patch
hdmi/0026-drm-Add-ALLM-properties-to-connector.patch
hdmi/0027-drm-amd-display-Use-ALLM-properties-in-amdgpu.patch
hdmi/0028-fixu.patch

# [PATCH v11] Add AMD ISP4 driver
# https://patchew.org/linux/20260506093250.93460-1-Bin.Du@amd.com/
isp4/0001-media-platform-amd-Introduce-amd-isp4-capture-driver.patch
isp4/0002-media-platform-amd-low-level-support-for-isp4-firmware.patch
isp4/0003-media-platform-amd-Add-isp4-fw-and-hw-interface.patch
isp4/0004-media-platform-amd-isp4-subdev-and-firmware-loading-handling-added.patch
isp4/0005-media-platform-amd-isp4-video-node-and-buffers-handling-added.patch
isp4/0006-media-platform-amd-isp4-debug-fs-logging-and-more-descriptive-errors.patch
isp4/0007-Documentation-add-documentation-of-AMD-isp-4-driver.patch
