|
|
@@ -163,9 +163,11 @@ void radeon_debugfs_cleanup(struct drm_minor *minor);
|
|
|
#if defined(CONFIG_VGA_SWITCHEROO)
|
|
|
void radeon_register_atpx_handler(void);
|
|
|
void radeon_unregister_atpx_handler(void);
|
|
|
+bool radeon_has_atpx_dgpu_power_cntl(void);
|
|
|
#else
|
|
|
static inline void radeon_register_atpx_handler(void) {}
|
|
|
static inline void radeon_unregister_atpx_handler(void) {}
|
|
|
+static inline bool radeon_has_atpx_dgpu_power_cntl(void) { return false; }
|
|
|
#endif
|
|
|
|
|
|
int radeon_no_wb;
|