Backport patches to fix AMD platform A+N screen freeze in Wayland (LP: #2111902)
On noble AMD platform with Nvidia dGPU. By default Nvidia dGPU is selected as the primary renderer instead of the AMD iGPU. In this case, screen freeze when login to the Wayland session.
This patch comes from upstream MP which adjust the primary GPU selection heuristic when there is a builtin panel connected.
Upstream MP: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4114