diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 3cc2bd797e51..b6c8309ce891 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -2401,10 +2401,12 @@ bool amdgpu_device_is_px(struct drm_device *dev); | |||
2401 | void amdgpu_register_atpx_handler(void); | 2401 | void amdgpu_register_atpx_handler(void); |
2402 | void amdgpu_unregister_atpx_handler(void); | 2402 | void amdgpu_unregister_atpx_handler(void); |
2403 | bool amdgpu_has_atpx_dgpu_power_cntl(void); | 2403 | bool amdgpu_has_atpx_dgpu_power_cntl(void); |
2404 | bool amdgpu_is_atpx_hybrid(void); | ||
2404 | #else | 2405 | #else |
2405 | static inline void amdgpu_register_atpx_handler(void) {} | 2406 | static inline void amdgpu_register_atpx_handler(void) {} |
2406 | static inline void amdgpu_unregister_atpx_handler(void) {} | 2407 | static inline void amdgpu_unregister_atpx_handler(void) {} |
2407 | static inline bool amdgpu_has_atpx_dgpu_power_cntl(void) { return false; } | 2408 | static inline bool amdgpu_has_atpx_dgpu_power_cntl(void) { return false; } |
2409 | static inline bool amdgpu_is_atpx_hybrid(void) { return false; } | ||
2408 | #endif | 2410 | #endif |
2409 | 2411 | ||
2410 | /* | 2412 | /* |