projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
701a4ad
)
drm/amdgpu: init gfx config for gfx v11_0_3
author
Hawking Zhang
<Hawking.Zhang@amd.com>
Mon, 27 Jun 2022 16:33:14 +0000
(
00:33
+0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 30 Aug 2022 20:37:09 +0000
(16:37 -0400)
initialize some gfx config for gfx v11_0_3
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Frank Min <Frank.Min@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index 8114953f126832806fa30766430543d9b0ebe5fe..f2d126b110e82537c79186aa0d2af732cb9b3d49 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@
-1114,6
+1114,7
@@
static int gfx_v11_0_gpu_early_init(struct amdgpu_device *adev)
switch (adev->ip_versions[GC_HWIP][0]) {
case IP_VERSION(11, 0, 0):
case IP_VERSION(11, 0, 2):
+ case IP_VERSION(11, 0, 3):
adev->gfx.config.max_hw_contexts = 8;
adev->gfx.config.sc_prim_fifo_size_frontend = 0x20;
adev->gfx.config.sc_prim_fifo_size_backend = 0x100;
@@
-1549,6
+1550,7
@@
static int gfx_v11_0_sw_init(void *handle)
case IP_VERSION(11, 0, 0):
case IP_VERSION(11, 0, 1):
case IP_VERSION(11, 0, 2):
+ case IP_VERSION(11, 0, 3):
adev->gfx.me.num_me = 1;
adev->gfx.me.num_pipe_per_me = 1;
adev->gfx.me.num_queue_per_pipe = 1;