openbsd
16 months agoregen obj_xref.h
tb [Thu, 15 Jun 2023 16:59:54 +0000 (16:59 +0000)]
regen obj_xref.h

(this and the Ed25519 addition to obj_xref.txt were ok jsing)

16 months agoAdd Ed25519 to the obj_xref table.
tb [Thu, 15 Jun 2023 16:58:38 +0000 (16:58 +0000)]
Add Ed25519 to the obj_xref table.

Also move part of for RSA-PSS to the top since it doesn't only apply to
RSA-PSS.

16 months agoSome fixes in ASN1_item_verify()
tb [Thu, 15 Jun 2023 13:58:56 +0000 (13:58 +0000)]
Some fixes in ASN1_item_verify()

Switch to using EVP_DigestVerify(). Move the freeing of in where it
belongs (previously it would leak on EVP_DigestVerifyUpdate() failure),
and use the proper idiom for ASN1_item_i2d() error checking.

ok jsing

16 months agoMake another NULL check explicit and put a brace on the proper line
tb [Thu, 15 Jun 2023 13:48:15 +0000 (13:48 +0000)]
Make another NULL check explicit and put a brace on the proper line

16 months agoRename a few variables and other cosmetics
tb [Thu, 15 Jun 2023 13:44:38 +0000 (13:44 +0000)]
Rename a few variables and other cosmetics

Rename buf_in into in, buf_out into out, use in_len and out_len for their
lengths, drop a couple of silly casts and remove some empty lines.

ok jsing

16 months agoSwitch ASN1_item_sign_ctx() to EVP_DigestSign()
tb [Thu, 15 Jun 2023 13:32:18 +0000 (13:32 +0000)]
Switch ASN1_item_sign_ctx() to EVP_DigestSign()

This makes this function work with Ed25519 and cleans up a handful of
ugly contortions: use EVP_DigestSign() to determine the signature length
instead of using the strange EVP_PKEY_size() and garbage collect the now
useless out_len. Also use calloc().

ok jsing

16 months agoMake NULL checks explicit in ASN1_item_sign_ctx()
tb [Thu, 15 Jun 2023 13:22:25 +0000 (13:22 +0000)]
Make NULL checks explicit in ASN1_item_sign_ctx()

Also move the NULL check for the EVP_MD into the rv == 2 path, which
is the only branch where it is used.

ok jsing

16 months agoASN1_item_sign_ctx()
tb [Thu, 15 Jun 2023 13:07:45 +0000 (13:07 +0000)]
ASN1_item_sign_ctx()

Pull a NULL check for pkey->ameth up to before ameth is first accessed. An
EVP_PKEY created with EVP_PKEY_new() has ameth == NULL, so this check makes
sense, but it does not make sense to do it where it was.

16 months agoFix a logic error in ASN1_item_sign_ctx()
tb [Thu, 15 Jun 2023 12:44:17 +0000 (12:44 +0000)]
Fix a logic error in ASN1_item_sign_ctx()

If the item_sign() ASN.1 method returns 1, it supposedly handles everything
and the goto err prior to r1.5 was actually a success path. Go figure.

This is fortunately inconsequential since there are only two item_sign()
methods, one for RSA and one for Ed25519, neither of which can return 1.
They only return 0, 2, and 3.

Pointed out by and ok jsing

16 months agodrm/amdgpu: reserve the old gc_11_0_*_mes.bin
jsg [Thu, 15 Jun 2023 03:21:13 +0000 (03:21 +0000)]
drm/amdgpu: reserve the old gc_11_0_*_mes.bin

From Li Ma
da9a8dc33da2083d762c9d84ad1f2752a5a503f4 in linux-6.1.y/6.1.30
8855818ce7554fb7420200187fac9c3b69500da0 in mainline linux

16 months agodrm/amd/amdgpu: introduce gc_*_mes_2.bin v2
jsg [Thu, 15 Jun 2023 03:18:49 +0000 (03:18 +0000)]
drm/amd/amdgpu: introduce gc_*_mes_2.bin v2

From Jack Xiao
616843d5a11bdcad5d65e230a2e372b5701108be in linux-6.1.y/6.1.30
97998b893c3000b27a780a4982e16cfc8f4ea555 in mainline linux

16 months agodrm/amdgpu: declare firmware for new MES 11.0.4
jsg [Thu, 15 Jun 2023 03:16:25 +0000 (03:16 +0000)]
drm/amdgpu: declare firmware for new MES 11.0.4

From Li Ma
09bf14907d8643f3a316d519b2df41ace2db0d7d in linux-6.1.y/6.1.30
a462ef872fd1e83ebd075cf82d91f111acaa629e in mainline linux

16 months agodrm/amdgpu/gfx11: update gpu_clock_counter logic
jsg [Thu, 15 Jun 2023 03:14:43 +0000 (03:14 +0000)]
drm/amdgpu/gfx11: update gpu_clock_counter logic

From Alex Deucher
76313a63f7790d321d425b386e57918fed209545 in linux-6.1.y/6.1.30
d5aa417808cf14c052ca042920b3c6b9f1dc6aa4 in mainline linux

16 months agodrm/amdgpu: refine get gpu clock counter method
jsg [Thu, 15 Jun 2023 03:13:11 +0000 (03:13 +0000)]
drm/amdgpu: refine get gpu clock counter method

