drm/amdgpu: do optimization for psp command submit
authorpengzhou <PengJu.Zhou@amd.com>
Wed, 16 Dec 2020 05:14:15 +0000 (13:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Jan 2021 16:33:35 +0000 (11:33 -0500)
commit57995aa8ffb3e47a74763cf9106d34e9e8be9d8d
treedbf2acfc1d9a267f44965b82ed8d8169b646491c
parentd45af863a61c994b62b7660c5f7b63619fd7fe35
drm/amdgpu: do optimization for psp command submit

In the psp command submit logic,
the function msleep(1) delayed too long,
Changing it to usleep_range(10, 100) to
have a better performance.

Signed-off-by: Peng Ju Zhou <PengJu.Zhou@amd.com>
Reviewed-by: Emily.Deng <Emily.Deng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c