openbsd
19 months agodrm/amd/pm: Fix sienna cichlid incorrect OD volage after resume
jsg [Tue, 28 Mar 2023 04:21:08 +0000 (04:21 +0000)]
drm/amd/pm: Fix sienna cichlid incorrect OD volage after resume

From mumei6102
6e403a0a69f73ecc5ee0a2045efdcb9051abdd56 in linux-6.1.y/6.1.21
a9386ee9681585794dbab95d4ce6826f73d19af6 in mainline linux

19 months agodrm/amdgpu: Don't resume IOMMU after incomplete init
jsg [Tue, 28 Mar 2023 04:16:38 +0000 (04:16 +0000)]
drm/amdgpu: Don't resume IOMMU after incomplete init

From Felix Kuehling
dab920478e2b53d1abcf9b929f8205233041d32a in linux-6.1.y/6.1.21
f3921a9a641483784448fb982b2eb738b383d9b9 in mainline linux

19 months agodrm/i915/dg2: Add HDMI pixel clock frequencies 267.30 and 319.89 MHz
jsg [Tue, 28 Mar 2023 04:15:15 +0000 (04:15 +0000)]
drm/i915/dg2: Add HDMI pixel clock frequencies 267.30 and 319.89 MHz

From Ankit Nautiyal
0243590e33a7d87efbf3adc0565269b4dc224944 in linux-6.1.y/6.1.21
46bc23dcd94569270d02c4c1f7e62ae01ebd53bb in mainline linux

19 months agodrm/i915/active: Fix misuse of non-idle barriers as fence trackers
jsg [Tue, 28 Mar 2023 04:13:21 +0000 (04:13 +0000)]
drm/i915/active: Fix misuse of non-idle barriers as fence trackers

From Janusz Krzysztofik
5c7591b8574c52c56b3994c2fbef1a3a311b5715 in linux-6.1.y/6.1.21
e0e6b416b25ee14716f3549e0cbec1011b193809 in mainline linux

19 months agodrm/ttm: Fix a NULL pointer dereference
jsg [Tue, 28 Mar 2023 04:11:29 +0000 (04:11 +0000)]
drm/ttm: Fix a NULL pointer dereference

From Thomas Hellstrom
9ba1720f6c4a0f13c3f3cb5c28132ee75555d04f in linux-6.1.y/6.1.21
9a9a8fe26751334b7739193a94eba741073b8a55 in mainline linux

19 months agodrm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes
jsg [Tue, 28 Mar 2023 04:09:34 +0000 (04:09 +0000)]
drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes

From Alex Hung
a16394b5d661afec9a264fecac3abd87aea439ea in linux-6.1.y/6.1.21
031f196d1b1b6d5dfcb0533b431e3ab1750e6189 in mainline linux

19 months agodrm/amdgpu: fix ttm_bo calltrace warning in psp_hw_fini
jsg [Tue, 28 Mar 2023 04:07:35 +0000 (04:07 +0000)]
drm/amdgpu: fix ttm_bo calltrace warning in psp_hw_fini

From Horatio Zhang
7be9a2f8c5179520a7d5570e648e0c97d09e4fae in linux-6.1.y/6.1.21
23f4a2d29ba57bf88095f817de5809d427fcbe7e in mainline linux

19 months agodrm/amdkfd: Fix an illegal memory access
jsg [Tue, 28 Mar 2023 04:05:41 +0000 (04:05 +0000)]
drm/amdkfd: Fix an illegal memory access

From Qu Huang
d9923e7214a870b312bf61f6a89c7554d0966985 in linux-6.1.y/6.1.21
4fc8fff378b2f2039f2a666d9f8c570f4e58352c in mainline linux

19 months agodrm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc
jsg [Tue, 28 Mar 2023 04:03:59 +0000 (04:03 +0000)]
drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc

From Liu Ying
9821576e117047e4bf8e92a673272aa014a3bb2e in linux-6.1.y/6.1.21
0d3c9333d976af41d7dbc6bf4d9d2e95fbdf9c89 in mainline linux

19 months agodrm/i915/sseu: fix max_subslices array-index-out-of-bounds access
jsg [Tue, 28 Mar 2023 04:01:47 +0000 (04:01 +0000)]
drm/i915/sseu: fix max_subslices array-index-out-of-bounds access

From Andrea Righi
1a1682abf7399318ac074b1f2ac6a8c992b5b3da in linux-6.1.y/6.1.21
193c41926d152761764894f46e23b53c00186a82 in mainline linux

19 months agodrm/i915/psr: Use calculated io and fast wake lines
jsg [Tue, 28 Mar 2023 03:59:10 +0000 (03:59 +0000)]
drm/i915/psr: Use calculated io and fast wake lines

