diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index baefa635169a..548e2bb72d99 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -42,6 +42,7 @@ | |||
42 | #include <ttm/ttm_module.h> | 42 | #include <ttm/ttm_module.h> |
43 | #include <ttm/ttm_execbuf_util.h> | 43 | #include <ttm/ttm_execbuf_util.h> |
44 | 44 | ||
45 | #include <drm/drmP.h> | ||
45 | #include <drm/drm_gem.h> | 46 | #include <drm/drm_gem.h> |
46 | #include <drm/amdgpu_drm.h> | 47 | #include <drm/amdgpu_drm.h> |
47 | 48 | ||
@@ -1862,6 +1863,13 @@ extern int amdgpu_ctx_ioctl(struct drm_device *dev, void *data, | |||
1862 | struct drm_file *filp); | 1863 | struct drm_file *filp); |
1863 | 1864 | ||
1864 | /* | 1865 | /* |
1866 | * CGS | ||
1867 | */ | ||
1868 | void *amdgpu_cgs_create_device(struct amdgpu_device *adev); | ||
1869 | void amdgpu_cgs_destroy_device(void *cgs_device); | ||
1870 | |||
1871 | |||
1872 | /* | ||
1865 | * Core structure, functions and helpers. | 1873 | * Core structure, functions and helpers. |
1866 | */ | 1874 | */ |
1867 | typedef uint32_t (*amdgpu_rreg_t)(struct amdgpu_device*, uint32_t); | 1875 | typedef uint32_t (*amdgpu_rreg_t)(struct amdgpu_device*, uint32_t); |