diff options
author | Ben Skeggs <[email protected]> | 2008-02-12 17:28:31 +1100 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2008-02-12 17:28:31 +1100 |
commit | 532828b1d3fdf5e9eed8d5ec72ada154b31f92cc (patch) | |
tree | 524b696971d228c7272240de2255755607d0c268 /src/mesa | |
parent | 2c9fdaf7292423c157fc79b5ce43f0f199dd753a (diff) |
nouveau: ddx versioning changed
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_screen.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_screen.c b/src/mesa/drivers/dri/nouveau/nouveau_screen.c index 533b4b1e6e1..4838ffcb0b4 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_screen.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_screen.c @@ -34,6 +34,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #include "nouveau_screen.h" #include "nouveau_object.h" #include "nouveau_span.h" +#include "nouveau_msg.h" #include "utils.h" #include "context.h" @@ -293,11 +294,15 @@ nouveauFillInModes( unsigned pixel_bits, unsigned depth_bits, */ __GLcontextModes *__driDriverInitScreen(__DRIscreenPrivate *psp) { - static const __DRIversion ddx_expected = { 1, 2, 0 }; + static const __DRIversion ddx_expected = { 0, 0, NOUVEAU_DRM_HEADER_PATCHLEVEL }; static const __DRIversion dri_expected = { 4, 0, 0 }; static const __DRIversion drm_expected = { 0, 0, NOUVEAU_DRM_HEADER_PATCHLEVEL }; NOUVEAUDRIPtr dri_priv = (NOUVEAUDRIPtr)psp->pDevPriv; + WARN_ONCE("\nThis driver is not currently maintained\n\n" + "Current work on 3D is in the gallium-0.1 branch of:\n" + " git://anongit.freedesktop.org/git/nouveau/mesa\n"); + #if NOUVEAU_DRM_HEADER_PATCHLEVEL != 10 #error nouveau_drm.h version doesn't match expected version #endif |