From Jouni Hogander
d586d58c3f2a9835dfdbf34fee0d8522303ab24f in linux-6.1.y/6.1.21
71c602103c74b277bef3d20a308874a33ec8326d in mainline linux

19 months agodrm/msm/gem: Prevent blocking within shrinker loop
jsg [Tue, 28 Mar 2023 03:55:56 +0000 (03:55 +0000)]
drm/msm/gem: Prevent blocking within shrinker loop

From Dmitry Osipenko
96a5aee27439e56fca69628c3f87a042e7026b3e in linux-6.1.y/6.1.21
9630b585b607bd26f505d34620b14d75b9a5af7d in mainline linux

19 months agodrm/amd/display: adjust MALL size available for DCN32 and DCN321
jsg [Tue, 28 Mar 2023 00:34:04 +0000 (00:34 +0000)]
drm/amd/display: adjust MALL size available for DCN32 and DCN321

From Samson Tam
38327b6cb1fa2bb098bca0db7dd25ee80a6d64b1 in linux-6.1.y/6.1.20
235fef6c7fd341026eee90cc546e6e8ff8b2c315 in mainline linux

19 months agodrm/amd/display: Allow subvp on vactive pipes that are 2560x1440@60
jsg [Tue, 28 Mar 2023 00:31:10 +0000 (00:31 +0000)]
drm/amd/display: Allow subvp on vactive pipes that are 2560x1440@60

From Alvin Lee
02c8fa11f545938f3f5af3cd02fe343803539213 in linux-6.1.y/6.1.20
2ebd1036209c2e7b61e6bc6e5bee4b67c1684ac6 in mainline linux

19 months agodrm/amdgpu/soc21: Add video cap query support for VCN_4_0_4
jsg [Tue, 28 Mar 2023 00:29:11 +0000 (00:29 +0000)]
drm/amdgpu/soc21: Add video cap query support for VCN_4_0_4

From Veerabadhran Gopalakrishnan
70f12dee2254dd956ffaf547507b688887fed6c6 in linux-6.1.y/6.1.20
6ce2ea07c5ff0a8188eab0e5cd1f0e4899b36835 in mainline linux

19 months agodrm/amdgpu/soc21: don't expose AV1 if VCN0 is harvested
jsg [Tue, 28 Mar 2023 00:27:21 +0000 (00:27 +0000)]
drm/amdgpu/soc21: don't expose AV1 if VCN0 is harvested

From Alex Deucher
69a56ace8bc2a3ee3d1a9584c30476c588b1f420 in linux-6.1.y/6.1.20
a6de636eb04f146d23644dbbb7173e142452a9b7 in mainline linux

19 months agodrm/amdgpu: fix return value check in kfd
jsg [Tue, 28 Mar 2023 00:25:50 +0000 (00:25 +0000)]
drm/amdgpu: fix return value check in kfd

From Shashank Sharma
dc7d4b1a6568652f51ee45b1a1e3531f1186a552 in linux-6.1.y/6.1.20
20534dbcc7b7bfb447279cdcfb0d88ee3b779a18 in mainline linux

19 months agodrm/i915: Populate encoder->devdata for DSI on icl+
jsg [Tue, 28 Mar 2023 00:24:29 +0000 (00:24 +0000)]
drm/i915: Populate encoder->devdata for DSI on icl+

From Ville Syrjala
783c225e910fa5e0ef7bd9de88d32c0787e04e95 in linux-6.1.y/6.1.20
14e591a1930c2790fe862af5b01ee3ca587f752f in mainline linux

19 months agodrm/i915: Do panel VBT init early if the VBT declares an explicit panel type
jsg [Tue, 28 Mar 2023 00:22:33 +0000 (00:22 +0000)]
drm/i915: Do panel VBT init early if the VBT declares an explicit panel type

From Ville Syrjala
bd61a84b5eee4eaf3daf1c69499a4eca1f972ca4 in linux-6.1.y/6.1.20
3f9ffce5765d68775163b8b134c4d7f156b48eec in mainline linux

19 months agodrm/i915: Introduce intel_panel_init_alloc()
jsg [Tue, 28 Mar 2023 00:19:53 +0000 (00:19 +0000)]
drm/i915: Introduce intel_panel_init_alloc()

From Ville Syrjala
e340197a453987c48cdeeeb6447d0944513de538 in linux-6.1.y/6.1.20
f70f8153e3642337b444fbc0c64d546a46bbcd62 in mainline linux

19 months agodrm/connector: print max_requested_bpc in state debugfs
jsg [Tue, 28 Mar 2023 00:17:51 +0000 (00:17 +0000)]
drm/connector: print max_requested_bpc in state debugfs

From Harry Wentland
8d2ca666a7b415a4a063be39b20c2b99c42421cb in linux-6.1.y/6.1.20
7d386975f6a495902e679a3a250a7456d7e54765 in mainline linux

