Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0e0036c

Browse files
Dennis Lialexdeucher
Dennis Li
authored andcommitted
drm/amdgpu: fix no full coverage issue for gprs initialization
The wave's number per simd in aldebaran is changed to 8, so it isimpossible to use old algorithm to initiate all sgprs with onethreadgroup. The new algorithm firstly use three threadgroups toinitiate most sgprs simultaneously and then use another threadgroup with4 waves to cover other uninitiated sgprs.v2:Add more description about the new algorithm to clear sgprs and add somecomment for shader binariesSigned-off-by: Dennis Li <Dennis.Li@amd.com>Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent8baa601 commit0e0036c

File tree

2 files changed

+516
-265
lines changed

2 files changed

+516
-265
lines changed

‎drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ int amdgpu_ib_pool_init(struct amdgpu_device *adev)
328328

329329
for (i=0;i<AMDGPU_IB_POOL_MAX;i++) {
330330
if (i==AMDGPU_IB_POOL_DIRECT)
331-
size=PAGE_SIZE*2;
331+
size=PAGE_SIZE*6;
332332
else
333333
size=AMDGPU_IB_POOL_SIZE;
334334

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp