summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2023-03-06change current iwx rate_n_flag field names to indicate this is API version 1Stefan Sperling
also add some missing bits found in the Linux driver while here
2023-03-06add support for iwx TLC config command v4Stefan Sperling
2023-03-06add support for iwx firmware alive response version 6Stefan Sperling
2023-03-06recognize more iwx ucode TLV sections which are present in newer fw imagesStefan Sperling
2023-03-06drm/amd/display: Properly reuse completion structureJonathan Gray
From Stylon Wang 118ad80d27d938868299ef184f7483b21f011f0b in linux-6.1.y/6.1.15 0cf8307adbc6beb5ff3b8a76afedc6e4e0b536a9 in mainline linux
2023-03-06drm/amd/display: Fix race condition in DPIA AUX transferJonathan Gray
From Stylon Wang 075e2099c32cf4486b27266d2aecf61e95499ea4 in linux-6.1.y/6.1.15 ead08b95fa50f40618c72b93a849c4ae30c9cd50 in mainline linux
2023-03-06drm/amd/display: Move DCN314 DOMAIN power control to DMCUBJonathan Gray
From Nicholas Kazlauskas 4da108082a3290804ebbd42d70ce8535c00e4637 in linux-6.1.y/6.1.15 e383b12709e32d6494c948422070c2464b637e44 in mainline linux
2023-03-05Mask off IPL flags before storing the IPL for an interrupt.Patrick Wildt
ok kettenis@ jmatthew@
2023-03-05Add RK356x-specific initialization. Also initialize a few auto modeMark Kettenis
related registers on all supported SoCs. Makes rktemp(4) work on RK356x with U-Boot. ok jmatthew@
2023-03-04Turns out the RK3566 has a different value in the GPIO_VER_ID registerMark Kettenis
than advertised in the RK3568. This value is present in the Linux driver and implies the new register layout. So handle both values. This makes GPIOs on the RK3566 actually work. ok patrick@
2023-03-04On RK356x many devices need to be explicitly routed to use alternative pinMark Kettenis
muxings. Implement support for this. ok patrick@
2023-03-04Add ytphy(4) to files.mii (forgotten in the previous commit).Mark Kettenis
Fix year on my copyright.
2023-03-04Add ytphy(4), a driver for the MotorComm YT8511 PHY.Mark Kettenis
ok deraadt@
2023-03-04Use ISC licence.Mark Kettenis
ok deraadt@
2023-03-04handle polling when cold in tipmic_thermal_opreg_handler().David Gwynne
this allows me to boot if acpitz is using tipmic instead of getting stuck. tipmic would spin on tsleep, which returns immediately with 0 when cold, waiting for a value to be set by the tipmic interrupt handler. cos the box is cold the interrupt is masked, so the tsleep loop never ended. patrick@ helped me find this ok kettenis@
2023-02-27Pass MII flags depending on the phy mode specified in the device tree.Jonathan Matthew
With this, the WAN port on the Turris Omnia works. tested on Turris MOX by kettenis@ ok patrick@
2023-02-27drm/i915: Remove __maybe_unused from mtl_infoJonathan Gray
From Lucas De Marchi 44610f4c3093bbce3061b77d37bdf1bed8e379da in linux-6.1.y/6.1.14 fff758698842fb6722be37498d8773e0fb47f000 in mainline linux
2023-02-27drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sinkJonathan Gray
From Ankit Nautiyal 0deb50618944aed143269214daea0ba2ddf2222d in linux-6.1.y/6.1.14 18feaf6d0784dcba888859109676adf1e0260dfd in mainline linux
2023-02-26Add a few missing bounds checks when processing terminal escape sequences.Miod Vallat
Without them, the kernel could be made to crash or reboot after receiving some specially crafted terminal escape sequences. Reported by David Leadbeater (dgl, dgl dot cx)
2023-02-26Defragment mbufs in the tx path to work around a (not fully understood)Mark Kettenis
issue on the StarFive JH7100 SoC where packets spanning multiple mbufs are corrupted. Makes ethernet work reliably on the StarFive VisionFive 1 board. ok patrick@
2023-02-26RK3588 support.Mark Kettenis
ok patrick@
2023-02-26Modern Rockchip SoCs, such as the RK356x and RK3588, use a differentMark Kettenis
register layout where the upper 16 bits decide which of the lower 16 bits apply when writing to a register. Handle this new variant. ok patrick@
2023-02-23drm/i915/gen11: Wa_1408615072/Wa_1407596294 should be on GT listJonathan Gray
From Matt Roper 2fc3ff76e96f48e5e4dd705f6794b8483f7c1624 in linux-6.1.y/6.1.13 d5a1224aa68c8b124a4c5c390186e571815ed390 in mainline linux
2023-02-23drm/amd/display: Fail atomic_check early on normalize_zpos errorJonathan Gray
From Leo Li 020eccac747e30a35f1fdd4dc6f18425ff1a5870 in linux-6.1.y/6.1.13 2a00299e7447395d0898e7c6214817c06a61a8e8 in mainline linux
2023-02-23drm/amd/amdgpu: fix warning during suspendJonathan Gray
From Jack Xiao dbe3529e816ee77a19fb6636e762b1dadbd02d10 in linux-6.1.y/6.1.13 8f32378986218812083b127da5ba42d48297d7c4 in mainline linux
2023-02-23drm/amd/display: Properly handle additional cases where DCN is not supportedJonathan Gray
From Alex Deucher b4e79d0c7f9bb938525716b3e05cfca6418e2bae in linux-6.1.y/6.1.13 6fc547a5a2ef5ce05b16924106663ab92f8f87a7 in mainline linux
2023-02-23drm/amdgpu: Enable vclk dclk node for gc11.0.3Jonathan Gray
From Yiqing Yao fc64b04297a0674f4e5aff50622efdce46715fe1 in linux-6.1.y/6.1.13 ac7170082c0e140663f0853d3de733a5341ce7b0 in mainline linux
2023-02-23drm/amdgpu: enable HDP SD for gfx 11.0.3Jonathan Gray
From Evan Quan e9cbb2b0d9f679d7e25b9415cf9d7345441a95c5 in linux-6.1.y/6.1.13 bb25849c0fa550b26cecc9c476c519a927c66898 in mainline linux
2023-02-23drm/amd/display: Reset DMUB mailbox SW state after HW resetJonathan Gray
From Nicholas Kazlauskas 488770cbddd8a873fb3bb8866e8a46211570c367 in linux-6.1.y/6.1.13 154711aa5759ef9b45903124fa813c4c29ee681c in mainline linux
2023-02-23drm/amd/display: Unassign does_plane_fit_in_mall function from dcn3.2Jonathan Gray
From George Shen 383e32fa274a330dbf2d2db538b6bf2f9ef390aa in linux-6.1.y/6.1.13 275d8a1db261a1272a818d40ebc61b3b865b60e5 in mainline linux
2023-02-23drm/amd/display: Adjust downscaling limits for dcn314Jonathan Gray
From Daniel Miess 7dbd205349f1fb098057c28a9a2af244aa868f72 in linux-6.1.y/6.1.13 dd2db2dc4bd298f33dea50c80c3c11bee4e3b0a4 in mainline linux
2023-02-23drm/amd/display: Add missing brackets in calculationJonathan Gray
From Daniel Miess 0c42622a573b716d79c57ff61c52fea46c0a5c94 in linux-6.1.y/6.1.13 ea062fd28f922cb118bfb33229f405b81aff7781 in mainline linux
2023-02-21Attach Apollo Lake HD Audio device, enabling audio on machines with it.Brian Callahan
ok jsg@ phessler@
2023-02-20Rewrite the ROM walk logic to correctly iterate over non-STI ROMs (and skipMiod Vallat
them), such as x86 bios ROMs.
2023-02-20Wrap all printf calls in sti_check_rom() in order to automagically cope withMiod Vallat
ROM enable/disable; makes addition of debug code more fool-proof. NFC (yet)
2023-02-19Add support for deep(er) idle states that can be entered using PSCI. ForMark Kettenis
now this only supports states advertised in device trees, but ACPI support could be added as well. The parsing of the idle states as well as the heuristic to pick the deepest one is probably a bit to simple, but more complex cases can be added later. Worst case cores will use WFI and use more power in suspend. ok phessler@
2023-02-19Do not let the iwx init task run in parallel to wakeup code during resume.Stefan Sperling
The driver will resume in the ACPI thread and run code to wake the device. If a firmware error occurs then the init task will be scheduled and could then run in parallel to the wakeup code. This would lead to panics as the init task ran while we were not yet done with device initialization. To prevent this problem we now grab the rwlock during wakeup, the same lock which is used to prevent races between the init task and ioctls. Problem found by mvs@, who also suggested the fix implemented here and tested the changes. ok mvs@
2023-02-18acpipwrres(4): remove unused aml_value's.Dave Voutila
ok kettenis@
2023-02-17spellingJonathan Gray
ok mglocker@
2023-02-16Fix MAC address register offsets.Mark Kettenis
ok patrick@
2023-02-15Don't print the version twice, but do print a newline before attaching theMark Kettenis
PHY. Put the DMA address of the mbuf into the rx descriptors (instead of the length). Use the correct value when setting the tx ring tail pointer. This make sending and receiving packets work as long as the interface is in promiscuous mode. ok patrick@
2023-02-15Add GMAC-related RK356x clocks.Mark Kettenis
ok patrick@
2023-02-15drm/i915: Fix VBT DSI DVO port handlingJonathan Gray
From Ville Syrjala 7fa83855852e4b13dd05702569f3f0bb3e1c624d in linux-6.1.y/6.1.12 6a7ff131f17f44c593173c5ee30e2c03ef211685 in mainline linux
2023-02-15drm/i915: Initialize the obj flags for shmem objectsJonathan Gray
From Aravind Iddamsetty baaed8c92927e2530a799daf2e909e6688dc2943 in linux-6.1.y/6.1.12 44e4c5684fcc82d8f099656c4ea39d9571e2a8ac in mainline linux
2023-02-15drm/i915: Move fd_install after last use of fenceJonathan Gray
From Rob Clark bfa700d12274bd3509b64fd545d1046eef89d564 in linux-6.1.y/6.1.12 251e8c5b1b1fadcc387a8e618c7437d330bdac3e in mainline linux
2023-02-15drm/amd/display: fix cursor offset on rotation 180Jonathan Gray
From Melissa Wen 5af27a53a881ed49e071875c10760b0fc13996a1 in linux-6.1.y/6.1.12 49d0555976f0972af68397ed996375c135b38ba7 in mainline linux
2023-02-15drm/amd/display: properly handling AGP aperture in vm setupJonathan Gray
From Alex Deucher 8d81e1c6865e7114d9829b0f3c73a66cd3a0963d in linux-6.1.y/6.1.12 5c4e8c71d1202cd84d870e7e5cb8d6b52f9c3507 in mainline linux
2023-02-15drm/amdgpu/smu: skip pptable init under sriovJonathan Gray
From Jane Jian 4609e1773222670af42e71c3a7bbf0453438d74a in linux-6.1.y/6.1.12 c6ac406cd8ff610a2d5da298b1d3071acfcde7f0 in mainline linux
2023-02-15drm/amdgpu/fence: Fix oops due to non-matching drm_sched init/finiJonathan Gray
From Guilherme G. Piccoli 2bcbbef9cace772f5b7128b11401c515982de34b in linux-6.1.y/6.1.12 5ad7bbf3dba5c4a684338df1f285080f2588b535 in mainline linux
2023-02-15drm/amd/pm: bump SMU 13.0.7 driver_if header versionJonathan Gray
From Evan Quan d82e6903b395aafc5c94b7282eccdd13903942a3 in linux-6.1.y/6.1.12 dc38b996db968f51f0fe45845a519c5cd7f6bd04 in mainline linux