19 months agodrm/display: Don't block HDR_OUTPUT_METADATA on unknown EOTF
jsg [Tue, 28 Mar 2023 00:16:13 +0000 (00:16 +0000)]
drm/display: Don't block HDR_OUTPUT_METADATA on unknown EOTF

From Harry Wentland
9f6f6f42b9ef6b6ad2fcd01623593bef7eb5a47b in linux-6.1.y/6.1.20
e5eef23e267c72521d81f23f7f82d1f523d4a253 in mainline linux

19 months agodrm/amdgpu: fix error checking in amdgpu_read_mm_registers for nv
jsg [Tue, 28 Mar 2023 00:13:59 +0000 (00:13 +0000)]
drm/amdgpu: fix error checking in amdgpu_read_mm_registers for nv

From Alex Deucher
d07d152d762d746016f546f9fedd3f319870cf5e in linux-6.1.y/6.1.20
b42fee5e0b44344cfe4c38e61341ee250362c83f in mainline linux

19 months agodrm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc21
jsg [Tue, 28 Mar 2023 00:12:19 +0000 (00:12 +0000)]
drm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc21

From Alex Deucher
a11e210dc595a8b7259335a9d7c7b57cc8f39bd4 in linux-6.1.y/6.1.20
2915e43a033a778816fa4bc621f033576796521e in mainline linux

19 months agodrm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc15
jsg [Tue, 28 Mar 2023 00:10:35 +0000 (00:10 +0000)]
drm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc15

From Alex Deucher
39190482e5d0993f237d6a2b54f5548d92156d50 in linux-6.1.y/6.1.20
0dcdf8498eae2727bb33cef3576991dc841d4343 in mainline linux

19 months agoRemove compatibility code for OpenSSL 1.0.* versions now that -portable
dtucker [Mon, 27 Mar 2023 23:56:54 +0000 (23:56 +0000)]
Remove compatibility code for OpenSSL 1.0.* versions now that -portable
has dropped support for those versions.

19 months agoSilence informational messages from dd(1) when zeroing a disk's first 1MB
kn [Mon, 27 Mar 2023 19:43:36 +0000 (19:43 +0000)]
Silence informational messages from dd(1) when zeroing a disk's first 1MB

19 months agoImplement branch target protection using the branch target identification
kettenis [Mon, 27 Mar 2023 19:02:47 +0000 (19:02 +0000)]
Implement branch target protection using the branch target identification
feature introduced in Armv8.5.  This provides "head-CFI" to complement
the "tail-CFI" provided by retguard.  Unfortunately most arm64 machines
don't support this feature yet.  But Apple M2 does support it and it
seems to work there.

ok deraadt@

19 months agokill another empty line
op [Mon, 27 Mar 2023 17:54:20 +0000 (17:54 +0000)]
kill another empty line

19 months agokill two empty lines and some trailing whitespaces
op [Mon, 27 Mar 2023 17:53:17 +0000 (17:53 +0000)]
kill two empty lines and some trailing whitespaces

19 months agoShow BT and SBSS features in dmesg.
kettenis [Mon, 27 Mar 2023 17:49:13 +0000 (17:49 +0000)]
Show BT and SBSS features in dmesg.

ok deraadt@

19 months agotypo: filed -> failed; ok ratchov@
op [Mon, 27 Mar 2023 15:36:18 +0000 (15:36 +0000)]
typo: filed -> failed; ok ratchov@

19 months agoreading aid: explicitly check for memcmp() != 0; no functional change
op [Mon, 27 Mar 2023 15:35:29 +0000 (15:35 +0000)]
reading aid: explicitly check for memcmp() != 0; no functional change

ok ratchov@

19 months agoReorder functions/code.
jsing [Mon, 27 Mar 2023 10:27:12 +0000 (10:27 +0000)]
Reorder functions/code.

No intended functional change.

19 months agoReplace the remaining BN_copy() with bn_copy()
tb [Mon, 27 Mar 2023 10:25:02 +0000 (10:25 +0000)]
Replace the remaining BN_copy() with bn_copy()

ok jsing

19 months agoConvert BN_copy() with missing error checks to bn_copy()
tb [Mon, 27 Mar 2023 10:22:47 +0000 (10:22 +0000)]
Convert BN_copy() with missing error checks to bn_copy()

ok jsing

19 months agoConvert BN_copy() with explicit comparison against NULL to bn_copy()
tb [Mon, 27 Mar 2023 10:21:23 +0000 (10:21 +0000)]
Convert BN_copy() with explicit comparison against NULL to bn_copy()

ok jsing

19 months agoUse bn_copy() rather than inlining it
tb [Mon, 27 Mar 2023 10:20:27 +0000 (10:20 +0000)]
Use bn_copy() rather than inlining it

ok jsing

19 months agoTidy includes.
jsing [Mon, 27 Mar 2023 10:13:08 +0000 (10:13 +0000)]
Tidy includes.

19 months agore-enable POOL_DEBUG
naddy [Mon, 27 Mar 2023 09:39:21 +0000 (09:39 +0000)]
re-enable POOL_DEBUG

19 months agoAvoid errno is EINVAL after OpenSSL initialization
jan [Mon, 27 Mar 2023 09:15:45 +0000 (09:15 +0000)]
Avoid errno is EINVAL after OpenSSL initialization

ok tb@

19 months agobn_mod_exp: make this test a bit less noisy on failure
tb [Mon, 27 Mar 2023 09:01:08 +0000 (09:01 +0000)]
bn_mod_exp: make this test a bit less noisy on failure

While it is good to run more tests on failure, it is pointless to try
broken things thousands of times.

19 months agoSwitch regress to using bn_copy()
tb [Mon, 27 Mar 2023 08:52:57 +0000 (08:52 +0000)]
Switch regress to using bn_copy()

19 months agoDrop unnecessary parentheses.
tb [Mon, 27 Mar 2023 08:49:34 +0000 (08:49 +0000)]
Drop unnecessary parentheses.

ok jsing

19 months agoAdd a format to show if there are unseen changes while in a mode, from
nicm [Mon, 27 Mar 2023 08:47:57 +0000 (08:47 +0000)]
Add a format to show if there are unseen changes while in a mode, from
Dan Aloni in GitHub issue 3498.

19 months agoConvert bn_nist.c to BN_copy()
tb [Mon, 27 Mar 2023 08:41:35 +0000 (08:41 +0000)]
Convert bn_nist.c to BN_copy()

Like everything else in this file, the use of BN_copy() needs to be ...
special. Simplify using the new bn_copy().

ok jsing

19 months agoAdd bn_copy(), a sane wrapper of BN_copy() for internal use
tb [Mon, 27 Mar 2023 08:37:33 +0000 (08:37 +0000)]
Add bn_copy(), a sane wrapper of BN_copy() for internal use

ok jsing

19 months agoFor passthrough, don't write to clients attached to different sessions,
nicm [Mon, 27 Mar 2023 08:31:32 +0000 (08:31 +0000)]
For passthrough, don't write to clients attached to different sessions,
based on a fix from Sergei Grechanik.

19 months agodrm/i915: Fix system suspend without fbdev being initialized
jsg [Mon, 27 Mar 2023 07:46:03 +0000 (07:46 +0000)]
drm/i915: Fix system suspend without fbdev being initialized

From Imre Deak
27b5871abd5cc068c549fd23062c82e257fc0b9c in linux-6.1.y/6.1.18
8038510b1fe443ffbc0e356db5f47cbb8678a594 in mainline linux

19 months agodrm/i915/dp_mst: Add the MST topology state for modesetted CRTCs
jsg [Mon, 27 Mar 2023 07:41:58 +0000 (07:41 +0000)]
drm/i915/dp_mst: Add the MST topology state for modesetted CRTCs

From Imre Deak
fb5f2b42650f60a06cfe794e40810c22083c171a in linux-6.1.y/6.1.18
326b1e792ff08b4d8ecb9605aec98e4e5feef56e in mainline linux

19 months agodrm/display/dp_mst: Fix payload addition on a disconnected sink
jsg [Mon, 27 Mar 2023 07:36:36 +0000 (07:36 +0000)]
drm/display/dp_mst: Fix payload addition on a disconnected sink

From Imre Deak
6e48e7901e6258b8ea1116d70752d0eb2eca797d in linux-6.1.y/6.1.18
33f960e23c29d113fe3193e0bdc19ac4f3776f20 in mainline linux

19 months agodrm/display/dp_mst: Fix down message handling after a packet reception error
jsg [Mon, 27 Mar 2023 07:34:35 +0000 (07:34 +0000)]
drm/display/dp_mst: Fix down message handling after a packet reception error

From Imre Deak
efe5ce019a9bae988ac244b593da21cec30e9c06 in linux-6.1.y/6.1.18
1241aedb6b5c7a5a8ad73e5eb3a41cfe18a3e00e in mainline linux

19 months agodrm/display/dp_mst: Fix down/up message handling after sink disconnect
jsg [Mon, 27 Mar 2023 07:32:07 +0000 (07:32 +0000)]
drm/display/dp_mst: Fix down/up message handling after sink disconnect

From Imre Deak
b30fcedeba643ca16eaa6212c1245598b7cd830d in linux-6.1.y/6.1.18
1d082618bbf3b6755b8cc68c0a8122af2842d593 in mainline linux