From Tong Liu01
055852074c968e3649cdcac5d112af17fd39bac8 in linux-6.1.y/6.1.30
5591a051b86be170a84943698ab140342602ff7b in mainline linux

16 months agodrm/amdgpu/gfx11: Adjust gfxoff before powergating on gfx11 as well
jsg [Thu, 15 Jun 2023 03:11:03 +0000 (03:11 +0000)]
drm/amdgpu/gfx11: Adjust gfxoff before powergating on gfx11 as well

From Guilherme G. Piccoli
4e2f9159f9420ff481dc6ae00969d9406aa85e6f in linux-6.1.y/6.1.30
11fbdda2ab6bf049e2869139c07016022b4e045b in mainline linux

16 months agodrm/amdgpu/gfx10: Disable gfxoff before disabling powergating.
jsg [Thu, 15 Jun 2023 03:09:32 +0000 (03:09 +0000)]
drm/amdgpu/gfx10: Disable gfxoff before disabling powergating.

From Bas Nieuwenhuizen
abfe2ffc004a0e6d23573b52826adf3dafdd9e02 in linux-6.1.y/6.1.30
8173cab3368a13cdc3cad0bd5cf14e9399b0f501 in mainline linux

16 months agodrm/amdgpu/gmc11: implement get_vbios_fb_size()
jsg [Thu, 15 Jun 2023 03:06:36 +0000 (03:06 +0000)]
drm/amdgpu/gmc11: implement get_vbios_fb_size()

From Alex Deucher
9de5a985884acff022375a29bd5166bfabbded07 in linux-6.1.y/6.1.30
68518294d00da6a2433357af75a63abc6030676e in mainline linux

16 months agodrm/amd/pm: fix possible power mode mismatch between driver and PMFW
jsg [Thu, 15 Jun 2023 03:05:21 +0000 (03:05 +0000)]
drm/amd/pm: fix possible power mode mismatch between driver and PMFW

From Evan Quan
903e942500c64bf3acc95e65336366a9e777d581 in linux-6.1.y/6.1.30
bf4823267a817f7c155876a125b94336d7113e77 in mainline linux

16 months agodrm/amdgpu: drop gfx_v11_0_cp_ecc_error_irq_funcs
jsg [Thu, 15 Jun 2023 03:03:34 +0000 (03:03 +0000)]
drm/amdgpu: drop gfx_v11_0_cp_ecc_error_irq_funcs

From Horatio Zhang
7b5a8a23acbc3ee50b23602b61db1563561faf84 in linux-6.1.y/6.1.30
720b47229a5b24061d1c2e29ddb6043a59178d79 in mainline linux

16 months agodrm/amdgpu: Fix sdma v4 sw fini error
jsg [Thu, 15 Jun 2023 03:02:04 +0000 (03:02 +0000)]
drm/amdgpu: Fix sdma v4 sw fini error

From lyndonli
210ef6cd8e634f18fd889421012192b81325b27b in linux-6.1.y/6.1.30
5e08e9c742a00384e5abe74bd40cf4dc15cb3a2e in mainline linux

16 months agodrm/amd: Fix an out of bounds error in BIOS parser
jsg [Thu, 15 Jun 2023 03:00:16 +0000 (03:00 +0000)]
drm/amd: Fix an out of bounds error in BIOS parser

From Mario Limonciello
5675ecd2e0b00a4318ba1db1a1234e7d45b13d6b in linux-6.1.y/6.1.30
d116db180decec1b21bba31d2ff495ac4d8e1b83 in mainline linux

16 months agodrm/amd/display: Correct DML calculation to follow HW SPEC
jsg [Thu, 15 Jun 2023 02:58:49 +0000 (02:58 +0000)]
drm/amd/display: Correct DML calculation to follow HW SPEC

From Paul Hsieh
ec5f00a59aade7e2575fed8b703e2281da444c56 in linux-6.1.y/6.1.30
385c3e4c29e1d4ce8f68687a8c84621e4c0e0416 in mainline linux

16 months agodrm/amd/display: fixed dcn30+ underflow issue
jsg [Thu, 15 Jun 2023 02:56:43 +0000 (02:56 +0000)]
drm/amd/display: fixed dcn30+ underflow issue

From Ayush Gupta
3dc61a19c924632b0bc8ec83593e072739b70645 in linux-6.1.y/6.1.30
37403ced9f2873fab7f39ab4ac963bbb33fb0bc0 in mainline linux

16 months agodrm/amd/display: Use DC_LOG_DC in the trasform pixel function
jsg [Thu, 15 Jun 2023 02:54:54 +0000 (02:54 +0000)]
drm/amd/display: Use DC_LOG_DC in the trasform pixel function

From Rodrigo Siqueira
34813f041d0e627905f47ccadc94a7fc566104d0 in linux-6.1.y/6.1.30
7222f5841ff49709ca666b05ff336776e0664a20 in mainline linux

16 months agodrm/amd/display: Enable HostVM based on rIOMMU active
jsg [Thu, 15 Jun 2023 02:53:11 +0000 (02:53 +0000)]
drm/amd/display: Enable HostVM based on rIOMMU active

From Gabe Teeger
d547d499e451f1e38ad22450602122e0e73f8540 in linux-6.1.y/6.1.30
97fa4dfa66fdd52ad3d0c9fadeaaa1e87605bac7 in mainline linux

