aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott B2022-01-24 09:44:31 -0800
committerScott B2022-01-24 09:48:05 -0800
commit0ab1e6564f7e5877a5e3f70129dd72e67499fe09 (patch)
tree53fb08523ed9456132ce4cd1ece625aa1794d5e1
parente761a8ec281818fb9890cdc517781704e91ef7f5 (diff)
downloadaur-0ab1e6564f7e5877a5e3f70129dd72e67499fe09.tar.gz
patch: drop patches for 5.16.3
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
-rw-r--r--v2-drm-amdgpu-Use-correct-VIEWPORT_DIMENSION-for-DCN2.patch85
3 files changed, 0 insertions, 91 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 74802cb3b276..804045e0a339 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -21,7 +21,6 @@ pkgbase = linux-xanmod-rog
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.tar.sign
source = https://github.com/xanmod/linux/releases/download/5.16.2-xanmod1/patch-5.16.2-xanmod1.xz
source = choose-gcc-optimization.sh
- source = v2-drm-amdgpu-Use-correct-VIEWPORT_DIMENSION-for-DCN2.patch
source = Bluetooth-btintel-Fix-bdaddress-comparison-with-garb.patch
source = acpi-battery-Always-read-fresh-battery-state-on-update.patch
source = cfg80211-dont-WARN-if-a-self-managed-device.patch
@@ -41,7 +40,6 @@ pkgbase = linux-xanmod-rog
sha256sums = SKIP
sha256sums = 761d5f1c5d087b7e06d3bc00eba8dbc25651257037f88a082c9332f2a62bf866
sha256sums = 5b8eddb90671f3e8469a023b7ed0d3c5a9521f662affa1d541063e273b64dba8
- sha256sums = abfc143482bb993f12bc1e8b94b98e419a09641c68e8be7ece29b5a1f0b0f43b
sha256sums = 802e9f8d5c98088946b8ad5629e0732350b4b0fd91c24e12af31935791fcd556
sha256sums = f7a4bf6293912bfc4a20743e58a5a266be8c4dbe3c1862d196d3a3b45f2f7c90
sha256sums = 3d8961438b5c8110588ff0b881d472fc71a4304d306808d78a4055a4150f351e
diff --git a/PKGBUILD b/PKGBUILD
index 2adfd64f9b85..d475519fb9b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -104,9 +104,6 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v${_branch}/linux-${_major}.tar
#"https://cdn.kernel.org/pub/linux/kernel/v5.x/incr/patch-5.16.1-2.xz"
#"Linux-5.16.2.patch"
- # fix graphical corruption during boot
- "v2-drm-amdgpu-Use-correct-VIEWPORT_DIMENSION-for-DCN2.patch"
-
# Arch: misc hotfixes
"Bluetooth-btintel-Fix-bdaddress-comparison-with-garb.patch"
@@ -152,7 +149,6 @@ sha256sums=('027d7e8988bb69ac12ee92406c3be1fe13f990b1ca2249e226225cd1573308bb'
'SKIP'
'761d5f1c5d087b7e06d3bc00eba8dbc25651257037f88a082c9332f2a62bf866'
'5b8eddb90671f3e8469a023b7ed0d3c5a9521f662affa1d541063e273b64dba8'
- 'abfc143482bb993f12bc1e8b94b98e419a09641c68e8be7ece29b5a1f0b0f43b'
'802e9f8d5c98088946b8ad5629e0732350b4b0fd91c24e12af31935791fcd556'
'f7a4bf6293912bfc4a20743e58a5a266be8c4dbe3c1862d196d3a3b45f2f7c90'
'3d8961438b5c8110588ff0b881d472fc71a4304d306808d78a4055a4150f351e'
diff --git a/v2-drm-amdgpu-Use-correct-VIEWPORT_DIMENSION-for-DCN2.patch b/v2-drm-amdgpu-Use-correct-VIEWPORT_DIMENSION-for-DCN2.patch
deleted file mode 100644
index 3f5a86985324..000000000000
--- a/v2-drm-amdgpu-Use-correct-VIEWPORT_DIMENSION-for-DCN2.patch
+++ /dev/null
@@ -1,85 +0,0 @@
-From patchwork Fri Jan 7 16:48:14 2022
-Content-Type: text/plain; charset="utf-8"
-MIME-Version: 1.0
-Content-Transfer-Encoding: 8bit
-Subject: [v2] drm/amdgpu: Use correct VIEWPORT_DIMENSION for DCN2
-From: Harry Wentland <harry.wentland@amd.com>
-X-Patchwork-Id: 468786
-Message-Id: <20220107164814.7161-1-harry.wentland@amd.com>
-To: <amd-gfx@lists.freedesktop.org>
-Cc: Alex Deucher <alexander.deucher@amd.com>, Huang
- Rui <ray.huang@amd.com>, Harry Wentland <harry.wentland@amd.com>,
- =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>,
- stable@vger.kernel.org
-Date: Fri, 7 Jan 2022 11:48:14 -0500
-
-For some reason this file isn't using the appropriate register
-headers for DCN headers, which means that on DCN2 we're getting
-the VIEWPORT_DIMENSION offset wrong.
-
-This means that we're not correctly carving out the framebuffer
-memory correctly for a framebuffer allocated by EFI and
-therefore see corruption when loading amdgpu before the display
-driver takes over control of the framebuffer scanout.
-
-Fix this by checking the DCE_HWIP and picking the correct offset
-accordingly.
-
-Long-term we should expose this info from DC as GMC shouldn't
-need to know about DCN registers.
-
-Cc: stable@vger.kernel.org
-Signed-off-by: Harry Wentland <harry.wentland@amd.com>
-Reviewed-by: Huang Rui <ray.huang@amd.com>
-Acked-by: Christian König <christian.koenig@amd.com>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 14 +++++++++++++-
- 1 file changed, 13 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
-index 57f2729a7bd0..c1a22a8a4c85 100644
---- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
-+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
-@@ -72,6 +72,9 @@
- #define mmDCHUBBUB_SDPIF_MMIO_CNTRL_0 0x049d
- #define mmDCHUBBUB_SDPIF_MMIO_CNTRL_0_BASE_IDX 2
-
-+#define mmHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION_DCN2 0x05ea
-+#define mmHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION_DCN2_BASE_IDX 2
-+
-
- static const char *gfxhub_client_ids[] = {
- "CB",
-@@ -1134,6 +1137,8 @@ static unsigned gmc_v9_0_get_vbios_fb_size(struct amdgpu_device *adev)
- u32 d1vga_control = RREG32_SOC15(DCE, 0, mmD1VGA_CONTROL);
- unsigned size;
-
-+ /* TODO move to DC so GMC doesn't need to hard-code DCN registers */
-+
- if (REG_GET_FIELD(d1vga_control, D1VGA_CONTROL, D1VGA_MODE_ENABLE)) {
- size = AMDGPU_VBIOS_VGA_ALLOCATION;
- } else {
-@@ -1142,7 +1147,6 @@ static unsigned gmc_v9_0_get_vbios_fb_size(struct amdgpu_device *adev)
- switch (adev->ip_versions[DCE_HWIP][0]) {
- case IP_VERSION(1, 0, 0):
- case IP_VERSION(1, 0, 1):
-- case IP_VERSION(2, 1, 0):
- viewport = RREG32_SOC15(DCE, 0, mmHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION);
- size = (REG_GET_FIELD(viewport,
- HUBP0_DCSURF_PRI_VIEWPORT_DIMENSION, PRI_VIEWPORT_HEIGHT) *
-@@ -1150,6 +1154,14 @@ static unsigned gmc_v9_0_get_vbios_fb_size(struct amdgpu_device *adev)
- HUBP0_DCSURF_PRI_VIEWPORT_DIMENSION, PRI_VIEWPORT_WIDTH) *
- 4);
- break;
-+ case IP_VERSION(2, 1, 0):
-+ viewport = RREG32_SOC15(DCE, 0, mmHUBP0_DCSURF_PRI_VIEWPORT_DIMENSION_DCN2);
-+ size = (REG_GET_FIELD(viewport,
-+ HUBP0_DCSURF_PRI_VIEWPORT_DIMENSION, PRI_VIEWPORT_HEIGHT) *
-+ REG_GET_FIELD(viewport,
-+ HUBP0_DCSURF_PRI_VIEWPORT_DIMENSION, PRI_VIEWPORT_WIDTH) *
-+ 4);
-+ break;
- default:
- viewport = RREG32_SOC15(DCE, 0, mmSCL0_VIEWPORT_SIZE);
- size = (REG_GET_FIELD(viewport, SCL0_VIEWPORT_SIZE, VIEWPORT_HEIGHT) *