Skip to content

Commit 2960758

Browse files
aaliuamdalexdeucher
authored andcommitted
drm/amdgpu: unify fw_write_wait for new gfx9 asics
Make the fw_write_wait default case true since presumably all new gfx9 asics will have updated firmware. That is using unique WAIT_REG_MEM packet with opration=1. Signed-off-by: Aaron Liu <[email protected]> Tested-by: Aaron Liu <[email protected]> Tested-by: Yuxian Dai <[email protected]> Acked-by: Alex Deucher <[email protected]> Acked-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
1 parent 3abd1e9 commit 2960758

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,6 +1217,8 @@ static void gfx_v9_0_check_fw_write_wait(struct amdgpu_device *adev)
12171217
adev->gfx.mec_fw_write_wait = true;
12181218
break;
12191219
default:
1220+
adev->gfx.me_fw_write_wait = true;
1221+
adev->gfx.mec_fw_write_wait = true;
12201222
break;
12211223
}
12221224
}

0 commit comments

Comments
 (0)