aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-04-11 23:25:48 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-05-04 20:20:28 -0400
commit110e6f26af80dfd90b6e5c645b1aed7228aa580d (patch)
treea7e5d99bc6b2fc49461902fac77bdbd5496da5c1 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentc036554170fcc2238c32a7edd72c1b61b886428a (diff)
drm/amd: make a type-safe cgs_device struct. (v2)
This is just a type-safety things to avoid everyone taking void *, it doesn't change anything. v2: agd5f: split out the dal changes into a separate patch. Signed-off-by: Dave Airlie <airlied@redhat.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.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index c9fe2d56cebf..a7a53ac5f413 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1868,15 +1868,8 @@ struct amdgpu_atcs {
1868/* 1868/*
1869 * CGS 1869 * CGS
1870 */ 1870 */
1871void *amdgpu_cgs_create_device(struct amdgpu_device *adev); 1871struct cgs_device *amdgpu_cgs_create_device(struct amdgpu_device *adev);
1872void amdgpu_cgs_destroy_device(void *cgs_device); 1872void amdgpu_cgs_destroy_device(struct cgs_device *cgs_device);
1873
1874
1875/*
1876 * CGS
1877 */
1878void *amdgpu_cgs_create_device(struct amdgpu_device *adev);
1879void amdgpu_cgs_destroy_device(void *cgs_device);
1880 1873
1881 1874
1882/* GPU virtualization */ 1875/* GPU virtualization */