diff options
author | Shaoyun Liu <Shaoyun.Liu@amd.com> | 2018-02-01 17:37:50 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-19 14:19:47 -0500 |
commit | bfca02892773d2702aeeec9a290cf99464c3c0c1 (patch) | |
tree | 945557101cfa41ac3dd9f51b1457682323c9074d /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 6c24a85d236eb2348d2e221993769fd93c168f65 (diff) | |
download | op-kernel-dev-bfca02892773d2702aeeec9a290cf99464c3c0c1.zip op-kernel-dev-bfca02892773d2702aeeec9a290cf99464c3c0c1.tar.gz |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 276c4ad..8ad0d48 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -128,6 +128,7 @@ extern int amdgpu_job_hang_limit; extern int amdgpu_lbpw; extern int amdgpu_compute_multipipe; extern int amdgpu_gpu_recovery; +extern int amdgpu_emu_mode; #ifdef CONFIG_DRM_AMDGPU_SI extern int amdgpu_si_support; |