16 months agodrm/amd/display: Correct DML calculation to align HW formula
jsg [Thu, 15 Jun 2023 02:51:42 +0000 (02:51 +0000)]
drm/amd/display: Correct DML calculation to align HW formula

From Paul Hsieh
09f7da1301cf7390466847781ef06b0d0c61db4e in linux-6.1.y/6.1.30
26a9f53198c955b15161da48cdb51041a38d5325 in mainline linux

16 months agodrm/amd/display: populate subvp cmd info only for the top pipe
jsg [Thu, 15 Jun 2023 02:49:59 +0000 (02:49 +0000)]
drm/amd/display: populate subvp cmd info only for the top pipe

From Ayush Gupta
92e6c79acad4b96efeff261d27bdbd8089a7dd24 in linux-6.1.y/6.1.30
9bb10b7aaec3b6278f9cc410c17dcaa129bbbbf0 in mainline linux

16 months agodrm/displayid: add displayid_get_header() and check bounds better
jsg [Thu, 15 Jun 2023 02:48:26 +0000 (02:48 +0000)]
drm/displayid: add displayid_get_header() and check bounds better

From Jani Nikula
4b17053ba268bf952c19ecb58d66d5d72e782d13 in linux-6.1.y/6.1.30
5bacecc3c56131c31f18b23d366f2184328fd9cf in mainline linux

16 months agodrm/i915: taint kernel when force probing unsupported devices
jsg [Thu, 15 Jun 2023 02:46:22 +0000 (02:46 +0000)]
drm/i915: taint kernel when force probing unsupported devices

From Jani Nikula
dcd289136bccf2bdd519ee1eb355ed71c73cbe75 in linux-6.1.y/6.1.30
79c901c93562bdf1c84ce6c1b744fbbe4389a6eb in mainline linux

16 months agodrm/i915: Expand force_probe to block probe of devices as well.
jsg [Thu, 15 Jun 2023 02:44:18 +0000 (02:44 +0000)]
drm/i915: Expand force_probe to block probe of devices as well.

From Rodrigo Vivi
36fa6187753a9b52f2bbf2f3ba628f6bad314510 in linux-6.1.y/6.1.30
157821fb3e9aaa07cf408686b08d117bf27b7de1 in mainline linux

16 months agodrm/i915/dp: prevent potential div-by-zero
jsg [Thu, 15 Jun 2023 02:41:45 +0000 (02:41 +0000)]
drm/i915/dp: prevent potential div-by-zero

From Nikita Zhandarovich
86d73b1f98a81f3ecfc19dfe6f8d50daf5707330 in linux-6.1.y/6.1.30
0ff80028e2702c7c3d78b69705dc47c1ccba8c39 in mainline linux

16 months agodrm/i915: Fix NULL ptr deref by checking new_crtc_state
jsg [Thu, 15 Jun 2023 02:39:37 +0000 (02:39 +0000)]
drm/i915: Fix NULL ptr deref by checking new_crtc_state

From Stanislav Lisovskiy
dbf25cc21beff4fd2e730573845a266504b21bb2 in linux-6.1.y/6.1.30
a41d985902c153c31c616fe183cf2ee331e95ecb in mainline linux

16 months agodrm/i915/guc: Don't capture Gen8 regs on Xe devices
jsg [Thu, 15 Jun 2023 02:38:03 +0000 (02:38 +0000)]
drm/i915/guc: Don't capture Gen8 regs on Xe devices

From John Harrison
1b485f39acf31e71bf30f32a0642310c1661743c in linux-6.1.y/6.1.30
275dac1f7f5e9c2a2e806b34d3b10804eec0ac3c in mainline linux

16 months agodrm/mipi-dsi: Set the fwnode for mipi_dsi_device
jsg [Thu, 15 Jun 2023 02:35:34 +0000 (02:35 +0000)]
drm/mipi-dsi: Set the fwnode for mipi_dsi_device

From Saravana Kannan
3ff962242f5b69176d859c03948fe20cf234d2c3 in linux-6.1.y/6.1.30
a26cc2934331b57b5a7164bff344f0a2ec245fc0 in mainline linux

16 months agodrm/fbdev-generic: prohibit potential out-of-bounds access
jsg [Thu, 15 Jun 2023 02:33:23 +0000 (02:33 +0000)]
drm/fbdev-generic: prohibit potential out-of-bounds access

From Sui Jingfeng
efd2821b8abeccb6b51423002e2a62921481a26e in linux-6.1.y/6.1.30
c8687694bb1f5c48134f152f8c5c2e53483eb99d in mainline linux

16 months agoAdd missing kernel lock around (*if_ioctl)().
mvs [Wed, 14 Jun 2023 14:30:08 +0000 (14:30 +0000)]
Add missing kernel lock around (*if_ioctl)().

ok bluhm

16 months agoReplace the last few print_host() calls with print_addr() ones.
claudio [Wed, 14 Jun 2023 14:09:29 +0000 (14:09 +0000)]
Replace the last few print_host() calls with print_addr() ones.

In most cases print_host(addr, buf, buflen) can be replaced with
strlcpy(buf, print_addr(addr), buflen).
Some code was never fully adjusted to the full power of print_host() and
there are remnants of times well before print_host() supported multiple
internal buffers.
With and OK tb@

