-
Notifications
You must be signed in to change notification settings - Fork 0
/
5.patch
31 lines (28 loc) · 1.25 KB
/
5.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 26fbfcce18971b5b5f03242dc4486bd0b923942a Mon Sep 17 00:00:00 2001
From: Ps3ita Team <[email protected]>
Date: Sat, 30 May 2020 12:04:24 +0200
Subject: [PATCH] Missing break;
---
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
index ad1ed22574d999..4d6436cb7a08cf 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
@@ -2249,6 +2249,7 @@ gfx_v7_0_raster_config(struct amdgpu_device *adev, u32 *rconf, u32 *rconf1)
PKR_YSEL(1) | SE_MAP(2) | SE_XSEL(2) |
SE_YSEL(2);
*rconf1 |= 0x0;
+ break;
case CHIP_GLADIUS:
*rconf |= 0x2a00161a;
*rconf1 |= 0x0000002e;
@@ -5018,7 +5019,7 @@ static void gfx_v7_0_gpu_early_init(struct amdgpu_device *adev)
adev->gfx.config.max_tile_pipes = 8; // Verified
adev->gfx.config.max_cu_per_sh = 9; // Probably OK
adev->gfx.config.max_sh_per_se = 1; // Verified
- adev->gfx.config.max_backends_per_se = 1; // Probably OK?
+ adev->gfx.config.max_backends_per_se = 2; // Probably OK?
adev->gfx.config.max_texture_channel_caches = 4; // ??
adev->gfx.config.max_gprs = 256;
adev->gfx.config.max_gs_threads = 32; // ??