vga-switcheroo: initial dynamic mux switch support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | vga-switcheroo: add new "immediate" switch event typedrivers/ | +58 | 0 replies | |
| 2/6 | vga-switcheroo: Add a way to test for the active clientdrivers/ include/ | +39 | 0 replies | |
| 3/6 | vga-switcheroo: notify clients of pending/completed switch eventsdrivers/ include/ | +46 | 0 replies | |
| 4/6 | i915: implement vga-switcheroo reprobe() callbackdrivers/ | +26 | 0 replies | |
| 5/6 | i915: fail atomic commit when muxed awaydrivers/ | +7 | 0 replies | |
| 6/6 | i915: bail out of eDP link training while mux-switched awaydrivers/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] vga-switcheroo: initial dynamic mux switch support
Changes to allow vga-switcheroo to switch the mux while modesetting clients remain active. There is existing support for switching the mux without checking can_switch; however, this support also does not reprobe after the mux switch is complete. This patch series adds a new type of switch event which switches immediately while still calling client driver callbacks, and updates the i915 DRM-KMS driver to reprobe eDP outputs after switching the mux to an i915-driven GPU, and to avoid using eDP links (which i915 always assumes to be connected) while the mux is switched away.
Daniel Dadap (6):
vga-switcheroo: add new "immediate" switch event type
vga-switcheroo: Add a way to test for the active client
vga-switcheroo: notify clients of pending/completed switch events
i915: implement vga-switcheroo reprobe() callback
i915: fail atomic commit when muxed away
i915: bail out of eDP link training while mux-switched away
drivers/gpu/drm/i915/display/intel_display.c | 7 + .../drm/i915/display/intel_dp_link_training.c | 9 ++ drivers/gpu/drm/i915/i915_switcheroo.c | 27 +++- drivers/gpu/vga/vga_switcheroo.c | 153 ++++++++++++++---- include/linux/vga_switcheroo.h | 20 +++ 5 files changed, 185 insertions(+), 31 deletions(-)
Signature · 6 lines
2.18.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx