diff options
author | Dave Airlie <airlied@redhat.com> | 2016-04-11 23:25:48 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-05-04 20:20:28 -0400 |
commit | 110e6f26af80dfd90b6e5c645b1aed7228aa580d (patch) | |
tree | a7e5d99bc6b2fc49461902fac77bdbd5496da5c1 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | c036554170fcc2238c32a7edd72c1b61b886428a (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.h | 11 |
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 | */ |
1871 | void *amdgpu_cgs_create_device(struct amdgpu_device *adev); | 1871 | struct cgs_device *amdgpu_cgs_create_device(struct amdgpu_device *adev); |
1872 | void amdgpu_cgs_destroy_device(void *cgs_device); | 1872 | void amdgpu_cgs_destroy_device(struct cgs_device *cgs_device); |
1873 | |||
1874 | |||
1875 | /* | ||
1876 | * CGS | ||
1877 | */ | ||
1878 | void *amdgpu_cgs_create_device(struct amdgpu_device *adev); | ||
1879 | void amdgpu_cgs_destroy_device(void *cgs_device); | ||
1880 | 1873 | ||
1881 | 1874 | ||
1882 | /* GPU virtualization */ | 1875 | /* GPU virtualization */ |