diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/atombios_crtc.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c | 1 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/pp_acpi.h | 9 |
8 files changed, 11 insertions, 7 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c index a074edd95c70..01a42b6a69a4 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |||
@@ -24,6 +24,7 @@ | |||
24 | */ | 24 | */ |
25 | #include <drm/drmP.h> | 25 | #include <drm/drmP.h> |
26 | #include "amdgpu.h" | 26 | #include "amdgpu.h" |
27 | #include "amdgpu_gfx.h" | ||
27 | 28 | ||
28 | /* | 29 | /* |
29 | * GPU scratch registers helpers function. | 30 | * GPU scratch registers helpers function. |
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h index 51321e154c09..e02044086445 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | |||
@@ -27,6 +27,7 @@ | |||
27 | int amdgpu_gfx_scratch_get(struct amdgpu_device *adev, uint32_t *reg); | 27 | int amdgpu_gfx_scratch_get(struct amdgpu_device *adev, uint32_t *reg); |
28 | void amdgpu_gfx_scratch_free(struct amdgpu_device *adev, uint32_t reg); | 28 | void amdgpu_gfx_scratch_free(struct amdgpu_device *adev, uint32_t reg); |
29 | 29 | ||
30 | unsigned amdgpu_gfx_parse_disable_cu(unsigned *mask, unsigned max_se, unsigned max_sh); | 30 | void amdgpu_gfx_parse_disable_cu(unsigned *mask, unsigned max_se, |
31 | unsigned max_sh); | ||
31 | 32 | ||
32 | #endif | 33 | #endif |
diff --git a/drivers/gpu/drm/amd/amdgpu/atombios_crtc.c b/drivers/gpu/drm/amd/amdgpu/atombios_crtc.c index f7d236f95e74..8c9bc75a9c2d 100644 --- a/drivers/gpu/drm/amd/amdgpu/atombios_crtc.c +++ b/drivers/gpu/drm/amd/amdgpu/atombios_crtc.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include "atom.h" | 31 | #include "atom.h" |
32 | #include "atom-bits.h" | 32 | #include "atom-bits.h" |
33 | #include "atombios_encoders.h" | 33 | #include "atombios_encoders.h" |
34 | #include "atombios_crtc.h" | ||
34 | #include "amdgpu_atombios.h" | 35 | #include "amdgpu_atombios.h" |
35 | #include "amdgpu_pll.h" | 36 | #include "amdgpu_pll.h" |
36 | #include "amdgpu_connectors.h" | 37 | #include "amdgpu_connectors.h" |
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c index e5d0edfb4309..199d3f7235d6 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include "atombios_encoders.h" | 31 | #include "atombios_encoders.h" |
32 | #include "amdgpu_pll.h" | 32 | #include "amdgpu_pll.h" |
33 | #include "amdgpu_connectors.h" | 33 | #include "amdgpu_connectors.h" |
34 | #include "dce_v10_0.h" | ||
34 | 35 | ||
35 | #include "dce/dce_10_0_d.h" | 36 | #include "dce/dce_10_0_d.h" |
36 | #include "dce/dce_10_0_sh_mask.h" | 37 | #include "dce/dce_10_0_sh_mask.h" |
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c index 9719b2b14186..ecd000e35981 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include "atombios_encoders.h" | 31 | #include "atombios_encoders.h" |
32 | #include "amdgpu_pll.h" | 32 | #include "amdgpu_pll.h" |
33 | #include "amdgpu_connectors.h" | 33 | #include "amdgpu_connectors.h" |
34 | #include "dce_v11_0.h" | ||
34 | 35 | ||
35 | #include "dce/dce_11_0_d.h" | 36 | #include "dce/dce_11_0_d.h" |
36 | #include "dce/dce_11_0_sh_mask.h" | 37 | #include "dce/dce_11_0_sh_mask.h" |
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c index 16a2f1faaf19..979aedf4b74d 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include "atombios_encoders.h" | 31 | #include "atombios_encoders.h" |
32 | #include "amdgpu_pll.h" | 32 | #include "amdgpu_pll.h" |
33 | #include "amdgpu_connectors.h" | 33 | #include "amdgpu_connectors.h" |
34 | #include "dce_v8_0.h" | ||
34 | 35 | ||
35 | #include "dce/dce_8_0_d.h" | 36 | #include "dce/dce_8_0_d.h" |
36 | #include "dce/dce_8_0_sh_mask.h" | 37 | #include "dce/dce_8_0_sh_mask.h" |
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c b/drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c index 1944d289f846..f5e8fda964f7 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include "linux/delay.h" | 25 | #include "linux/delay.h" |
26 | #include "hwmgr.h" | 26 | #include "hwmgr.h" |
27 | #include "amd_acpi.h" | 27 | #include "amd_acpi.h" |
28 | #include "pp_acpi.h" | ||
28 | 29 | ||
29 | bool acpi_atcs_functions_supported(void *device, uint32_t index) | 30 | bool acpi_atcs_functions_supported(void *device, uint32_t index) |
30 | { | 31 | { |
diff --git a/drivers/gpu/drm/amd/powerplay/inc/pp_acpi.h b/drivers/gpu/drm/amd/powerplay/inc/pp_acpi.h index 3df5de2cdab0..8fe8ba9434ff 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/pp_acpi.h +++ b/drivers/gpu/drm/amd/powerplay/inc/pp_acpi.h | |||
@@ -21,9 +21,6 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | extern bool acpi_atcs_functions_supported(void *device, | 24 | bool acpi_atcs_functions_supported(void *device, uint32_t index); |
25 | uint32_t index); | 25 | int acpi_pcie_perf_request(void *device, uint8_t perf_req, bool advertise); |
26 | extern int acpi_pcie_perf_request(void *device, | 26 | bool acpi_atcs_notify_pcie_device_ready(void *device); |
27 | uint8_t perf_req, | ||
28 | bool advertise); | ||
29 | extern bool acpi_atcs_notify_pcie_device_ready(void *device); | ||