drm/radeon: Add module param to control CIK support

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

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>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Felix Kuehling 2017-04-20 14:41:34 -04:00 committed by Alex Deucher
parent 9c2e1ae3ae
commit e7f78b69ab
3 changed files with 28 additions and 0 deletions

View file

@ -116,6 +116,10 @@ extern int radeon_mst;
extern int radeon_uvd;
extern int radeon_vce;
#ifdef CONFIG_DRM_AMDGPU_CIK
extern int radeon_cik_support;
#endif
/*
* Copy from radeon_drv.h so we don't have to include both and have conflicting
* symbol;