19 months agodrm/display/dp_mst: Add drm_atomic_get_old_mst_topology_state()
jsg [Mon, 27 Mar 2023 07:28:37 +0000 (07:28 +0000)]
drm/display/dp_mst: Add drm_atomic_get_old_mst_topology_state()

From Imre Deak
6130b22fb677430af8fe4a2ac4fbf2f5b8572d12 in linux-6.1.y/6.1.18
9ffdb67af0ee625ae127711845532f670cc6a4e7 in mainline linux

19 months agoRevert r1.1235, "simplify final MAKEDEV call"
tb [Mon, 27 Mar 2023 06:15:43 +0000 (06:15 +0000)]
Revert r1.1235, "simplify final MAKEDEV call"

While MAKEDEV accepts multiple args, it complains loudly on repeated args.
It is silent when trying to create a single already existing device.
This is probably a bug in MAKEDEV.

19 months agodrm/edid: fix parsing of 3D modes from HDMI VSDB
jsg [Mon, 27 Mar 2023 04:31:12 +0000 (04:31 +0000)]
drm/edid: fix parsing of 3D modes from HDMI VSDB

From Jani Nikula
f0f427f3858fda994fe26aacdb7a51815995f035 in linux-6.1.y/6.1.16
72794d16bd535a984e6653a18f5862405b49b5f9 in mainline linux

19 months agodrm/edid: fix AVI infoframe aspect ratio handling
jsg [Mon, 27 Mar 2023 04:29:05 +0000 (04:29 +0000)]
drm/edid: fix AVI infoframe aspect ratio handling

From Jani Nikula
26cbe4c63d1ed6b7e47ca196fd59f8a32ed353ca in linux-6.1.y/6.1.16
1cbc1f0d324ba6c4d1b10ac6362b5e0b029f63d5 in mainline linux

19 months agodrm/i915: Don't use BAR mappings for ring buffers with LLC
jsg [Mon, 27 Mar 2023 04:27:20 +0000 (04:27 +0000)]
drm/i915: Don't use BAR mappings for ring buffers with LLC

From John Harrison
be11d0d9c4eb7c2108ce9041b9e89c86856ca596 in linux-6.1.y/6.1.16
85636167e3206c3fbd52254fc432991cc4e90194 in mainline linux

19 months agodrm/i915: Don't use stolen memory for ring buffers with LLC
jsg [Mon, 27 Mar 2023 04:25:33 +0000 (04:25 +0000)]
drm/i915: Don't use stolen memory for ring buffers with LLC

From John Harrison
d805c28e11fc2a3043bb75aae098e576d746f625 in linux-6.1.y/6.1.16
690e0ec8e63da9a29b39fedc6ed5da09c7c82651 in mainline linux

19 months agodrm/radeon: Fix eDP for single-display iMac11,2
jsg [Mon, 27 Mar 2023 04:23:40 +0000 (04:23 +0000)]
drm/radeon: Fix eDP for single-display iMac11,2

From Mark Hawrylak
8551ddbff0c3cd9e68a58649820754f471ca49a7 in linux-6.1.y/6.1.16
05eacc198c68cbb35a7281ce4011f8899ee1cfb8 in mainline linux

19 months agodrm/i915/quirks: Add inverted backlight quirk for HP 14-r206nv
jsg [Mon, 27 Mar 2023 04:21:40 +0000 (04:21 +0000)]
drm/i915/quirks: Add inverted backlight quirk for HP 14-r206nv

From Mavroudis Chatzilaridis
c63e43906ba6b993090713453350bcddf6d32e59 in linux-6.1.y/6.1.16
5e438bf7f9a1705ebcae5fa89cdbfbc6932a7871 in mainline linux

19 months agodrm/amd: Fix initialization for nbio 7.5.1
jsg [Mon, 27 Mar 2023 04:19:29 +0000 (04:19 +0000)]
drm/amd: Fix initialization for nbio 7.5.1

From Mario Limonciello
749b249d1ba94d976b5f1e32fcd5059b45bc4c4a in linux-6.1.y/6.1.16
65a24000808f70ac69bd2a96381fa0c7341f20c0 in mainline linux

19 months agodrm/amd/display: Disable HUBP/DPP PG on DCN314 for now
jsg [Mon, 27 Mar 2023 04:17:00 +0000 (04:17 +0000)]
drm/amd/display: Disable HUBP/DPP PG on DCN314 for now

From Nicholas Kazlauskas
bea13417361a953729edef54cb3686dcc5301ff5 in linux-6.1.y/6.1.16
b7c67f72408b11b922f23f06c7df0f6743a2e89d in mainline linux

19 months agodrm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5
jsg [Mon, 27 Mar 2023 04:14:57 +0000 (04:14 +0000)]
drm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5

