diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 1529e0aecb83..2309c8b88ae7 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -53,6 +53,7 @@ | |||
53 | #include "amdgpu_ucode.h" | 53 | #include "amdgpu_ucode.h" |
54 | #include "amdgpu_gds.h" | 54 | #include "amdgpu_gds.h" |
55 | #include "amd_powerplay.h" | 55 | #include "amd_powerplay.h" |
56 | #include "amdgpu_acp.h" | ||
56 | 57 | ||
57 | #include "gpu_scheduler.h" | 58 | #include "gpu_scheduler.h" |
58 | 59 | ||
@@ -1891,6 +1892,13 @@ void amdgpu_cgs_destroy_device(void *cgs_device); | |||
1891 | 1892 | ||
1892 | 1893 | ||
1893 | /* | 1894 | /* |
1895 | * CGS | ||
1896 | */ | ||
1897 | void *amdgpu_cgs_create_device(struct amdgpu_device *adev); | ||
1898 | void amdgpu_cgs_destroy_device(void *cgs_device); | ||
1899 | |||
1900 | |||
1901 | /* | ||
1894 | * Core structure, functions and helpers. | 1902 | * Core structure, functions and helpers. |
1895 | */ | 1903 | */ |
1896 | typedef uint32_t (*amdgpu_rreg_t)(struct amdgpu_device*, uint32_t); | 1904 | typedef uint32_t (*amdgpu_rreg_t)(struct amdgpu_device*, uint32_t); |
@@ -1910,6 +1918,10 @@ struct amdgpu_device { | |||
1910 | struct drm_device *ddev; | 1918 | struct drm_device *ddev; |
1911 | struct pci_dev *pdev; | 1919 | struct pci_dev *pdev; |
1912 | 1920 | ||
1921 | #ifdef CONFIG_DRM_AMD_ACP | ||
1922 | struct amdgpu_acp acp; | ||
1923 | #endif | ||
1924 | |||
1913 | /* ASIC */ | 1925 | /* ASIC */ |
1914 | enum amd_asic_type asic_type; | 1926 | enum amd_asic_type asic_type; |
1915 | uint32_t family; | 1927 | uint32_t family; |