Name

apple_gmux_present — detect if gmux is built into the machine

Synopsis

bool apple_gmux_present ( void);
 

Arguments

void

no arguments

Description

Drivers may use this to activate quirks specific to dual GPU MacBook Pros and Mac Pros, e.g. for deferred probing, runtime pm and backlight.

Return

true if gmux is present and the kernel was configured with CONFIG_APPLE_GMUX, false otherwise.