16 months agoGC remnants of pipe support, long gone.
espie [Wed, 14 Jun 2023 09:59:09 +0000 (09:59 +0000)]
GC remnants of pipe support, long gone.
Display an error message for non found packages, in addition to setting
the exit code.

16 months agofix test after method name change
espie [Wed, 14 Jun 2023 07:52:37 +0000 (07:52 +0000)]
fix test after method name change

16 months agoAdd KUTaisi, Georgia (ქუთაისის საერთაშორისო აეროპორტი)
kn [Wed, 14 Jun 2023 01:16:08 +0000 (01:16 +0000)]
Add KUTaisi, Georgia (ქუთაისის საერთაშორისო აეროპორტი)

Small yet busy, well working and maintained in the georgeous Imereti region.
Lots of cheap european flights, i.e. a great opportunity to visit Georgia!

16 months agoMove comment about ASN1_item_dup() where it belongs
tb [Tue, 13 Jun 2023 23:31:53 +0000 (23:31 +0000)]
Move comment about ASN1_item_dup() where it belongs

Reword it in such a way that it stands on its own and doesn't refer
to a non-existent model above. Also tweak grammar and fix typos.

16 months agoRemove debug info inadvertantly left in the last commit.
millert [Tue, 13 Jun 2023 21:10:41 +0000 (21:10 +0000)]
Remove debug info inadvertantly left in the last commit.

16 months agoFix a typo with TSO logic in ip6_output(). Of course compare ph_mss
bluhm [Tue, 13 Jun 2023 19:34:12 +0000 (19:34 +0000)]
Fix a typo with TSO logic in ip6_output().  Of course compare ph_mss
with if_mtu and not the packet checksum flags.  ph_mss contains the
size of the copped packets.
OK jan@

16 months agoUpstream fixes for @yearly, @monthly, @weekly, @daily and @hourly.
millert [Tue, 13 Jun 2023 15:36:21 +0000 (15:36 +0000)]
Upstream fixes for @yearly, @monthly, @weekly, @daily and @hourly.
The bit_nset() macro was being called with the high value one too
large for the special strings.  There is no security impact due to
the layout of the bit strings but this was somewhat lucky.  This
introduces a set_range() function that performs range checks before
calling bit_nset().

16 months agoiked: introduce and use print_addr()
tb [Tue, 13 Jun 2023 12:34:12 +0000 (12:34 +0000)]
iked: introduce and use print_addr()

The vast majority of print_host() callers cast the first argument
(usually a sockaddr_storage *) to (struct sockaddr *) and pass both
a NULL buffer and 0 length. Cast and useless arguments lead to
awkward line wrapping in many places. Clean this up by introducing a
helper. Make this helper take a void pointer, so all casts go away.

ok claudio kn tobhe

16 months agoLink http regress test with -lz for content-encoding gzip support.
claudio [Tue, 13 Jun 2023 11:41:36 +0000 (11:41 +0000)]
Link http regress test with -lz for content-encoding gzip support.
Noticed by anton@

16 months agoSome KNF nits
tb [Tue, 13 Jun 2023 10:39:46 +0000 (10:39 +0000)]
Some KNF nits

16 months agoimsg test: simplify Makefile
tb [Tue, 13 Jun 2023 10:38:45 +0000 (10:38 +0000)]
imsg test: simplify Makefile

16 months agoDisallow aliasing of return value and modulus
tb [Tue, 13 Jun 2023 09:28:13 +0000 (09:28 +0000)]
Disallow aliasing of return value and modulus

All the functions changed in this commit would silently misbehave if the
return value aliases the modulus, most of the time they would succeed and
return an incorrect result of 0 in that situation. This adjusts all the
functions in BN_mod.c, others and documentation will follow later.

Prompted by a bug report about BN_mod_inverse() by Guido Vranken.

ok jsing

16 months agoAdd a BN_R_INVALID_ARGUMENT error code
tb [Tue, 13 Jun 2023 09:12:22 +0000 (09:12 +0000)]
Add a BN_R_INVALID_ARGUMENT error code

One problem with OpenSSL error codes is that they tend to be too specific
(another problem is that they are extremely ugly). So add an EINVAL-style
error code. This will be used in an upcoming commit to disallow aliasing
of the 'return value' with the modulus in BN_mod_* functions and should
be applicable elsewhere, outside of this one narrow use case.

ok jsing

16 months agomove to use v5.36;
espie [Tue, 13 Jun 2023 09:07:16 +0000 (09:07 +0000)]
move to use v5.36;
tested by me over the last few weeks, and tb@
also fixed a "manual install" bug properly reported by tb@

aside that there should be *no functional change*.
If you see any message like "hey, the number of params is wrong"
it is a fringe case I didn't run into and should be easy to fix.

16 months agoFix FILE leak in error path.
claudio [Tue, 13 Jun 2023 08:45:41 +0000 (08:45 +0000)]
Fix FILE leak in error path.

If flowf is NULL then fclose(spif) must be called.
Split up the error check from if (spif == NULL || flowf == NULL) to
individual checks since that is easier to read.

Noticed by markus@, OK tb@

16 months agoAll hooked up regress directories must at least support make obj and clean in
anton [Tue, 13 Jun 2023 04:59:10 +0000 (04:59 +0000)]
All hooked up regress directories must at least support make obj and clean in
order to not break the tree. Therefore make use of bsd.regress.mk.

