[Nouveau] [PATCH 1/7] nouveau: Check if the device supports modesetting, after opening it
Dave Airlie
airlied at gmail.com
Sun Feb 17 16:47:54 PST 2013
On Sun, Feb 17, 2013 at 6:48 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> "Regression" caused by
> commit e34cfbd5bd23f7f15372af52d8a39a5715ce7310
> Author: Emil Velikov <emil.l.velikov at gmail.com>
> Date: Fri Nov 2 03:57:41 2012 +0000
>
> nouveau: Factor out common code to NVHasKMS()
>
> As the name suggests checks if it has kernel mode setting,
> prints out the interface version and checkes if the chipset
> is supported
>
> Function is used in NVPciProbe and NVPlatformProbe
>
> Without this change X will fail with '[drm] KMS not enabled' if
> the kernel module is not loaded
Thats correct, the X server is not responsible for loading the kernel module.
If the kernel module isn't loaded then there is a bug elsewhere.
Dave.
More information about the Nouveau
mailing list