summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
2019-08-17drm/amd/display: Only enable audio if speaker allocation existsJonathan Gray
From Alvin Lee f9420bfa29f9ece0b02a5435ae95f1a48bc97723 in linux 4.19.y/4.19.67 6ac25e6d5b2fbf251e9fa2f4131d42c815b43867 in mainline linux
2019-08-17drm/amd/display: Fix dc_create failure handling and 666 color depthsJonathan Gray
From Julian Parkin 3998e684463a7fa1721c171172ca085978d03a00 in linux 4.19.y/4.19.67 0905f32977268149f06e3ce6ea4bd6d374dd891f in mainline linux
2019-08-17drm/amd/display: use encoder's engine id to find matched free audio deviceJonathan Gray
From Tai Man e7a8a794109c07e0b8d7bd55fbfcb3082991626a in linux 4.19.y/4.19.67 74eda776d7a4e69ec7aa1ce30a87636f14220fbb in mainline linux
2019-08-17drm/amd/display: Wait for backlight programming completion in set backlight ↵Jonathan Gray
level From Sivapiriyan Kumarasamy 2a5e21adc71b46beec9232cc6418676fd2255bc5 in linux 4.19.y/4.19.67 c7990daebe71d11a9e360b5c3b0ecd1846a3a4bb in mainline linux
2019-08-17change drm memory barriers to be closer to what linux does onJonathan Gray
amd64 and i386 ok kettenis@
2019-08-15auich_freemem() returns void. while here fix a typo in an error message. ↵miko
audio playback still works under virtualbox. ok ratchov@
2019-08-14move CONFIG_DRM_FBDEV_EMULATION and CONFIG_BACKLIGHT_CLASS_DEVICEJonathan Gray
defines to kconfig.h with most of the others
2019-08-13Implement backlight control for amdgpu(4). This allows me to setPatrick Wildt
the backlight of my X395 using wsconsctl(8). Unfortunately the backlight hotkeys don't yet allow adjusting the brightness. ok jsg@ kettenis@
2019-08-13azalia: add quirk for speaker routing on ThinkPad X1C7Joshua Stein
The X1C7 has 4 speakers and the speaker2 set needs to be routed to a different DAC. Also add the Intel 300 Series HDA to the list of devices on which to enable snooping.
2019-08-13regenJonathan Gray
2019-08-13add Union Memory NVMeJonathan Gray
2019-08-13Don't match on amdgpu devices flagged as having experimental hardware supportJonathan Gray
(AMD_EXP_HW_SUPPORT) in the amdgpu_pciidlist table. Prompted by a report from Charlie Burnett that display doesn't light up with a Radeon VII (VEGA20).
2019-08-09don't #define DEBUG, breaks building kernel with option DEBUGJonathan Gray
reported by 'mujo' on bugs@
2019-08-09match radeon/atom.c rev 1.4 and #undef DEBUG before DEBUG macroJonathan Gray
2019-08-08Support WPA2 CCMP encryption/decryption in hardware with iwm(4).Stefan Sperling
We offload crypto operations for unicast data frames only. Based on an initial diff from procter@ Tested in snaps for almost a week. ok procter@ deraadt@
2019-08-07Handle VF resets. When the PF changes VF settings, the VF will be reset,Jonathan Matthew
which means the driver has to set everything up again from scratch. When we detect a reset (identified by an interrupt with ICR 0xdeadbeef), schedule a task that sets up the admin queue, establishes communication with the PF, and configures the rx/tx queues again. The interface is taken down during the reset process.
2019-08-07Process admin queue responses in the interrupt handler, rather thanJonathan Matthew
deferring to a task, so we can run sequences of admin commands using tasks. The only part of this that can't be done in interrupt context is allocating new admin response buffers, so make that the responsibility of the admin command issuer.
2019-08-07recognize the Realtek ALC285Joshua Stein
2019-08-06remove some debug cruft i should have removed before the last commit.David Gwynne
2019-08-06have a go at using msi interrupts.David Gwynne
vmx has an interesting feature where config in the hypervisor can say what type of interrupts the guest should configure for the nic, with the options of auto, msix, msi, and intx. depending on this, the driver should try to map the type specified and fall back from there. also interesting is that my guest gets "auto" from the hypervisor, which i fall through to msi with, but an msi interrupt cannot be mapped. i cannot see any msi interrupts in this guest actually. there must be something funky at the platform level that we don't like, and that prevents msi from being mapped. if msi does get mapped, we should be able to avoid a register read on every interrupt. that should probably provide a noticable performance improvement if we can ever take advantage of it.
2019-08-06i replaced a misplaced tab with g, not a space. make this work again.David Gwynne
2019-08-06if the rx ring gets empty and can't be filled, retry in the futureDavid Gwynne
there have been several reports that vmx gets stuck sometimes and only comes good after it's taken down and up again. hopefully this fixes that issue.
2019-08-06use ifiq_input so we can call if_rxr_livelocked to apply backpressureDavid Gwynne
2019-08-05Allow concurrent reads of the f_offset field of struct file byanton
serializing both read/write operations using the existing file mutex. The vnode lock still grants exclusive write access to the offset; the mutex is only used to make the actual write atomic and prevent any concurrent reader from observing intermediate values. ok mpi@ visa@
2019-08-05sis(4) calls mii_phy_reset(); add explicit dependency on mii_phy in configStefan Sperling
from grunk@
2019-08-02regenMark Kettenis
2019-08-02Add Ampere vendor and eMAG PCIe devices.Mark Kettenis
2019-07-31dwiic: stop enabling polling by defaultJoshua Stein
The interrupt problem had nothing to do with changes in the Intel 100 Series and was due to most of these machines using the same DSDT template where we were walking _INI nodes in the wrong order. This lead to the touchpad device's _INI method being called before \_SB_.PCI0._INI (where \OSYS is initialized), making the touchpad device's interrupts setup for an OSYS of 0, but when its _CRS method was called later during ihidev attachment (after \_SB_.PCI0._INI was executed, modifying OSYS), it returned information for interrupts as if were initially setup for the proper OSYS.
2019-07-31drm/amd/display: fix compilation errorJonathan Gray
From Hariprasad Kelam 6a7047471073c2cf8e375b2fe5a71bacf9799973 in linux 4.19.y/4.19.63 88099f53cc3717437f5fc9cf84205c5b65118377 in mainline linux
2019-07-31drm/amd/display: Always allocate initial connector state stateJonathan Gray
From Nicholas Kazlauskas 11b4e9f3695c155f71cb2bc56d761284bf5e65b1 in linux 4.19.y/4.19.63 f04bee34d6e35df26cbb2d65e801adfd0d8fe20d in mainline linux
2019-07-31drm/amdkfd: Fix sdma queue map issueJonathan Gray
From Oak Zeng 210dfe6309112dd028bf06561b828a749b6e1169 in linux 4.19.y/4.19.63 065e4bdfa1f3ab2884c110394d8b7e7ebe3b988c in mainline linux
2019-07-31drm/amdkfd: Fix a potential memory leakJonathan Gray
From Oak Zeng db64bc13944013357d231cbf9d1aee798d7b9892 in linux 4.19.y/4.19.63 e73390d181103a19e1111ec2f25559a0570e9fe0 in mainline linux
2019-07-31drm/amd/display: Disable ABM before destroy ABM structJonathan Gray
From Paul Hsieh 6b1d2871fe369cb65f087cd300bad6af50764ac7 in linux 4.19.y/4.19.63 1090d58d4815b1fcd95a80987391006c86398b4c in mainline linux
2019-07-31drm/amdgpu/sriov: Need to initialize the HDP_NONSURFACE_BAStEJonathan Gray
From Tiecheng Zhou c242a531bb068c91bea7454353206330423ec1a6 in linux 4.19.y/4.19.63 fe2b5323d2c3cedaa3bf943dc7a0d233c853c914 in mainline linux
2019-07-31drm/amd/display: Fill prescale_params->scale for RGB565Jonathan Gray
From Nicholas Kazlauskas 147137f86b5b72aea3af4edb2e66f10c0baa841e in linux 4.19.y/4.19.63 1352c779cb74d427f4150cbe779a2f7886f70cae in mainline linux
2019-07-31Actually set promisc modes based on the interface stateJonathan Matthew
2019-07-30Update media type and status on link change events. Since we don't haveJonathan Matthew
any information about the actual media type (there might not even be one), just pick an arbitrary type of the right speed.
2019-07-30push rxed packets to the stack once per interrupt (per port)David Gwynne
pushing to the stack on every packet completion interacts badly with the backpressure mechanism in ifiq_input when you rx more than 8 or so packets per interrupt. while here move to ifiq_input and apply backpressure before we start dropping in software. the problem was found by olivier taibi and reported on bugs@ i tested this on an overdrive 1000 which uses msk for its onboard nic
2019-07-30enable DRIVER and KMS debug messages when DRMDEBUG is definedJonathan Gray
leave out CORE as it is quite noisy
2019-07-29Shut down queues properly when bringing the interface downJonathan Matthew
2019-07-29drm/i915: Fix I915_EXEC_RING_MASKJonathan Gray
From Chris Wilson 554f4253700e09d2b9ef7a133c68e32389a48c81 in linux 4.19.y/4.19.50 d90c06d57027203f73021bb7ddb30b800d65c636 in mainline linux
2019-07-29Add support for 802.11n Tx aggregation to net80211 and the iwn(4) driver.Stefan Sperling
In particular, add Tx block ack session management to net80211, with enough funcionality to support Tx aggregation on devices which perform A-MPDU subframe scheduling in firmware. Make use of the iwn(4) firmware Tx scheduler to build A-MPDUs. net80211's QoS support code is now enabled and used by Tx aggregation. A-MSDU frames inside A-MPDUs have been tested and work in principle. For now, this feature is disabled because unfair TCP connection sharing was observed during testing, where bursts of TCP Ack frames for a single tcpbench(1) connection arriving in A-MSDUs made other TCP connections stall. Switch off support for A-MSDUs inside A-MPDUs on the Rx side as well. Tested on iwn chipsets 1000, 4965, 5100, 5300, 2200, 6200, 6205, 6300 (committed version of tested diff has all debug printfs removed) tests/ok benno kmos mlarkin kevlo
2019-07-29reduce the diff to linuxJonathan Gray
2019-07-29dma-buf: Discard old fence_excl on retrying get_fences_rcu for reallocJonathan Gray
From Chris Wilson c947cf3e95839e9f449d8194fd15979e5ebc5f16 in linux 4.19.y/4.19.62 f5b07b04e5f090a85d1e96938520f2b2b58e4a8e in mainline linux
2019-07-29remove some VF bits now that iavf(4) existsJonathan Matthew
ok dlg@
2019-07-29Add iavf(4), a driver for Intel Ethernet Adaptive Virtual Functions.Jonathan Matthew
This should work with SR-IOV virtual functions of Intel 700 series and newer ethernet controllers. Written based on ixl(4) and the AVF Hardware Architecture Specification released by Intel. ok dlg@ deraadt@
2019-07-28regenJonathan Matthew
2019-07-28add newer intel nic virtual function idsJonathan Matthew
2019-07-27drm/edid: parse CEA blocks embedded in DisplayIDJonathan Gray
From Andres Rodriguez 66a13b5e4e9cc7bb2c6a5d12a650df4309b77c46 in linux 4.19.y/4.19.61 e28ad544f462231d3fd081a7316339359efbb481 in mainline linux
2019-07-27Match linux path in i915_gem_mmap_ioctl() and change ggtt origin ifJonathan Gray
I915_MMAP_WC flag is set. ok kettenis@