16 months agodrm/amd/display: Fix hang when skipping modeset
jsg [Tue, 13 Jun 2023 04:11:37 +0000 (04:11 +0000)]
drm/amd/display: Fix hang when skipping modeset

From Aurabindo Pillai
49f63bd0625a790025a086e8856ee8e5b9042412 in linux-6.1.y/6.1.29
da5e14909776edea4462672fb4a3007802d262e7 in mainline linux

16 months agodrm/dsc: fix DP_DSC_MAX_BPP_DELTA_* macro values
jsg [Tue, 13 Jun 2023 04:09:51 +0000 (04:09 +0000)]
drm/dsc: fix DP_DSC_MAX_BPP_DELTA_* macro values

From Jani Nikula
18ecffd03626ba57c4c899e0b7953479b463372d in linux-6.1.y/6.1.29
0d68683838f2850dd8ff31f1121e05bfb7a2def0 in mainline linux

16 months agodrm/dsc: fix drm_edp_dsc_sink_output_bpp() DPCD high byte usage
jsg [Tue, 13 Jun 2023 04:07:55 +0000 (04:07 +0000)]
drm/dsc: fix drm_edp_dsc_sink_output_bpp() DPCD high byte usage

From Jani Nikula
98643c9910575bd3a63ac8c587565cc7f3fc329b in linux-6.1.y/6.1.29
13525645e2246ebc8a21bd656248d86022a6ee8f in mainline linux

16 months agodrm: Add missing DP DSC extended capability definitions.
jsg [Tue, 13 Jun 2023 04:05:47 +0000 (04:05 +0000)]
drm: Add missing DP DSC extended capability definitions.

From Stanislav Lisovskiy
f95a60099dfd8e728ecc700a714c8cd5ae1c923b in linux-6.1.y/6.1.29
1482ec00be4a3634aeffbcc799791a723df69339 in mainline linux

16 months agodrm/amd/display: Change default Z8 watermark values
jsg [Tue, 13 Jun 2023 04:03:17 +0000 (04:03 +0000)]
drm/amd/display: Change default Z8 watermark values

From Leo Chen
3db734e4d95a70ba45f06053221e710cc26b5eb2 in linux-6.1.y/6.1.29
8f586cc16c1fc3c2202c9d54563db8c7ed365f82 in mainline linux

16 months agodrm/amd/display: Update Z8 SR exit/enter latencies
jsg [Tue, 13 Jun 2023 04:00:50 +0000 (04:00 +0000)]
drm/amd/display: Update Z8 SR exit/enter latencies

From Nicholas Kazlauskas
a009acf687177ec88ce7cd5eedde7ad069b39cc5 in linux-6.1.y/6.1.29
9b0f51e8449f6f76170fda6a8dd9c417a43ce270 in mainline linux

16 months agodrm/amd/display: Update Z8 watermarks for DCN314
jsg [Tue, 13 Jun 2023 03:59:16 +0000 (03:59 +0000)]
drm/amd/display: Update Z8 watermarks for DCN314

From Nicholas Kazlauskas
e22ef1561085fcd2c13ac2e501f31ebfa7a8e8cd in linux-6.1.y/6.1.29
fa24e116f1ce3dcc55474f0b6ab0cac4e3ee34e1 in mainline linux

16 months agodrm/amd/display: Lowering min Z8 residency time
jsg [Tue, 13 Jun 2023 03:57:27 +0000 (03:57 +0000)]
drm/amd/display: Lowering min Z8 residency time

From Leo Chen
1d383f9d6527d92b65d2e48afa6200370fc06380 in linux-6.1.y/6.1.29
d893f39320e1248d1c97fde0d6e51e5ea008a76b in mainline linux

16 months agodrm/amd/display: Update minimum stutter residency for DCN314 Z8
jsg [Tue, 13 Jun 2023 03:55:48 +0000 (03:55 +0000)]
drm/amd/display: Update minimum stutter residency for DCN314 Z8

From Nicholas Kazlauskas
e6332695d48434582f1d8e02350a45c8a390dc13 in linux-6.1.y/6.1.29
0215ce9057edf69aff9c1a32f4254e1ec297db31 in mainline linux

16 months agodrm/amd/display: Add minimum Z8 residency debug option
jsg [Tue, 13 Jun 2023 03:54:06 +0000 (03:54 +0000)]
drm/amd/display: Add minimum Z8 residency debug option

From Nicholas Kazlauskas
25f603624246062fd473812e6ebda98e3c387017 in linux-6.1.y/6.1.29
0db13eae41fcc67f408dbb3dfda59633c4fa03fb in mainline linux

16 months agodrm/amd/display: Fix Z8 support configurations
jsg [Tue, 13 Jun 2023 03:51:56 +0000 (03:51 +0000)]
drm/amd/display: Fix Z8 support configurations

From Nicholas Kazlauskas
97b3d8eed09785212900e9ccdc9ff1e0a86fef15 in linux-6.1.y/6.1.29
73dd4ca4b5a01235607231839bd351bbef75a1d2 in mainline linux

16 months agodrm/amd/display: Add debug option to skip PSR CRTC disable
jsg [Tue, 13 Jun 2023 03:50:21 +0000 (03:50 +0000)]
drm/amd/display: Add debug option to skip PSR CRTC disable

