Initial reverse optimus didn't consider multiple screens, so this overhauls the code to use the new X server interface, and allows for multiple outputs on the nvidia to be used with the intel doing the rendering.
29aecda drmmode: add support for multi-screen reverse optimus
src/drmmode_display.c | 52 ++++++++++++++++++++++++++++++++++++++++---------
1 file changed, 43 insertions(+), 9 deletions(-)
Upstream: cgit.freedesktop.org