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 44255cb0bb50..9d79e4ba0213 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -2450,11 +2450,13 @@ void amdgpu_register_atpx_handler(void); | |||
2450 | void amdgpu_unregister_atpx_handler(void); | 2450 | void amdgpu_unregister_atpx_handler(void); |
2451 | bool amdgpu_has_atpx_dgpu_power_cntl(void); | 2451 | bool amdgpu_has_atpx_dgpu_power_cntl(void); |
2452 | bool amdgpu_is_atpx_hybrid(void); | 2452 | bool amdgpu_is_atpx_hybrid(void); |
2453 | bool amdgpu_atpx_dgpu_req_power_for_displays(void); | ||
2453 | #else | 2454 | #else |
2454 | static inline void amdgpu_register_atpx_handler(void) {} | 2455 | static inline void amdgpu_register_atpx_handler(void) {} |
2455 | static inline void amdgpu_unregister_atpx_handler(void) {} | 2456 | static inline void amdgpu_unregister_atpx_handler(void) {} |
2456 | static inline bool amdgpu_has_atpx_dgpu_power_cntl(void) { return false; } | 2457 | static inline bool amdgpu_has_atpx_dgpu_power_cntl(void) { return false; } |
2457 | static inline bool amdgpu_is_atpx_hybrid(void) { return false; } | 2458 | static inline bool amdgpu_is_atpx_hybrid(void) { return false; } |
2459 | static inline bool amdgpu_atpx_dgpu_req_power_for_displays(void) { return false; } | ||
2458 | #endif | 2460 | #endif |
2459 | 2461 | ||
2460 | /* | 2462 | /* |