From Nicholas Kazlauskas
18225134088453e386b7aade107b3026d7aca76d in linux-6.1.y/6.1.29
00812bfc7bcb02faf127ee05f6ac27a5581eb701 in mainline linux

16 months agodrm/amd/display: Add Z8 allow states to z-state support list
jsg [Tue, 13 Jun 2023 03:48:04 +0000 (03:48 +0000)]
drm/amd/display: Add Z8 allow states to z-state support list

From Nicholas Kazlauskas
bcde2c8779932e21c42cf1797bef92651e9aa567 in linux-6.1.y/6.1.29
80676936805e46c79c38008e5142a77a1b2f2dc7 in mainline linux

16 months agodrm/amd/display: Refactor eDP PSR codes
jsg [Tue, 13 Jun 2023 03:46:07 +0000 (03:46 +0000)]
drm/amd/display: Refactor eDP PSR codes

From Ian Chen
83468820168a470a489e6ad6f7759d19687d1623 in linux-6.1.y/6.1.29
bd829d5707730072fecc3267016a675a4789905b in mainline linux

16 months agodrm/i915: Check pipe source size when using skl+ scalers
jsg [Tue, 13 Jun 2023 03:43:25 +0000 (03:43 +0000)]
drm/i915: Check pipe source size when using skl+ scalers

From Ville Syrjala
74a03d3c8d895a7d137bb4be8e40cae886f5d973 in linux-6.1.y/6.1.29
d944eafed618a8507270b324ad9d5405bb7f0b3e in mainline linux

16 months agodrm/i915/mtl: update scaler source and destination limits for MTL
jsg [Tue, 13 Jun 2023 03:41:25 +0000 (03:41 +0000)]
drm/i915/mtl: update scaler source and destination limits for MTL

From Animesh Manna
549ce5199d991eba81c477d5d05e988e2688abf7 in linux-6.1.y/6.1.29
f840834a8b60ffd305f03a53007605ba4dfbbc4b in mainline linux

16 months agodrm/amd: Use `amdgpu_ucode_*` helpers for MES
jsg [Tue, 13 Jun 2023 03:39:16 +0000 (03:39 +0000)]
drm/amd: Use `amdgpu_ucode_*` helpers for MES

From Mario Limonciello
7a0731130425562eac33c50697d3d25be283ef1f in linux-6.1.y/6.1.29
11e0b0067ec0707e8e598a5f9a547ab618ae7982 in mainline linux

16 months agodrm/amd: Add a new helper for loading/validating microcode
jsg [Tue, 13 Jun 2023 03:37:20 +0000 (03:37 +0000)]
drm/amd: Add a new helper for loading/validating microcode

From Mario Limonciello
a3e3a640d4fd9d7d40c1737e2b4373b7f4470eab in linux-6.1.y/6.1.29
2210af50ae7f4104269dfde7bafbbfbacdbe1a2b in mainline linux

16 months agodrm/amd: Load MES microcode during early_init
jsg [Tue, 13 Jun 2023 03:34:36 +0000 (03:34 +0000)]
drm/amd: Load MES microcode during early_init

From Mario Limonciello
3e1fa150e79897cc00db8348de267abf4c6c35be in linux-6.1.y/6.1.29
cc42e76e7de5190a7da5dac9d7b2bbb458e050bf in mainline linux

16 months agodrm/amdgpu: remove deprecated MES version vars
jsg [Tue, 13 Jun 2023 03:31:23 +0000 (03:31 +0000)]
drm/amdgpu: remove deprecated MES version vars

From Graham Sider
369b891842228e18821e17ce5dbafc99d37d8a5d in linux-6.1.y/6.1.29
6040517e4a29d3828160c571681eec9ffe10043f in mainline linux

16 months agodrm/amd/pm: avoid potential UBSAN issue on legacy asics
jsg [Tue, 13 Jun 2023 03:29:00 +0000 (03:29 +0000)]
drm/amd/pm: avoid potential UBSAN issue on legacy asics

From Guchun Chen
506da05a5e0fa46e048606581dd8bf3fe0161ab2 in linux-6.1.y/6.1.29
5247f05eadf1081a74b2233f291cee2efed25e3a in mainline linux

16 months agodrm/amdgpu: disable sdma ecc irq only when sdma RAS is enabled in suspend
jsg [Tue, 13 Jun 2023 03:27:33 +0000 (03:27 +0000)]
drm/amdgpu: disable sdma ecc irq only when sdma RAS is enabled in suspend

From Guchun Chen
2a179117a3b29e7136e4045c57090a05bb97f373 in linux-6.1.y/6.1.29
8b229ada2669b74fdae06c83fbfda5a5a99fc253 in mainline linux

16 months agodrm/amd/pm: parse pp_handle under appropriate conditions
jsg [Tue, 13 Jun 2023 03:26:00 +0000 (03:26 +0000)]
drm/amd/pm: parse pp_handle under appropriate conditions

From Guchun Chen
17a69415679c6e0b55b390e86d59de82d7e53b9e in linux-6.1.y/6.1.29
58d9b9a14b47c2a3da6effcbb01607ad7edc0275 in mainline linux

16 months agodrm/amd/display: Enforce 60us prefetch for 200Mhz DCFCLK modes
jsg [Tue, 13 Jun 2023 03:23:52 +0000 (03:23 +0000)]
drm/amd/display: Enforce 60us prefetch for 200Mhz DCFCLK modes

