summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2017-04-20 21:41:34 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-05-25 01:22:50 +0300
commite7f78b69aba479728865ef3ec4229b372fc79f94 (patch)
tree2b83271bce7ba877bc81d2b26e414237d7c27d61 /drivers/gpu/drm/radeon/radeon.h
parent9c2e1ae3ae2fe4759359d76f1e639e0eb4f79030 (diff)
downloadlinux-e7f78b69aba479728865ef3ec4229b372fc79f94.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index c1c8e2208a21..0a0341528471 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -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;