diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2009-03-13 11:43:54 +1000 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2009-03-13 12:02:33 +1000 |
commit | 79d23d87b489332af521fbda418a13b9ae032b7d (patch) | |
tree | 5cf38a20b97407da059ae94e7a388806c58c7451 /src/nvreg.h | |
parent | bd1448216715681beebabe82b88c8b4d0e62eced (diff) |
improve drm/dri initialisation code
The main motivation here was to fix the scenario where X is started without
nouveau.ko loaded, checks if kms is enabled, is told no because nouveau.ko
isn't loaded, and then later nouveau.ko gets loaded with kms enabled by
default and starts fighting with the ddx for the display.
One cool side-effect is that we're not depending on DRIScreenInit for our
DRM fd now, which means that if DRIScreenInit fails for a non-fatal reason
(like, NVIDIA's libglx being around instead of xorg's) we can still run
with full 2D acceleration.
Diffstat (limited to 'src/nvreg.h')
0 files changed, 0 insertions, 0 deletions