Skip to content
  • Jonas Ådahl's avatar
    backends: Split out CRTC/output management to MetaGpu · c1683073
    Jonas Ådahl authored
    In order to eventually support multilpe GPUs with their own connectors,
    split out related meta data management (i.e. outputs, CRTCs and CRTC
    modes) into a new MetaGpu GObject.
    
    The Xrandr backend always assumes there is always only a single "GPU" as
    the GPU is abstracted by the X server; only the native backend (aside
    from the test backend) will eventually see more than one GPU.
    
    The Xrandr backend still moves some management to MetaGpuXrandr, in
    order to behave more similarly to the KMS counterparts.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=785381
    c1683073