From Alvin Lee
348dcdf102a44ab5b389c4cd932bc1a61e210f6d in linux-6.1.y/6.1.29
b504f99ccaa64da364443431e388ecf30b604e38 in mainline linux

16 months agodrm/amdgpu: Fix vram recover doesn't work after whole GPU reset (v2)
jsg [Tue, 13 Jun 2023 03:21:05 +0000 (03:21 +0000)]
drm/amdgpu: Fix vram recover doesn't work after whole GPU reset (v2)

From Lin.Cao
7a8248317b322d3cb56c64332062bae91460978a in linux-6.1.y/6.1.29
6c032c37ac3ef3b7df30937c785ecc4da428edc0 in mainline linux

16 months agodrm/amdgpu: change gfx 11.0.4 external_id range
jsg [Tue, 13 Jun 2023 03:18:50 +0000 (03:18 +0000)]
drm/amdgpu: change gfx 11.0.4 external_id range

From Yifan Zhang
6197fb331a6e274355bbcd04386a2631e8cf7f1c in linux-6.1.y/6.1.29
996e93a3fe74dcf9d467ae3020aea42cc3ff65e3 in mainline linux

16 months agodrm/amdgpu/jpeg: Remove harvest checking for JPEG3
jsg [Tue, 13 Jun 2023 03:17:09 +0000 (03:17 +0000)]
drm/amdgpu/jpeg: Remove harvest checking for JPEG3

From Saleemkhan Jamadar
28c2e072fa1382e7e4da51ff7795fb5b5774f5a7 in linux-6.1.y/6.1.29
5b94db73e45e2e6c2840f39c022fd71dfa47fc58 in mainline linux

16 months agodrm/amdgpu/gfx: disable gfx9 cp_ecc_error_irq only when enabling legacy gfx ras
jsg [Tue, 13 Jun 2023 03:15:33 +0000 (03:15 +0000)]
drm/amdgpu/gfx: disable gfx9 cp_ecc_error_irq only when enabling legacy gfx ras

From Guchun Chen
f661ad53658a1ea35c004af1f5fbe25c4d1cdb08 in linux-6.1.y/6.1.29
4a76680311330aefe5074bed8f06afa354b85c48 in mainline linux

16 months agodrm/amdgpu: fix amdgpu_irq_put call trace in gmc_v11_0_hw_fini
jsg [Tue, 13 Jun 2023 03:13:20 +0000 (03:13 +0000)]
drm/amdgpu: fix amdgpu_irq_put call trace in gmc_v11_0_hw_fini

From Horatio Zhang
02e6cb9b3aeffc6b0e3955f6e0346293e2415cbc in linux-6.1.y/6.1.29
13af556104fa93b1945c70bbf8a0a62cd2c92879 in mainline linux

16 months agodrm/amdgpu: fix an amdgpu_irq_put() issue in gmc_v9_0_hw_fini()
jsg [Tue, 13 Jun 2023 03:11:26 +0000 (03:11 +0000)]
drm/amdgpu: fix an amdgpu_irq_put() issue in gmc_v9_0_hw_fini()

From Hamza Mahfooz
59cb2d46e177894c3554a25a3358b72d4bee31d3 in linux-6.1.y/6.1.29
922a76ba31adf84e72bc947267385be420c689ee in mainline linux

16 months agodrm/amdgpu: fix amdgpu_irq_put call trace in gmc_v10_0_hw_fini
jsg [Tue, 13 Jun 2023 03:09:53 +0000 (03:09 +0000)]
drm/amdgpu: fix amdgpu_irq_put call trace in gmc_v10_0_hw_fini

From Horatio Zhang
59e2439111ac2bd24ea0cecf5825cf06684b2c6c in linux-6.1.y/6.1.29
08c677cb0b436a96a836792bb35a8ec5de4999c2 in mainline linux

16 months agodrm/amd/display: fix flickering caused by S/G mode
jsg [Tue, 13 Jun 2023 03:07:52 +0000 (03:07 +0000)]
drm/amd/display: fix flickering caused by S/G mode

From Hamza Mahfooz
f2e43c98042c607376479484ea8f98d3452868f5 in linux-6.1.y/6.1.29
08da182175db4c7f80850354849d95f2670e8cd9 in mainline linux

16 months agodrm/amd/display: filter out invalid bits in pipe_fuses
jsg [Tue, 13 Jun 2023 03:05:48 +0000 (03:05 +0000)]
drm/amd/display: filter out invalid bits in pipe_fuses

From Samson Tam
4c1e747ca61c6103bcc259ad7f2fc6d53acff291 in linux-6.1.y/6.1.29
682439fffad9fa9a38d37dd1b1318e9374232213 in mainline linux

16 months agodrm/amd/display: Fix 4to1 MPC black screen with DPP RCO
jsg [Tue, 13 Jun 2023 03:04:00 +0000 (03:04 +0000)]
drm/amd/display: Fix 4to1 MPC black screen with DPP RCO

From Nicholas Kazlauskas
c2b2641ecb9aed1613976a2abf56292e206e3694 in linux-6.1.y/6.1.29
bf224e00a9f54e2bf14b4d720a09c3d2f4aa4aa8 in mainline linux