From Darrell Kavanagh
2435156aa7681dd38717a190cfad053a079c22de in linux-6.1.y/6.1.16
38b2d8efd03d2e56431b611e3523f0158306451d in mainline linux

19 months agodrm/amd/display: Enable P-state validation checks for DCN314
jsg [Mon, 27 Mar 2023 04:12:36 +0000 (04:12 +0000)]
drm/amd/display: Enable P-state validation checks for DCN314

From Nicholas Kazlauskas
42bbbd6594f7ad125163debda0c5a077b9c3295f in linux-6.1.y/6.1.16
37d184b548db0f64d4a878960b2c6988b38a3e7e in mainline linux

19 months agodrm/amd/display: Do not commit pipe when updating DRR
jsg [Mon, 27 Mar 2023 04:10:36 +0000 (04:10 +0000)]
drm/amd/display: Do not commit pipe when updating DRR

From Wesley Chalmers
d919f493bb7dc4d0b568039b728eb44ca961ebaa in linux-6.1.y/6.1.16
8f0d304d21b351d65e8c434c5399a40231876ba1 in mainline linux

19 months agodrm/amd/display: fix FCLK pstate change underflow
jsg [Mon, 27 Mar 2023 04:07:06 +0000 (04:07 +0000)]
drm/amd/display: fix FCLK pstate change underflow

From Vladimir Stempen
4bdfa48d74649898468a0bf5c8b8a48dded77b4a in linux-6.1.y/6.1.16
972243f973eb0821084e5833d5f7f4ed025f42da in mainline linux

19 months agoRevert "drm/amdgpu: TA unload messages are not actually sent to psp when amdgpu is...
jsg [Mon, 27 Mar 2023 04:05:13 +0000 (04:05 +0000)]
Revert "drm/amdgpu: TA unload messages are not actually sent to psp when amdgpu is uninstalled"

From Vitaly Prosyak
804bdc5fe05dbbcca6d998bf84c3dbafdcf3534d in linux-6.1.y/6.1.16
39934d3ed5725c5e3570ed1b67f612f1ea60ce03 in mainline linux

19 months agodrm/amd/display: Set hvm_enabled flag for S/G mode
jsg [Mon, 27 Mar 2023 04:02:50 +0000 (04:02 +0000)]
drm/amd/display: Set hvm_enabled flag for S/G mode

From Roman Li
8f720a79bc66a81b6373ba38a1b6b8fdea838143 in linux-6.1.y/6.1.16
40e9f3f067bc6fb47b878f8ba0a9cc7b93abbf49 in mainline linux

19 months agodrm/drm_print: correct format problem
jsg [Mon, 27 Mar 2023 04:00:43 +0000 (04:00 +0000)]
drm/drm_print: correct format problem

From Wayne Lin
214cdbe17923f5e1ed1ff7ba19bac0901fc887e4 in linux-6.1.y/6.1.16
d987150b539271b0394f24c1c648d2846662adb4 in mainline linux

19 months agodrm/amd/display: fix mapping to non-allocated address
jsg [Mon, 27 Mar 2023 03:57:03 +0000 (03:57 +0000)]
drm/amd/display: fix mapping to non-allocated address

From Brandon Syu
8ce8a443ddd9002861a4ee8a7e33a0c02717422f in linux-6.1.y/6.1.16
9190d4a263264eabf715f5fc1827da45e3fdc247 in mainline linux

19 months agoAdd RevokedHostKeys to percent expansion test.
dtucker [Mon, 27 Mar 2023 03:56:50 +0000 (03:56 +0000)]
Add RevokedHostKeys to percent expansion test.

19 months agoAdd tilde and environment variable expansion to RevokedHostKeys.
dtucker [Mon, 27 Mar 2023 03:56:11 +0000 (03:56 +0000)]
Add tilde and environment variable expansion to RevokedHostKeys.
bz#3552, ok djm@

19 months agodrm: amd: display: Fix memory leakage
jsg [Mon, 27 Mar 2023 03:55:01 +0000 (03:55 +0000)]
drm: amd: display: Fix memory leakage

From Konstantin Meskhidze
83ace0dd67ee386be1ddcf59dab49d6d9a54e62e in linux-6.1.y/6.1.16
6b8701be1f66064ca72733c5f6e13748cdbf8397 in mainline linux

19 months agodrm/amd: Avoid ASSERT for some message failures
jsg [Mon, 27 Mar 2023 03:52:40 +0000 (03:52 +0000)]
drm/amd: Avoid ASSERT for some message failures

From Mario Limonciello
a0f406db3ede83791940adfc6cb1d67486e31ff7 in linux-6.1.y/6.1.16
3e5019ee67760cd61b2a5fd605e1289c2f92d983 in mainline linux

