[PATCH] modesetting: don't be a GPU screen

Stephen Warren swarren at nvidia.com
Tue Aug 5 11:03:09 PDT 2014


Rob Clark wrote at Tuesday, August 05, 2014 12:00 PM:
> It doesn't actually make any sense for a kms-only ddx.  And it causes
> problems with non-PCI devices, because some xservers will skip trying to
> claim the device as a regular device if it is not a PCI device.  The
> following two xserver patches should fix this:
> 
>   http://patchwork.freedesktop.org/patch/28494/
>   http://patchwork.freedesktop.org/patch/28495/
> 
> but since a display-only non-display device makes no sense, let's just
> nuke that code to avoid being a problem.

Sort-of-tested-by: Stephen Warren <swarren at nvidia.com>

I ran Fedora rawhide's xorg-x11-server-Xorg-1.16.0-1.fc22.armv7hl under
gdb, and forced flags and scr_flags to 0 in this path, and then X started.
That's equivalent to what this patch does. Without doing that, X would not
start, complaining about no screens found.

--
nvpublic


More information about the xorg-devel mailing list