summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2022-02-24drm/amd: Only run s3 or s0ix if system is configured properlyJonathan Gray
From Mario Limonciello 38108fd273acbc6248870a7a3e61714398af6f94 in linux 5.15.y/5.15.25 04ef860469fda6a646dc841190d05b31fae68e8c in mainline linux
2022-02-24drm/amd: add support to check whether the system is set to s3Jonathan Gray
From Mario Limonciello 72808bb42c87c4887c553ea8d9f4ecaf15d867d3 in linux 5.15.y/5.15.25 f52a2b8badbd24faf73a13c9c07fdb9d07352944 in mainline linux
2022-02-24drm/amd: Warn users about potential s0ix problemsJonathan Gray
From Mario Limonciello 64519c9e32ac548fd47cf16767f4b779a8cbdd14 in linux 5.15.y/5.15.25 a6ed2035878e5ad2e43ed175d8812ac9399d6c40 in mainline linux
2022-02-22Since other exported commandnames were increased to 24 and graduated intoTheo de Raadt
proper strings, adapt dt's exported string in the same way. Old/new files/tools will not work the same way. That this interface needs to also change was pointed out by jsg
2022-02-22Make audio(4) event filters MP-safeVisa Hankala
Add f_modify and f_process callbacks, and initialize the knote lists to use audio_lock. This makes audio_lock cover the device's knote processing. OK mpi@
2022-02-22Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h>Philip Guenther
net/if_pppx.c pointed out by jsg@ ok gnezdo@ deraadt@ jsg@ mpi@ millert@
2022-02-21ambigus -> ambiguousJonathan Gray
2022-02-21diviedr -> dividerJonathan Gray
2022-02-21dmammem -> dmamemJonathan Gray
2022-02-21entried -> entriesJonathan Gray
2022-02-21ignorint -> ignoringJonathan Gray
2022-02-21splitted -> split, necesssary -> necessaryJonathan Gray
2022-02-21onbard -> onboardJonathan Gray
2022-02-21receice -> receiveJonathan Gray
2022-02-18Extra whitespace removal. No code change.Mike Larkin
ok jsg@
2022-02-17If S4 is not available, use S5 for the ACPI-transitions in hibernate support.Theo de Raadt
A bunch of servers work now. Really close to a 3-line diff... ok kettenis
2022-02-17drm/amd/pm: fix hwmon node of power1_label create issueJonathan Gray
From Yang Wang dcd1c46634697d200c7012d5047302355dce098f in linux 5.15.y/5.15.24 a8b1e8636a3252daa729762b2e3cc9015cc91a5c in mainline linux
2022-02-17drm/i915: Populate pipe dbuf slices more accurately during readoutJonathan Gray
From Ville Syrjala ac14a51c31693e11947f9b4e36c84558368fe089 in linux 5.15.y/5.15.24 85bb289215cf37e05e9581b39b114db1293f9ecd in mainline linux
2022-02-17drm/i915: Allow !join_mbus cases for adlp+ dbuf configurationJonathan Gray
From Ville Syrjala 8d6a31b83cddd5c3429def795ba7ec8fdaf4541d in linux 5.15.y/5.15.24 8fd5a26e43859547790a7995494c952b708ab3b5 in mainline linux
2022-02-17drm/amdgpu/display: change pipe policy for DCN 2.0Jonathan Gray
From Alex Deucher c1af59449d80a4f642dbe64fd8be7c1ce86fc2cf in linux 5.15.y/5.15.24 6e7545ddb13416fd200e0b91c0acfd0404e2e27b in mainline linux
2022-02-17drm/amd/display: Correct MPC split policy for DCN301Jonathan Gray
From Zhan Liu a277422a8d975966de1bd3351cc6cfd8718a166d in linux 5.15.y/5.15.24 ac46d93235074a6c5d280d35771c23fd8620e7d9 in mainline linux
2022-02-17drm: panel-orientation-quirks: Add quirk for the 1Netbook OneXPlayerJonathan Gray
From Raymond Jay Golo 9696125fb3ca1660d28a0aef53bcaa1a20a02bdb in linux 5.15.y/5.15.24 d3cbc6e323c9299d10c8d2e4127c77c7d05d07b1 in mainline linux
2022-02-17remove unused definesJonathan Gray
2022-02-17reduce includesJonathan Gray
2022-02-17reduce includesJonathan Gray
ok deraadt@
2022-02-16rev 1.4 was wrong to put potential IO operations after _GTS.Theo de Raadt
re-creating the original (2 weeks ago) order of last-minute-disk-parking needs a different approach, hmm.
2022-02-16if the lids indicate we are not supposed to wakeup, return EAGAIN ratherTheo de Raadt
than scheduling an acpi thread
2022-02-16change MD gosleep() and sleep_finish() to return int, the MI code will beTheo de Raadt
able to react to this suitably.
2022-02-16Currently, wskbd_set_mixervolume() only adjusts the volume of the firstAnton Lindqvist
attached audio device, i.e. audio0. This approach does not work well while using additional audio devices equipped with physical volume keys since those would only affect the volume of audio0. Instead, correlate audio and ucc devices attached over USB in order to adjust the volume of the correct audio device. This is done by passing a cookie from the common point of attachment which is later used to correlate the audio and wskbd device. The same approach could be adopted for audio and wskbd devices attaching on a different bus. Keep in mind that it's of importance to make use of and increment the same global cookie identifier to avoid collisions. Makes the volume keys on my Logitech G435 Headset do the right thing. ok ratchov@
2022-02-16Make room for a cookie argument passed to audio_attach_mi(). CurrentlyAnton Lindqvist
unused but intended to be used to correlate audio and wskbd devices. ok ratchov@
2022-02-15Since acpitoshiba brightness button processing no longer plays gamesTheo de Raadt
with AML parsing outside the acpi thread, the locking-release dance around wsdisplay_{suspend,resume} can be removed ok kettenis
2022-02-15Defer the actual setting of the display brightness to the acpi thread.Mark Kettenis
ok deraadt@
2022-02-15when the MI suspend code encounters problems, we need a way toTheo de Raadt
reset the MD state before bailing out. New MD function sleep_abort() does that.
2022-02-15com at acpi like com at isa needs com_active() for suspend/resume support.Claudio Jeker
Fixes my com0 issues after zzz and ZZZ. OK kettenis@ miod@
2022-02-15unifdef __OpenBSD__Jonathan Gray
2022-02-15unifdef OpenBSDJonathan Gray
ok miod@
2022-02-15consistently use __linux__Jonathan Gray
2022-02-15MI disable_lid_wakeups() is not needed, x86 systems can do thisTheo de Raadt
in sleep_resume(), which seems sensible for other future systems also
2022-02-15The DVACT_POWERDOWN step was accidentally moved in relation to some MDTheo de Raadt
steps, so shuffle the MD steps to reinforce the order.
2022-02-14Make sure we call acpi_resume_cpu() with the right ACPI state. This wasMark Kettenis
accidentally broken with the reorganization of the suspend/resume code that was committed a few days ago. ok deraadt@
2022-02-14fix cmalo_media_change() testJonathan Gray
ok claudio@ deraadt@
2022-02-14acpi_indicator() can take the softc*, instead of void*Theo de Raadt
2022-02-14Use iic_is_compatible(9) and use the more generic compatible string toMark Kettenis
match the device. ok visa@
2022-02-14OF_getproplen() returns -1 on error, so don't store result in size_tJonathan Gray
spotted by and ok tb@, ok tobhe@
2022-02-14reprint device name in attach error paths if neededJonathan Gray
2022-02-14check return value of drm_attach_pci()Jonathan Gray
adapted from a diff by Ted Bullock
2022-02-14remove unused codeJonathan Gray
2022-02-14no need for ifndef __sparc64__Jonathan Gray
from Ted Bullock who tested on sparc64 with xvr-100
2022-02-14change a NULL pa_memex test after use to an earlier KASSERTJonathan Gray
from Ted Bullock
2022-02-14test the correct pointer for acpi_intr_establish() resultJonathan Gray
ok deraadt@ gnezdo@