19 months agodrm/amdkfd: Page aligned memory reserve size
jsg [Mon, 27 Mar 2023 03:51:04 +0000 (03:51 +0000)]
drm/amdkfd: Page aligned memory reserve size

From Philip Yang
82a6debd4e4b98dabd99ab26a23553276559d509 in linux-6.1.y/6.1.16
0c2dece8fb541ab07b68c3312a1065fa9c927a81 in mainline linux

19 months agodrm/amd: Avoid BUG() for case of SRIOV missing IP version
jsg [Mon, 27 Mar 2023 03:48:31 +0000 (03:48 +0000)]
drm/amd: Avoid BUG() for case of SRIOV missing IP version

From Mario Limonciello
12003ad0f35c946e8e05a8ed9069486ec36c6694 in linux-6.1.y/6.1.16
93fec4f8c158584065134b4d45e875499bf517c8 in mainline linux

19 months agodrm/radeon: free iio for atombios when driver shutdown
jsg [Mon, 27 Mar 2023 03:46:41 +0000 (03:46 +0000)]
drm/radeon: free iio for atombios when driver shutdown

From Liwei Song
107b8b542bb9dab4cbdc3276c85fbdd7f6782313 in linux-6.1.y/6.1.16
4773fadedca918faec443daaca5e4ea1c0ced144 in mainline linux

19 months agodrm/amd/display: Defer DIG FIFO disable after VID stream enable
jsg [Mon, 27 Mar 2023 03:44:58 +0000 (03:44 +0000)]
drm/amd/display: Defer DIG FIFO disable after VID stream enable

From Nicholas Kazlauskas
efb332a2037bdb3f49c42c0b895241383024c06b in linux-6.1.y/6.1.16
2d90a1c054831338d57b39aec4d273cf3e867590 in mainline linux

19 months agodrm/amd/display: Fix potential null-deref in dm_resume
jsg [Mon, 27 Mar 2023 03:43:02 +0000 (03:43 +0000)]
drm/amd/display: Fix potential null-deref in dm_resume

From Roman Li
8e365f1bd672cc9320a936f6ae6f8087aa40e9bc in linux-6.1.y/6.1.16
7a7175a2cd84b7874bebbf8e59f134557a34161b in mainline linux

19 months agodrm/amd/display: Revert Reduce delay when sink device not able to ACK 00340h write
jsg [Mon, 27 Mar 2023 03:41:10 +0000 (03:41 +0000)]
drm/amd/display: Revert Reduce delay when sink device not able to ACK 00340h write

From Ian Chen
223e365ac60aea701f00aefc24adb3cfd67db1d3 in linux-6.1.y/6.1.16
639f6ad6df7f47db48b59956b469a6917a136afb in mainline linux

19 months agodrm/amd/display: Reduce expected sdp bandwidth for dcn321
jsg [Mon, 27 Mar 2023 03:38:14 +0000 (03:38 +0000)]
drm/amd/display: Reduce expected sdp bandwidth for dcn321

From Dillon Varone
8e25eaae471d9d64acc627deaf42e989e5836647 in linux-6.1.y/6.1.16
6b81090d6d4cc0fd818c9ec9dbb6906f921ad396 in mainline linux

19 months agodrm: panel-orientation-quirks: Add quirk for DynaBook K50
jsg [Mon, 27 Mar 2023 03:36:31 +0000 (03:36 +0000)]
drm: panel-orientation-quirks: Add quirk for DynaBook K50

From Allen Ballway
d5b286daecb46292e1e229ff3dcc8a760afef759 in linux-6.1.y/6.1.16
a3caf7ea0c3d5872ed0f2c51f5476aee0c47a73a in mainline linux

19 months agodrm: panel-orientation-quirks: Add quirk for Lenovo Yoga Tab 3 X90F
jsg [Mon, 27 Mar 2023 03:34:57 +0000 (03:34 +0000)]
drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Tab 3 X90F

From Hans de Goede
260bdc633d5e6cad666b72f9eae12f8b2c400096 in linux-6.1.y/6.1.16
8a238d7f7eea7592e0764bc3b9e79e7c6354b04c in mainline linux

19 months agodrm/amd/display: don't call dc_interrupt_set() for disabled crtcs
jsg [Mon, 27 Mar 2023 03:31:40 +0000 (03:31 +0000)]
drm/amd/display: don't call dc_interrupt_set() for disabled crtcs

From Hamza Mahfooz
062024bf77e9a2dddc1da801360565e6ce3f7199 in linux-6.1.y/6.1.16
4936458bf989d168f5a89015dd81067c4c2bdc64 in mainline linux

19 months agofix test: getnameinfo returns a non-zero value on error,
djm [Mon, 27 Mar 2023 03:31:05 +0000 (03:31 +0000)]
fix test: getnameinfo returns a non-zero value on error,
not (neccessarily) -1. From GHPR#384