16 months agodrm/amd/display: Add NULL plane_state check for cursor disable logic
jsg [Tue, 13 Jun 2023 03:01:44 +0000 (03:01 +0000)]
drm/amd/display: Add NULL plane_state check for cursor disable logic

From Nicholas Kazlauskas
cc9942840afaa3cbbb90dd41404d15125ae5d192 in linux-6.1.y/6.1.29
d29fb7baab09b6a1dc484c9c67933253883e770a in mainline linux

16 months agodrm/i915/dsi: Use unconditional msleep() instead of intel_dsi_msleep()
jsg [Tue, 13 Jun 2023 02:59:36 +0000 (02:59 +0000)]
drm/i915/dsi: Use unconditional msleep() instead of intel_dsi_msleep()

From Hans de Goede
aa0f98c5d1962b4dedec00067fc1b28a6d4f7d65 in linux-6.1.y/6.1.29
c8c2969bfcba5fcba3a5b078315c1b586d927d9f in mainline linux

16 months agodrm/i915/color: Fix typo for Plane CSC indexes
jsg [Tue, 13 Jun 2023 02:56:18 +0000 (02:56 +0000)]
drm/i915/color: Fix typo for Plane CSC indexes

From Chaitanya Kumar Borah
5b6b81decdf08b5171c3872e45e9e3772a274032 in linux-6.1.y/6.1.29
2efc8e1001acfdc143cf2d25a08a4974c322e2a8 in mainline linux

16 months agodrm/amdgpu: add a missing lock for AMDGPU_SCHED
jsg [Tue, 13 Jun 2023 02:54:09 +0000 (02:54 +0000)]
drm/amdgpu: add a missing lock for AMDGPU_SCHED

From Chia-I Wu
7887397338a55a2439ba8db6d9a93cbe4094d912 in linux-6.1.y/6.1.29
2397e3d8d2e120355201a8310b61929f5a8bd2c0 in mainline linux

16 months agodrm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info
jsg [Tue, 13 Jun 2023 02:52:19 +0000 (02:52 +0000)]
drm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info

From Radhakrishna Sripada
4b08cdd239e7d15f11d2be07e59c3af478f61b11 in linux-6.1.y/6.1.29
6ece90e3665a9b7fb2637fcca26cebd42991580b in mainline linux

16 months agodrm/amd/display: Update bounding box values for DCN321
jsg [Tue, 13 Jun 2023 02:50:05 +0000 (02:50 +0000)]
drm/amd/display: Update bounding box values for DCN321

From Aurabindo Pillai
80a791a19902edc7c0fc7f8d2f3d411531e6a4ca in linux-6.1.y/6.1.29
989cd3e76a4aab76fe7dd50090ac3fa501c537f6 in mainline linux

16 months agodrm/amd/display: Do not clear GPINT register when releasing DMUB from reset
jsg [Tue, 13 Jun 2023 02:48:26 +0000 (02:48 +0000)]
drm/amd/display: Do not clear GPINT register when releasing DMUB from reset

From Aurabindo Pillai
7bba2e5e096e005f9ea5dba85a224caf9e80909f in linux-6.1.y/6.1.29
99d92eaca5d915763b240aae24669f5bf3227ecf in mainline linux

16 months agodrm/amd/display: Reset OUTBOX0 r/w pointer on DMUB reset
jsg [Tue, 13 Jun 2023 02:46:50 +0000 (02:46 +0000)]
drm/amd/display: Reset OUTBOX0 r/w pointer on DMUB reset

From Cruise Hung
ccb0ad946adc43d9b146323228a365aa7400fd42 in linux-6.1.y/6.1.29
425afa0ac99a05b39e6cd00704fa0e3e925cee2b in mainline linux

16 months agodrm/amd/display: Fixes for dcn32_clk_mgr implementation
jsg [Tue, 13 Jun 2023 02:45:05 +0000 (02:45 +0000)]
drm/amd/display: Fixes for dcn32_clk_mgr implementation

From Aurabindo Pillai
bb13726625e7d6220744fac823baec4ce9e7f563 in linux-6.1.y/6.1.29
d1c5c3e252b8a911a524e6ee33b82aca81397745 in mainline linux

16 months agoregen
jcs [Tue, 13 Jun 2023 02:44:08 +0000 (02:44 +0000)]
regen

16 months agoadd SanDisk PC SN740
jcs [Tue, 13 Jun 2023 02:43:39 +0000 (02:43 +0000)]
add SanDisk PC SN740

16 months agodrm/amd/display: Return error code on DSC atomic check failure
jsg [Tue, 13 Jun 2023 02:42:49 +0000 (02:42 +0000)]
drm/amd/display: Return error code on DSC atomic check failure

From Hersen Wu
b7ae53dd0d290b27fd4e0bdeff5849ecb3d588a3 in linux-6.1.y/6.1.29
dd24662d9dfbad281bbf030f06d68c7938fa0c66 in mainline linux

16 months agodrm/amd/display: Add missing WA and MCLK validation
jsg [Tue, 13 Jun 2023 02:40:37 +0000 (02:40 +0000)]
drm/amd/display: Add missing WA and MCLK validation

From Rodrigo Siqueira
374f7fa01ae56bc000dc1d54e80a8f4e7f606028 in linux-6.1.y/6.1.29
822b84ecfc646da0f87fd947fa00dc3be5e45ecc in mainline linux