[PATCH 0/2] Fix GPU screen handling for drivers with no normal screens
Alex Deucher
alexdeucher at gmail.com
Mon Jan 5 09:20:44 PST 2015
On Tue, Dec 30, 2014 at 12:13 PM, Aaron Plattner <aplattner at nvidia.com> wrote:
> I noticed the problem fixed by the first patch while debugging a problem with
> the Intel driver in a system using Prime. See that patch for a description of
> what is going wrong there. Unfortunately, Prime configurations are relying on
> that loophole because they need a GPU screen for the Intel device, and the X
> server refuses to create one unless there's also a normal X screen using that
> same driver. The second patch fixes that by allowing drivers with no normal X
> screens to have GPU screens created for them anyway. In most cases, this will
> end up using the modesetting driver for any platform devices that are not
> claimed by another driver.
>
> Given the above, please consider these patches together.
I'm not too familiar with the code in question, but the logic seems
sound and the patches make sense. Series is:
Acked-by: Alex Deucher <alexander.deucher at amd.com>
>
> Aaron Plattner (2):
> xfree86: Fix xf86_check_platform_slot's handling of PCI
> xfree86: Add GPU screens even if there are no active GDevs
>
> hw/xfree86/common/xf86platformBus.c | 20 +++++++++++++++-----
> 1 file changed, 15 insertions(+), 5 deletions(-)
>
> --
> 2.2.1
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
More information about the xorg-devel
mailing list