drm/radeon: Add module param to control SI support

If AMDGPU supports SI, add a module parameter to control SI
support in radeon. It's on by default in radeon, while it will be
off by default in AMDGPU as long as SI support is experimental.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
Felix Kuehling
2017-06-05 18:52:51 +09:00
committed by Alex Deucher
parent 7df289865c
commit 36ffce0ac0
3 changed files with 23 additions and 0 deletions

View File

@@ -116,6 +116,9 @@ extern int radeon_mst;
extern int radeon_uvd;
extern int radeon_vce;
#ifdef CONFIG_DRM_AMDGPU_SI
extern int radeon_si_support;
#endif
#ifdef CONFIG_DRM_AMDGPU_CIK
extern int radeon_cik_support;
#endif