diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2017-05-29 11:32:38 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-06-08 17:54:36 +0300 |
commit | 6ac07e1b309a70469d2822689b54d4726846dd64 (patch) | |
tree | b73efcaa6b28e98542f625002a7a578cd807eead /drivers/gpu/drm/radeon/radeon_drv.c | |
parent | ef789173cb42864edbefa37e0035126370c66cf2 (diff) | |
download | linux-6ac07e1b309a70469d2822689b54d4726846dd64.tar.xz |
drm/radeon: Make si_support and cik_support parameters always available
This will allow amdgpu-pro / other out-of-tree amdgpu builds to make use
of these options for using the out-of-tree amdgpu driver instead of the
in-tree radeon driver in a clean way.
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_drv.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_drv.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c index 02df5135b4de..cb6322d6a78f 100644 --- a/drivers/gpu/drm/radeon/radeon_drv.c +++ b/drivers/gpu/drm/radeon/radeon_drv.c @@ -295,17 +295,13 @@ module_param_named(uvd, radeon_uvd, int, 0444); MODULE_PARM_DESC(vce, "vce enable/disable vce support (1 = enable, 0 = disable)"); module_param_named(vce, radeon_vce, int, 0444); -#ifdef CONFIG_DRM_AMDGPU_SI int radeon_si_support = 1; MODULE_PARM_DESC(si_support, "SI support (1 = enabled (default), 0 = disabled)"); module_param_named(si_support, radeon_si_support, int, 0444); -#endif -#ifdef CONFIG_DRM_AMDGPU_CIK int radeon_cik_support = 0; MODULE_PARM_DESC(cik_support, "CIK support (1 = enabled, 0 = disabled (default))"); module_param_named(cik_support, radeon_cik_support, int, 0444); -#endif static struct pci_device_id pciidlist[] = { radeon_PCI_IDS |