summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2022-10-07unstub intel_guc_send_busy_loop() ct_send()Jonathan Gray
2022-10-07add msleep_interruptible()Jonathan Gray
2022-10-07unstub guc_ct_buffer_reset() h2g_has_room()Jonathan Gray
2022-10-07add CIRC_SPACE()Jonathan Gray
2022-10-07unstub guc_mmio_reg_add()Jonathan Gray
2022-10-07add bsearch() from libcJonathan Gray
2022-10-07unstub i915_gem_object_create_shmem_from_data()Jonathan Gray
2022-10-04Repair Apple-specific translation support broken by mistake in 1.88; reportedMiod Vallat
by Leonardo Moreno
2022-10-03dapmic(4): support clean shutdown with the power buttonJeremie Courreges-Anglas
Register an interrupt handler and look for nONKEY events. Mask off all other events. Also clear the FAULT_LOG register at startup, but don't attempt to acknowledge its contents at runtime. This lets the user force a shutdown with a long power button press. Some events in EVENT_* or FAULT_LOG may benefit from more graceful handling. This makes it possible to cleanly shutdown my Hifive Unmatched using the power button. Thanks to kettenis@ who wrote sfgpio(4) to handle dapmic(4) interrupts on the Unmatched. ok kettenis@
2022-10-03Reorganize the EFI code a bit. Move the efi.h header from dev/acpi toMark Kettenis
dev/efi and rename the arm64 efi.c to efi_machdep.c, preparing the way for MI EFI code and an amd64 implementation of EFI runtime support. ok deraadt@, mlarkin@
2022-10-03drm/amdgpu: don't register a dirty callback for non-atomicJonathan Gray
From Alex Deucher 21b0301f2234112fbe5cfc1e13968f0a12f0f2d2 in linux 5.15.y/5.15.71 abbc7a3dafb91b9d4ec56b70ec9a7520f8e13334 in mainline linux
2022-10-03drm/amd/display: Mark dml30's UseMinimumDCFCLK() as noinline for stack usageJonathan Gray
From Nathan Chancellor 1c26968caf181add92bbf556e3eb3c14ccbe7fa2 in linux 5.15.y/5.15.71 41012d715d5d7b9751ae84b8fb255e404ac9c5d0 in mainline linux
2022-10-03drm/amd/display: Reduce number of arguments of dml31's CalculateFlipSchedule()Jonathan Gray
From Nathan Chancellor 492db4ffcff3c3bac1f36bbb100e45c9fe718e34 in linux 5.15.y/5.15.71 21485d3da659b66c37d99071623af83ee1c6733d in mainline linux
2022-10-03drm/amd/display: Reduce number of arguments of dml31's ↵Jonathan Gray
CalculateWatermarksAndDRAMSpeedChangeSupport() From Nathan Chancellor 9539cfc744933198318eb061ffce87964559ff87 in linux 5.15.y/5.15.71 37934d4118e22bceb80141804391975078f31734 in mainline linux
2022-10-03drm/amd/display: Limit user regamma to a valid valueJonathan Gray
From Yao Wang1 a541c011181823494c53b15020fae5c3b45f5ec2 in linux 5.15.y/5.15.71 3601d620f22e37740cf73f8278eabf9f2aa19eb7 in mainline linux
2022-10-03drm/amdgpu: use dirty framebuffer helperJonathan Gray
From Hamza Mahfooz 33b128f790b6df7e44e4435c6b9387b257637d15 in linux 5.15.y/5.15.71 66f99628eb24409cb8feb5061f78283c8b65f820 in mainline linux
2022-10-03drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cardsJonathan Gray
From Guchun Chen f76d6f309a685d24a32703b4d5c5a71e76f4b793 in linux 5.15.y/5.15.71 7c6fb61a400bf3218c6504cb2d48858f98822c9d in mainline linux
2022-10-03drm/amd/amdgpu: fixing read wrong pf2vf data in SRIOVJonathan Gray
From Jingwen Chen 5f270b61ee8b01ab410e3e6ee4f4cc0b32300605 in linux 5.15.y/5.15.71 9a458402fb69bda886aa6cbe067311b6e3d9c52a in mainline linux
2022-10-03drm/amdgpu: make sure to init common IP before gmcJonathan Gray
From Alex Deucher 55653c548612d7ffbb21cf05ebff6d14f79cc913 in linux 5.15.y/5.15.71 a8671493d2074950553da3cf07d1be43185ef6c6 in mainline linux
2022-10-03drm/amdgpu: Separate vf2pf work item init from virt data exchangeJonathan Gray
From Victor Skvortsov 25a90a11036b6fd385ee75536b78659fc481d529 in linux 5.15.y/5.15.71 892deb48269c65376f3eeb5b4c032ff2c2979bd7 in mainline linux
2022-10-03add noinline_for_stack for 5.15.71 drmJonathan Gray
2022-10-03drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vegaJonathan Gray
From Alex Deucher 8c2bbfb0ded3f41e2985a7856da56f130288d926 in linux 5.15.y/5.15.70 e3163bc8ffdfdb405e10530b140135b2ee487f89 in mainline linux
2022-10-03drm/amdgpu: move nbio ih_doorbell_range() into ih code for vegaJonathan Gray
From Alex Deucher 0a7d86f156fad2a4420404c1f71c9ee79970ab0c in linux 5.15.y/5.15.70 dc1d85cb790f2091eea074cee24a704b2d6c4a06 in mainline linux
2022-10-03drm/amdgpu: Don't enable LTR if not supportedJonathan Gray
From Lijo Lazar dcef16f64969eefb83c8711173fd025611f258f8 in linux 5.15.y/5.15.70 6c20490663553cd7e07d8de8af482012329ab9d6 in mainline linux
2022-10-03define CONFIG_PCIEASPM, add ltr_path to struct pci_dev for 5.15.70 drmJonathan Gray
2022-10-03regenJonathan Gray
2022-10-03add id for Raphael, Ryzen 7000 GPU (gfx1036, GC 10.3.6?)Jonathan Gray
2022-09-26For framebuffers that don't start on a page boundary, we need to allowMark Kettenis
mapping of all the pages used by the framebuffer, even those that are only used partially. Adjust the check in simplefb_wsmmap() to allow that. While there, also make sure we use a (rounded down) page aligned address base address for the physical address we return. Fixes X on the 16" Macbook Pro. ok patrick@, deraadt@
2022-09-26Regenerate usbdevs{.h,_data.h} for Wacom One S (CTL-472)Stefan Hagen
2022-09-26uwacom(4): Support for Wacom One S (CTL-472)Stefan Hagen
2022-09-25Give mfii(4) firmware more time to transition out of UNDEFINED state.Stefan Sperling
Prevents occasional failure to recover from firmware FAULT state where the driver gave up too early: mfii0: firmware stuck in state 0 ok deraadt@
2022-09-20drm/amd/amdgpu: skip ucode loading if ucode_size == 0Jonathan Gray
From Chengming Gui 985a5d3d491d558f785b77cc5b86837bfa408587 in linux 5.15.y/5.15.69 39c84b8e929dbd4f63be7e04bf1a2bcd92b44177 in mainline linux
2022-09-19Change OF_getnodebyname() such that looking up a node using just the namePatrick Wildt
without a unit number (so without the @1234 bit) works as well. This is a re-commit of the backed out change with the endless loop fixed.
2022-09-18Fix a memory leak which was introduced by the previous commit.Marcus Glocker
The issue was reported by Stephan Somogyi - Thanks!
2022-09-18Revert previous it prevents the PinebookPro and the Rockpro64 to reach userland.Martin Pieuchot
Found by kn@ and myself, ok deraadt@
2022-09-16move most of the key combination translation code out of ukbd(4)Robert Nagy
to hidkbd so that it can be re-used by apldc(4) and aplhidev(4) as well this also adds support for apple fn key combinations to aplhidev(4) ok miod@
2022-09-16Make mfii(4) recover from firmware FAULT state on startup.Stefan Sperling
In case firmware initially comes up in FAULT state, reset the device and give it one more chance to attach successfully. The Linux megaraid_sas driver applies the same workaround in this case. There seems to be a bug in some firmware versions which can trigger this behaviour; see mainline Linux commit 6431f5d7c6025f8b007af06ea090de308f7e6881 Problem observed by me with mfii(4) attached via KVM PCI-passthrough: mfii0 at pci0 dev 2 function 0 "Symbios Logic MegaRAID SAS2208" rev 0x05: msi mfii0: firmware fault With this workaround in place, attachment succeeds and the device works: mfii0 at pci0 dev 2 function 0 "Symbios Logic MegaRAID SAS2208" rev 0x05: msi mfii0: firmware fault; attempting full device reset, this can take some time mfii0: "RAID Ctrl SAS 6G 1GB (D3116C)", firmware 23.29.0-0019, 1024MB cache Tested for regressions on bare metal by Hrvoje with two different adapters: mfii0 at pci1 dev 0 function 0 "Symbios Logic MegaRAID SAS3508" rev 0x01: msi mfii0: "PERC H740P Mini ", firmware 51.16.0-4076, 8192MB cache mfii0 at pci4 dev 0 function 0 "Symbios Logic MegaRAID SAS2208" rev 0x05: msi mfii0: "ServeRAID M5110", firmware 23.34.0-0023, 512MB cache ok jmatthew@
2022-09-16drm/i915: Implement WaEdpLinkRateDataReloadJonathan Gray
From Ville Syrjala d2ca79dd0b5487991dac52c6b679915dbd70ee4c in linux 5.15.y/5.15.68 672d6ca758651f0ec12cd0d59787067a5bde1c96 in mainline linux
2022-09-16drm/amd/display: fix memory leak when using debugfs_lookup()Jonathan Gray
From Greg Kroah-Hartman 58acd2ebae034db3bacf38708f508fbd12ae2e54 in linux 5.15.y/5.15.68 cbfac7fa491651c57926c99edeb7495c6c1aeac2 in mainline linux
2022-09-16drm/amdgpu: mmVM_L2_CNTL3 register not initialized correctlyJonathan Gray
From Qu Huang ad5ef763dbbea8193bd2095a1401aeac6e8f74e8 in linux 5.15.y/5.15.68 b8983d42524f10ac6bf35bbce6a7cc8e45f61e04 in mainline linux
2022-09-16drm/radeon: add a force flush to delay work when radeonJonathan Gray
From Zhenneng Li 5a7a5b2edac4b05abd744eeaebda46d9dacd952d in linux 5.15.y/5.15.68 f461950fdc374a3ada5a63c669d997de4600dffe in mainline linux
2022-09-16drm/amdgpu: Check num_gfx_rings for gfx v9_0 rb setup.Jonathan Gray
From Candice Li 622a557b28b718d4da92ff3504d83af2310324d2 in linux 5.15.y/5.15.68 c351938350ab9b5e978dede2c321da43de7eb70c in mainline linux
2022-09-16drm/amdgpu: Move psp_xgmi_terminate call from amdgpu_xgmi_remove_device to ↵Jonathan Gray
psp_hw_fini From YiPeng Chai c15c2c2c08964fd99d3366f80742129f8ae28eaa in linux 5.15.y/5.15.68 9d705d7741ae70764f3d6d87e67fad3b5c30ffd0 in mainline linux
2022-09-16drm/gem: Fix GEM handle release errorsJonathan Gray
From Jeffy Chen 1f574fbe9c2b831a8c3156260842a7abd280d59f in linux 5.15.y/5.15.68 ea2aa97ca37a9044ade001aef71dbc06318e8d44 in mainline linux
2022-09-16mask non-chain fence sequence numbers to 32-bit for comparisonsJonathan Gray
Most of drm uses 32-bit sequence numbers in fences. dma-fence-chain opts into 64-bit comparisons. Wrapping is handled like i915_seqno_passed() except that if the sequence numbers are the same one is not considered later than the other.
2022-09-15Enable the keyboard on the Samsung Galaxy Book Go.Marcus Glocker
Help from kettenis@, "Nice!" deraadt@
2022-09-15regenKurt Mosiejczuk
2022-09-15Add IDs for the JHL6240 Thunderbolt 3 controller found in my Thinkpad T490Kurt Mosiejczuk
ok jsg
2022-09-13Split out the code that collects data from acpiac(4), acpibat(4) andMark Kettenis
acpisbs(4) for apm(4) and hook it up to the arm64 version of apm(4) on systems with ACPI. ok kn@
2022-09-12Add support for level-triggered GPIO events.Mark Kettenis
ok mlarkin@