OSDN Git Service

drm/amdgpu: postpone entering fullaccess mode
authorMonk Liu <Monk.Liu@amd.com>
Tue, 10 Mar 2020 10:12:13 +0000 (18:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Apr 2020 18:44:43 +0000 (14:44 -0400)
commit2f2941324c65bf23695038968cecab4e5cde647e
treec79b11d2e0992a963a269b5ea5da4b9c0f6f3b7c
parentdffa11b4f74b1572341a667ec7a006420dc48626
drm/amdgpu: postpone entering fullaccess mode

if host support new handshake we only need to enter
fullaccess_mode in ip_init() part, otherwise we need
to do it before reading vbios (becuase host prepares vbios
for VF only after received REQ_GPU_INIT event under
legacy handshake)

Signed-off-by: Monk Liu <Monk.Liu@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_device.c