Lines Matching +full:gpu +full:- +full:id

2  * vga_switcheroo.h - Support for laptop with dual GPU using one set of outputs
39 * enum vga_switcheroo_handler_flags_t - handler flags bitmask
45 * GPU needs to train the link and communicate the link parameters to the
46 * inactive GPU (mediated by vga_switcheroo). The inactive GPU may then
47 * skip the AUX handshake and set up its output with these pre-calibrated
59 * enum vga_switcheroo_state - client power state
76 * enum vga_switcheroo_client_id - client identifier
78 * Determining the id requires the handler, so GPUs are given their
79 * true id in a delayed fashion in vga_switcheroo_enable()
94 * struct vga_switcheroo_handler - handler callbacks
102 * Mandatory. For muxless machines this should be a no-op. Returning 0
110 * @get_client_id: determine if given pci device is integrated or discrete GPU.
118 int (*switchto)(enum vga_switcheroo_client_id id);
119 int (*switch_ddc)(enum vga_switcheroo_client_id id);
120 int (*power_state)(enum vga_switcheroo_client_id id,
126 * struct vga_switcheroo_client_ops - client callbacks
128 * Mandatory. This should not cut power to the discrete GPU,
131 * Optional. This gets called after waking the GPU and switching
136 * @gpu_bound: notify the client id to audio client when the GPU is bound.
138 * Client callbacks. A client can be either a GPU or an audio device on a GPU.
141 * OTOH, @gpu_bound is only for audio clients, and not used for GPU clients.
189 static inline int vga_switcheroo_lock_ddc(struct pci_dev *pdev) { return -ENODEV; } in vga_switcheroo_lock_ddc()
190 static inline int vga_switcheroo_unlock_ddc(struct pci_dev *pdev) { return -ENODEV; } in vga_switcheroo_unlock_ddc()
195 …switcheroo_init_domain_pm_ops(struct device *dev, struct dev_pm_domain *domain) { return -EINVAL; } in vga_switcheroo_init_domain_pm_ops()