19 months agodrm/amdgpu: fix enum odm_combine_mode mismatch
jsg [Mon, 27 Mar 2023 03:29:46 +0000 (03:29 +0000)]
drm/amdgpu: fix enum odm_combine_mode mismatch

From Arnd Bergmann
099bd0a7b363a17e6796896838708d957ef78463 in linux-6.1.y/6.1.16
087bad7eb1f6945f8232f132953ecc2bda8bd38d in mainline linux

19 months agodrm/mipi-dsi: Fix byte order of 16-bit DCS set/get brightness
jsg [Mon, 27 Mar 2023 03:27:34 +0000 (03:27 +0000)]
drm/mipi-dsi: Fix byte order of 16-bit DCS set/get brightness

From Daniel Mentz
a64eb25a291904a1736acfd85e5a4e3337f696c2 in linux-6.1.y/6.1.16
c9d27c6be518b4ef2966d9564654ef99292ea1b3 in mainline linux

19 months agoscp: when copying local->remote, check that source file exists before
djm [Mon, 27 Mar 2023 03:25:08 +0000 (03:25 +0000)]
scp: when copying local->remote, check that source file exists before
opening SFTP connection to the server. Based on GHPR#370
ok dtucker, markus

19 months agodrm/amdgpu: Use the sched from entity for amdgpu_cs trace
jsg [Mon, 27 Mar 2023 03:25:04 +0000 (03:25 +0000)]
drm/amdgpu: Use the sched from entity for amdgpu_cs trace

From Leo Liu
208680ccf7bff31fc08735c2a23fd3dd3c19b903 in linux-6.1.y/6.1.16
cf22ef78f22ce4df4757472c5dbd33c430c5b659 in mainline linux

19 months agodrm/fourcc: Add missing big-endian XRGB1555 and RGB565 formats
jsg [Mon, 27 Mar 2023 03:23:26 +0000 (03:23 +0000)]
drm/fourcc: Add missing big-endian XRGB1555 and RGB565 formats

From Geert Uytterhoeven
0de7fc4d9c0142a3e6e5ea28941447132105cb14 in linux-6.1.y/6.1.16
6fb6c979ca628583d4d0c59a0f8ff977e581ecc0 in mainline linux

19 months agodrm: Fix potential null-ptr-deref due to drmm_mode_config_init()
jsg [Mon, 27 Mar 2023 03:21:12 +0000 (03:21 +0000)]
drm: Fix potential null-ptr-deref due to drmm_mode_config_init()

From Shang XiaoJing
b14147464251f66e38fa39f0aae9780466db8610 in linux-6.1.y/6.1.16
834c23e4f798dcdc8af251b3c428ceef94741991 in mainline linux

19 months agoRemove the now almost empty and unused bn_mod_exp2_mont.c
tb [Sun, 26 Mar 2023 22:11:03 +0000 (22:11 +0000)]
Remove the now almost empty and unused bn_mod_exp2_mont.c

19 months agoUnhook bn_mod_exp2_mont test
tb [Sun, 26 Mar 2023 22:10:03 +0000 (22:10 +0000)]
Unhook bn_mod_exp2_mont test

19 months agoFold the small BN_mod_exp2_mont() crash test into bn_mod_exp.c
tb [Sun, 26 Mar 2023 22:09:08 +0000 (22:09 +0000)]
Fold the small BN_mod_exp2_mont() crash test into bn_mod_exp.c

19 months agoAparantly we must configure the RGMII interface (and possible the TX/RX
kettenis [Sun, 26 Mar 2023 21:44:46 +0000 (21:44 +0000)]
Aparantly we must configure the RGMII interface (and possible the TX/RX
delays) before taking the PHY out of reset.  Fixes dwqe(4) on several
boards that use rgephy(4).

ok patrick@

19 months agoTest negative modulus as well.
tb [Sun, 26 Mar 2023 20:13:26 +0000 (20:13 +0000)]
Test negative modulus as well.

Lower the number of rounds. These tests are expensive.

19 months agoAlign bn_mod_exp_zero_test() with bn_mod_exp_test()
tb [Sun, 26 Mar 2023 20:09:14 +0000 (20:09 +0000)]
Align bn_mod_exp_zero_test() with bn_mod_exp_test()

19 months agoFix copy-paste error
tb [Sun, 26 Mar 2023 19:56:28 +0000 (19:56 +0000)]
Fix copy-paste error

19 months agoReplace HASH_BLOCK_DATA_ORDER with sha1_block_data_order.
jsing [Sun, 26 Mar 2023 19:30:45 +0000 (19:30 +0000)]
Replace HASH_BLOCK_DATA_ORDER with sha1_block_data_order.

The only reason to use HASH_BLOCK_DATA_ORDER in the implementation is to
make the code harder to read.