]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d14ffb3d07ff4ac6908f2ae69fac9eece2f4fe1
tree945557101cfa41ac3dd9f51b1457682323c9074d
parente7d8801d422d9513abfd12d1b1d1d245e4224764
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