aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 219fea72beeb..8a440b9fa0fd 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1867,6 +1867,12 @@ static inline bool amdgpu_atpx_dgpu_req_power_for_displays(void) { return false;
1867static inline bool amdgpu_has_atpx(void) { return false; } 1867static inline bool amdgpu_has_atpx(void) { return false; }
1868#endif 1868#endif
1869 1869
1870#if defined(CONFIG_VGA_SWITCHEROO) && defined(CONFIG_ACPI)
1871void *amdgpu_atpx_get_dhandle(void);
1872#else
1873static inline void *amdgpu_atpx_get_dhandle(void) { return NULL; }
1874#endif
1875
1870/* 1876/*
1871 * KMS 1877 * KMS
1872 */ 1878 */