linux5.7: update to 5.7.8.
This commit is contained in:
parent
a0a5edaafa
commit
2b0f5711ba
5 changed files with 8 additions and 56 deletions
|
@ -1,6 +1,6 @@
|
||||||
#
|
#
|
||||||
# Automatically generated file; DO NOT EDIT.
|
# Automatically generated file; DO NOT EDIT.
|
||||||
# Linux/arm64 5.7.4 Kernel Configuration
|
# Linux/arm64 5.7.8 Kernel Configuration
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -608,6 +608,7 @@ CONFIG_RESET_ATTACK_MITIGATION=y
|
||||||
CONFIG_UEFI_CPER=y
|
CONFIG_UEFI_CPER=y
|
||||||
CONFIG_UEFI_CPER_ARM=y
|
CONFIG_UEFI_CPER_ARM=y
|
||||||
CONFIG_EFI_EARLYCON=y
|
CONFIG_EFI_EARLYCON=y
|
||||||
|
CONFIG_EFI_CUSTOM_SSDT_OVERLAYS=y
|
||||||
# CONFIG_IMX_DSP is not set
|
# CONFIG_IMX_DSP is not set
|
||||||
CONFIG_IMX_SCU=y
|
CONFIG_IMX_SCU=y
|
||||||
# CONFIG_IMX_SCU_PD is not set
|
# CONFIG_IMX_SCU_PD is not set
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#
|
#
|
||||||
# Automatically generated file; DO NOT EDIT.
|
# Automatically generated file; DO NOT EDIT.
|
||||||
# Linux/i386 5.7.4 Kernel Configuration
|
# Linux/i386 5.7.8 Kernel Configuration
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -673,6 +673,7 @@ CONFIG_UEFI_CPER=y
|
||||||
CONFIG_UEFI_CPER_X86=y
|
CONFIG_UEFI_CPER_X86=y
|
||||||
CONFIG_EFI_DEV_PATH_PARSER=y
|
CONFIG_EFI_DEV_PATH_PARSER=y
|
||||||
CONFIG_EFI_EARLYCON=y
|
CONFIG_EFI_EARLYCON=y
|
||||||
|
CONFIG_EFI_CUSTOM_SSDT_OVERLAYS=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Tegra firmware driver
|
# Tegra firmware driver
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#
|
#
|
||||||
# Automatically generated file; DO NOT EDIT.
|
# Automatically generated file; DO NOT EDIT.
|
||||||
# Linux/x86 5.7.4 Kernel Configuration
|
# Linux/x86_64 5.7.8 Kernel Configuration
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -684,6 +684,7 @@ CONFIG_UEFI_CPER=y
|
||||||
CONFIG_UEFI_CPER_X86=y
|
CONFIG_UEFI_CPER_X86=y
|
||||||
CONFIG_EFI_DEV_PATH_PARSER=y
|
CONFIG_EFI_DEV_PATH_PARSER=y
|
||||||
CONFIG_EFI_EARLYCON=y
|
CONFIG_EFI_EARLYCON=y
|
||||||
|
CONFIG_EFI_CUSTOM_SSDT_OVERLAYS=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Tegra firmware driver
|
# Tegra firmware driver
|
||||||
|
|
|
@ -1,51 +0,0 @@
|
||||||
From 6eb3cf2e06d22b2b08e6b0ab48cb9c05a8e1a107 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
|
|
||||||
Date: Mon, 29 Jun 2020 13:03:52 -0400
|
|
||||||
Subject: [PATCH] drm/amd/display: Only revalidate bandwidth on medium and fast
|
|
||||||
updates
|
|
||||||
|
|
||||||
[Why]
|
|
||||||
Changes that are fast don't require updating DLG parameters making
|
|
||||||
this call unnecessary. Considering this is an expensive call it should
|
|
||||||
not be done on every flip.
|
|
||||||
|
|
||||||
DML touches clocks, p-state support, DLG params and a few other DC
|
|
||||||
internal flags and these aren't expected during fast. A hang has been
|
|
||||||
reported with this change when called on every flip which suggests that
|
|
||||||
modifying these fields is not recommended behavior on fast updates.
|
|
||||||
|
|
||||||
[How]
|
|
||||||
Guard the validation to only happen if update type isn't FAST.
|
|
||||||
|
|
||||||
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1191
|
|
||||||
Fixes: a24eaa5c51255b ("drm/amd/display: Revalidate bandwidth before commiting DC updates")
|
|
||||||
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
|
|
||||||
Acked-by: Alex Deucher <alexander.deucher@amd.com>
|
|
||||||
Reviewed-by: Roman Li <Roman.Li@amd.com>
|
|
||||||
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
|
|
||||||
Cc: stable@vger.kernel.org
|
|
||||||
---
|
|
||||||
drivers/gpu/drm/amd/display/dc/core/dc.c | 10 ++++++----
|
|
||||||
1 file changed, 6 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
|
|
||||||
index 6f93a6ca4cf0c..d016f50e187c8 100644
|
|
||||||
--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
|
|
||||||
+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
|
|
||||||
@@ -2538,10 +2538,12 @@ void dc_commit_updates_for_stream(struct dc *dc,
|
|
||||||
|
|
||||||
copy_stream_update_to_stream(dc, context, stream, stream_update);
|
|
||||||
|
|
||||||
- if (!dc->res_pool->funcs->validate_bandwidth(dc, context, false)) {
|
|
||||||
- DC_ERROR("Mode validation failed for stream update!\n");
|
|
||||||
- dc_release_state(context);
|
|
||||||
- return;
|
|
||||||
+ if (update_type > UPDATE_TYPE_FAST) {
|
|
||||||
+ if (!dc->res_pool->funcs->validate_bandwidth(dc, context, false)) {
|
|
||||||
+ DC_ERROR("Mode validation failed for stream update!\n");
|
|
||||||
+ dc_release_state(context);
|
|
||||||
+ return;
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
|
|
||||||
commit_planes_for_stream(
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'linux5.7'
|
# Template file for 'linux5.7'
|
||||||
pkgname=linux5.7
|
pkgname=linux5.7
|
||||||
version=5.7.7
|
version=5.7.8
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="linux-${version}"
|
wrksrc="linux-${version}"
|
||||||
short_desc="Linux kernel and modules (${version%.*} series)"
|
short_desc="Linux kernel and modules (${version%.*} series)"
|
||||||
|
@ -8,7 +8,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="https://www.kernel.org"
|
homepage="https://www.kernel.org"
|
||||||
distfiles="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${version}.tar.xz"
|
distfiles="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${version}.tar.xz"
|
||||||
checksum=f840b9679283343c165516585c3070ebb277528721c890e9410a58e9d071ee7f
|
checksum=afb577b88e400758ea64109937bb514ab8171fe9c5613138928ac232a3844dc6
|
||||||
python_version=3
|
python_version=3
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue