drm/kms/fb: use slow work mechanism for normal hotplug also.
a) slow work is always used now for any fbcon hotplug, as its not
a fast task and is more suited to being ran under slow work.
b) attempt to not do any fbdev changes when X is running as we'll
just mess it up. This hooks set_par to hopefully do the changes
once X hands control to fbdev.
This also adds the nouveau/intel hotplug support.
Signed-off-by:
Dave Airlie <airlied@redhat.com>
Showing
- drivers/gpu/drm/drm_fb_helper.c 124 additions, 83 deletionsdrivers/gpu/drm/drm_fb_helper.c
- drivers/gpu/drm/i915/i915_irq.c 1 addition, 0 deletionsdrivers/gpu/drm/i915/i915_irq.c
- drivers/gpu/drm/i915/intel_drv.h 2 additions, 0 deletionsdrivers/gpu/drm/i915/intel_drv.h
- drivers/gpu/drm/i915/intel_fb.c 23 additions, 19 deletionsdrivers/gpu/drm/i915/intel_fb.c
- drivers/gpu/drm/nouveau/nouveau_fbcon.c 28 additions, 17 deletionsdrivers/gpu/drm/nouveau/nouveau_fbcon.c
- drivers/gpu/drm/nouveau/nouveau_fbcon.h 2 additions, 0 deletionsdrivers/gpu/drm/nouveau/nouveau_fbcon.h
- drivers/gpu/drm/nouveau/nv50_display.c 3 additions, 0 deletionsdrivers/gpu/drm/nouveau/nv50_display.c
- drivers/gpu/drm/radeon/radeon_fb.c 32 additions, 42 deletionsdrivers/gpu/drm/radeon/radeon_fb.c
- include/drm/drm_fb_helper.h 26 additions, 21 deletionsinclude/drm/drm_fb_helper.h
Loading
Please register or sign in to comment