search for: vga_switcheroo_enable

Displaying 6 results from an estimated 6 matches for "vga_switcheroo_enable".

2017 Mar 10
1
[PATCH 0/5] Thunderbolt GPU fixes
...gt; vga_switcheroo: Dave Airlie designed vga_switcheroo to register GPUs > > unconditionally. So if a desktop box has multiple GPUs, vga_switcheroo > > will see more than one discrete GPU but that's not a problem because on > > desktop boxes no handler is registered and thus vga_switcheroo_enable() > > is never called. Hybrid graphics laptops on the other hand do register > > a handler, but are assumed to never register more than one discrete GPU. > > However once a Thunderbolt eGPU is attached to a hybrid graphics laptop, > > that assumption is no longer true and t...
2016 Jan 11
0
[PATCH v5 01/12] vga_switcheroo: Add handler flags infrastructure
...ly one vga_switcheroo instance * per system is supported. @@ -141,6 +142,7 @@ struct vgasr_priv { struct list_head clients; const struct vga_switcheroo_handler *handler; + enum vga_switcheroo_handler_flags_t handler_flags; }; #define ID_BIT_AUDIO 0x100 @@ -189,13 +191,15 @@ static void vga_switcheroo_enable(void) /** * vga_switcheroo_register_handler() - register handler * @handler: handler callbacks + * @handler_flags: handler flags * * Register handler. Enable vga_switcheroo if two vga clients have already * registered. * * Return: 0 on success, -EINVAL if a handler was already regist...
2015 Oct 20
2
[PATCH 0/1] vga_switcheroo: Constify vga_switcheroo_handler
Another vga_switcheroo cleanup. Maintainers, is it okay to include the one-line change of each driver in here or do you want that split into separate patches? Thanks, Lukas Lukas Wunner (1): vga_switcheroo: Constify vga_switcheroo_handler drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 2 +- drivers/gpu/drm/nouveau/nouveau_acpi.c | 2 +-
2017 Mar 09
0
[PATCH 0/5] Thunderbolt GPU fixes
...olt GPUs with > vga_switcheroo: Dave Airlie designed vga_switcheroo to register GPUs > unconditionally. So if a desktop box has multiple GPUs, vga_switcheroo > will see more than one discrete GPU but that's not a problem because on > desktop boxes no handler is registered and thus vga_switcheroo_enable() > is never called. Hybrid graphics laptops on the other hand do register > a handler, but are assumed to never register more than one discrete GPU. > However once a Thunderbolt eGPU is attached to a hybrid graphics laptop, > that assumption is no longer true and things go south when...
2017 Feb 24
6
[PATCH 0/5] Thunderbolt GPU fixes
...ng external Thunderbolt GPUs with vga_switcheroo: Dave Airlie designed vga_switcheroo to register GPUs unconditionally. So if a desktop box has multiple GPUs, vga_switcheroo will see more than one discrete GPU but that's not a problem because on desktop boxes no handler is registered and thus vga_switcheroo_enable() is never called. Hybrid graphics laptops on the other hand do register a handler, but are assumed to never register more than one discrete GPU. However once a Thunderbolt eGPU is attached to a hybrid graphics laptop, that assumption is no longer true and things go south when vga_switcheroo runti...
2016 Jan 11
8
[PATCH v5 00/12] Enable GPU switching on pre-retina MacBook Pro
Enable GPU switching on the pre-retina MacBook Pro (2008 - 2013), v5. The main obstacle on these machines is that the panel mode in VBIOS is bogus. Fortunately gmux can switch DDC independently from the display, thereby allowing the inactive GPU to probe the panel's EDID. In short, vga_switcheroo and apple-gmux are amended with hooks to switch DDC, DRM core is amended with a