drm/amdgpu: Basic emulation support
authorShaoyun Liu <Shaoyun.Liu@amd.com>
Thu, 1 Feb 2018 22:37:50 +0000 (17:37 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:47 +0000 (14:19 -0500)
commitbfca02892773d2702aeeec9a290cf99464c3c0c1
tree945557101cfa41ac3dd9f51b1457682323c9074d
parent6c24a85d236eb2348d2e221993769fd93c168f65
drm/amdgpu: Basic emulation support

Add amdgpu_emu_mode module parameter to control the emulation mode
Avoid vbios operation on emulation since there is no vbios post duirng emulation,
use the common hw_init to simulate the post

Signed-off-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
Acked-By: Alex Deucher <alexander.deucher@amd.com>
Acked-By: Christian Konig <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c