-
- Downloads
vga_switcheroo: Introduce struct vga_switcheroo_client_ops
This changes the API as a clean-up. Instead of passing multiple
function pointers at each time, introduce a new struct holding the
whole callback functions and pass it to the registration.
The same struct will be used for the upcoming audio client
registration, too.
Signed-off-by:
Takashi Iwai <tiwai@suse.de>
Showing
- drivers/gpu/drm/i915/i915_dma.c 7 additions, 4 deletionsdrivers/gpu/drm/i915/i915_dma.c
- drivers/gpu/drm/nouveau/nouveau_state.c 7 additions, 3 deletionsdrivers/gpu/drm/nouveau/nouveau_state.c
- drivers/gpu/drm/radeon/radeon_device.c 6 additions, 4 deletionsdrivers/gpu/drm/radeon/radeon_device.c
- drivers/gpu/vga/vga_switcheroo.c 8 additions, 14 deletionsdrivers/gpu/vga/vga_switcheroo.c
- include/linux/vga_switcheroo.h 7 additions, 6 deletionsinclude/linux/vga_switcheroo.h
Loading
Please register or sign in to comment