summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
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-10Enable receive checksum offloading on ixl(4) network interfaces.Alexander Bluhm
from jan@; test and OK dlg@
2022-02-10bring back a local change to use DC_FP_START()/DC_FP_END() inJonathan Gray
update_bw_bounding_box() lost in drm 5.15 update should avoid 'SSE FP exception trap' infrequently seen on boot with renoir and cezanne problem reported by beck@ and claudio@
2022-02-09enable hw vlan tag handling in the rx path too.David Gwynne
also tested on both x86 and sparc64.
2022-02-09drm/amd: avoid suspend on dGPUs w/ s2idle support when runtime PM enabledJonathan Gray
From Mario Limonciello 8a15ac1786c92dce6ecbeb4e4c237f5f80c2c703 in linux 5.15.y/5.15.22 e55a3aea418269266d84f426b3bd70794d3389c8 in mainline linux
2022-02-09drm/i915/overlay: Prevent divide by zero bugs in scalingJonathan Gray
From Dan Carpenter 5cba71707f0a7fe19fa1feaf25a4c094876c2db1 in linux 5.15.y/5.15.22 90a3d22ff02b196d5884e111f39271a1d4ee8e3e in mainline linux
2022-02-09drm/amd/display: Force link_rate as LINK_RATE_RBR2 for 2018 15" Apple Retina ↵Jonathan Gray
panels From Aun-Ali Zaidi 2093ecf557e733f995c7db6df716c91c43923972 in linux 5.15.y/5.15.22 30fbce374745a9c6af93c775a5ac49a97f822fda in mainline linux
2022-02-09drm/amd/display: watermark latencies is not enough on DCN31Jonathan Gray
From Paul Hsieh 7ff0ed88e4eb6bd7ccd7cf422ab855032ed0528c in linux 5.15.y/5.15.22 f5fa54f45ab41cbb1f99b1208f49554132ffb207 in mainline linux
2022-02-09drm/amd/pm: correct the MGpuFanBoost support for Beige GobyJonathan Gray
From Evan Quan 4f4c77ad5a13ac39d38cc3f1b963e85ecf9d528f in linux 5.15.y/5.15.22 3ec5586b4699cfb75cdfa09425e11d121db40773 in mainline linux
2022-02-09drm/i915/adlp: Fix TypeC PHY-ready status readoutJonathan Gray
From Imre Deak 39ac3945d966168bdede467446dec45cee3382bb in linux 5.15.y/5.15.22 3c6f13ad723e7206f03bb2752b01d18202b7fc9d in mainline linux
2022-02-09drm/i915: Disable DSB usage for nowJonathan Gray
From Ville Syrjala d63d077fc44645d51df7e9007df87853f5c13e4c in linux 5.15.y/5.15.22 99510e1afb4863a225207146bd988064c5fd0629 in mainline linux
2022-02-09enable hardware vlan tagging.David Gwynne
tested on sparc64 and x86
2022-02-08Fix a KASSERT in iwm(4) being triggered for the wrong reason.Stefan Sperling
iwm_wakeup() must initialize the task reference counter only if resuming the device succeeds. Otherwise, the newstate task will not be scheduled and hence the ref counter must remain at zero. Problem observed by + ok kettenis@
2022-02-08bring back IPv4, TCP4/6 and UDP4/6 checksum offloading.David Gwynne
this was first introduced in r1.176 by jan@. this diff includes two fixes to that implementation. the most important one is to parse the ip and tcp headers before a possible call to m_defrag. if an l4 offload is requested, it's only requested by the stack when the payload is correctly aligned and with each header contiguous in memory. this means you can use m_getptr and cast the packet data to the relevant headers to read them directly because that's what the stack does when it's working on them. this makes it cheap to work on them too. however, if you m_defrag, it ignores the alignment and ends up making it unsafe to dereference the ip and tcp/udp payloads on strict alignment architectures. if we want to look at the headers after m_defrag, we'd likely have to copy them onto the stack first. the other fix is to reset the offload bits between packets in the loop in ixl_start. another difference is that this code skips parsing the packet if no checksum offload is requested. tests and a tweak by bluhm@ to actually use the offloading tested by me on sparc64 and x86 boxes ok bluhm@ jmatthew@
2022-02-08rework checksum/vlan offloading, and enable it for ipv6 too.David Gwynne
this is based on work by jan@ and bluhm@. the most interesting change on top of their work is to move the parsing of the IP packets to figure out ip and udp/tcp offsets before a possible call to m_defrag. if an l4 offload is requested, it's only requested by the stack when the payload is correctly aligned and with each header contiguous in memory. this means you can use m_getptr and cast the packet data to the relevant headers to read them directly because that's what the stack does when it's working on them. this makes it cheap to work on them too. however, if you m_defrag, it ignores the alignment and ends up making it unsafe to dereference the ip and tcp/udp payloads on strict alignment architectures. if we want to look at the headers after m_defrag, we'd likely have to copy them onto the stack first. we got away with this before because we were lucky with the code that's generated on strict alignment archs for looking at the ip hl and proto fields. that luck might run out though. while here i've also tweaked the vlan handling code, and generally tried to make it more readable. ok bluhm@ jmatthew@
2022-02-07Convert KVA allocation to km_alloc(9).Mark Kettenis
ok jsg@
2022-02-03store root bridge data in softc before calling intel_init_stolen_res()Jonathan Gray
should fix panic on boot on x41 reported by Fred Crowson
2022-02-03inteldrm now requires ttmJonathan Gray
2022-02-02unifdef __OpenBSD__Jonathan Gray
2022-02-02unifdef __NetBSD_Version__Jonathan Gray
2022-02-02drm/amd/display: Fix FP start/end for dcn30_internal_validate_bw.Jonathan Gray
From Bas Nieuwenhuizen 548f20b39ec91fdd97194a84a0d9b2f68715762a in linux 5.15.y/5.15.19 72a8d87b87270bff0c0b2fed4d59c48d0dd840d7 in mainline linux
2022-02-02drm/atomic: Add the crtc to affected crtc only if uapi.enable = trueJonathan Gray
From Manasi Navare 73740f948252e424a01465155d8737bceae23653 in linux 5.15.y/5.15.19 5ec1cebd59300ddd26dbaa96c17c508764eef911 in mainline linux
2022-02-01call intel_init_stolen_res() lost in drm 5.7 updateJonathan Gray
2022-02-01get stolen memory base and size for gen 12Jonathan Gray
2022-02-01use unsigned long for length argument of linux copyin/copyout equivalentsJonathan Gray
2022-01-31enable the movntdqa version of drm_memcpy_from_wc()Jonathan Gray
only caller is ttm_move_memcpy() inteldrm has equivalent bits in i915_memcpy.c
2022-01-31define CONFIG_DRM_I915_USERFAULT_AUTOSUSPEND to reduce diff to linuxJonathan Gray
2022-01-31revert fb size workaround from amdgpu_gmc.c rev 1.3Jonathan Gray
djm@ confirms the recently committed 5.5.18 change 'drm/amdgpu: Use correct VIEWPORT_DIMENSION for DCN2' to use the right register for GMC9 DCN2 (RENOIR, GREEN_SARDINE) is enough on t14 gen 2 amd.
2022-01-31unstub append_oa_sample()Jonathan Gray
2022-01-30unstub intel_gt_get_awake_time()Jonathan Gray
2022-01-30push stub down in __await_execution()Jonathan Gray
functions in this file want to reach into the implementation of irq work which for us isn't a llist but rather a task
2022-01-29drm/amdgpu: Use correct VIEWPORT_DIMENSION for DCN2Jonathan Gray
From Harry Wentland 7b6577cf9fe48d24d82df9362a077396a9d5cb27 in linux 5.15.y/5.15.18 dc5d4aff2e99c312df8abbe1ee9a731d2913bc1b in mainline linux
2022-01-29drm/amd/display: reset dcn31 SMU mailbox on failuresJonathan Gray
From Mario Limonciello f71c91ed1d4b4bfbbb55327b04dcc32b2d970f62 in linux 5.15.y/5.15.18 83293f7f3d15fc56e86bd5067a2c88b6b233ac3a in mainline linux
2022-01-29drm/i915: Flush TLBs before releasing backing storeJonathan Gray
From Tvrtko Ursulin 8a17a077e7e9ecce25c95dbdb27843d2d6c2f0f7 in linux 5.15.y/5.15.18 7938d61591d33394a21bdd7797a245b65428f44c in mainline linux
2022-01-28When it's the possessive of 'it', it's spelled "its", without thePhilip Guenther
apostrophe.
2022-01-27drm/radeon: fix error handling in radeon_driver_open_kmsJonathan Gray
From Christian Koenig f22f67b43775fffb09f371ea861779cdbbb763ec in linux 5.15.y/5.15.17 4722f463896cc0ef1a6f1c3cb2e171e949831249 in mainline linux
2022-01-27drm/i915/display/ehl: Update voltage swing tableJonathan Gray
From Jose Roberto de Souza 077fe9d865604fcab3238afeaa7408cc1635bc39 in linux 5.15.y/5.15.17 ef3ac01564067a4337bb798b8eddc6ea7b78fd10 in mainline linux
2022-01-27drm/amdgpu: don't do resets on APUs which don't support itJonathan Gray
From Alex Deucher c3a9e0e701dfd087b0044c3598bffe880262c066 in linux 5.15.y/5.15.17 e8309d50e97851ff135c4e33325d37b032666b94 in mainline linux
2022-01-27drm/amd/display: Fix the uninitialized variable in enable_stream_features()Jonathan Gray
From Yizhuo Zhai 3bf997ec299cdf7280b2039806e5e1d847df111a in linux 5.15.y/5.15.17 0726ed3065eeb910f9cea0c933bc021a848e00b3 in mainline linux
2022-01-27amdgpu/pm: Make sysfs pm attributes as read-only for VFsJonathan Gray
From Marina Nikolic e4066c05d3327b530bb00d11d3492bac1e69982d in linux 5.15.y/5.15.17 11c9cc95f818f0f187e9b579a7f136f532b42445 in mainline linux
2022-01-27drm/amdgpu: fixup bad vram size on gmc v8Jonathan Gray
From Zongmin Zhou 493b87970061f044c5cf795cfd1d679d114844ed in linux 5.15.y/5.15.17 11544d77e3974924c5a9c8a8320b996a3e9b2f8b in mainline linux
2022-01-27drm/amd/amdgpu: fix gmc bo pin count leak in SRIOVJonathan Gray
From Jingwen Chen 305f07b93d34d292432251e9963bf232db38d67a in linux 5.15.y/5.15.17 948e7ce01413b71395723aaf846015062aea3a43 in mainline linux
2022-01-27drm/amd/amdgpu: fix psp tmr bo pin count leak in SRIOVJonathan Gray
From Jingwen Chen 8662d0c6a36807093aed34b17b930484fd4bf22f in linux 5.15.y/5.15.17 85dfc1d692c9434c37842e610be37cd4ae4e0081 in mainline linux
2022-01-27drm/amdkfd: Fix error handling in svm_range_addJonathan Gray
From Felix Kuehling 4a635b9d5ba5f691e378f7ec20e11b7b04f07a45 in linux 5.15.y/5.15.17 726be40607264b180a2b336c81e1dcff941de618 in mainline linux
2022-01-27drm/amd/display: add else to avoid double destroy clk_mgrJonathan Gray
From Martin Leung 58d33532664c1580beeb127ffe771a7739fb63d3 in linux 5.15.y/5.15.17 11dff0e871037a6ad978e52f826a2eb7f5fb274a in mainline linux
2022-01-27drm/amdgpu/display: set vblank_disable_immediate for DCJonathan Gray
From Alex Deucher f94cf1cb17963905910c2adc332ebb9e44e7fa4b in linux 5.15.y/5.15.17 92020e81ddbeac351ea4a19bcf01743f32b9c800 in mainline linux