All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Skeggs <skeggsb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Xavier <shiningxc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: Removal of Non-KMS support
Date: Fri, 08 Jan 2010 08:09:11 +1000	[thread overview]
Message-ID: <1262902151.7007.0.camel@araqiel> (raw)
In-Reply-To: <91752841001071149u155f3e22veb91b07167f60f36-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Thu, 2010-01-07 at 20:49 +0100, Xavier wrote:
> On Wed, Jan 6, 2010 at 6:32 AM, Ben Skeggs <skeggsb@gmail.com> wrote:
> > I did a very quick pass at removing all the non-KMS support from the
> > DDX.  It's tested on G80 but nowhere else currently, I thought some
> > discussion would be a good idea rather than just ripping it out :)
> >
> > The non-KMS paths are messy, and lets face it, rotting badly.  IMO the
> > KMS code is stable enough now that we can continue without the UMS
> > crutch, and indeed, the KMS code supports a lot more chipsets
> > (particularly on GF8 and up) than the UMS code ever will.
> >
> > I've left the Xv overlay code intact, but ifdef'd out.  I want to bring
> > support back with KMS enabled (thinking of older chipsets where the
> > blitter sucks), so it made sense to leave the old code there for now.
> >
> > So, who has some Signed-off-by's :)
> >
> 
> That broke exapixmaps=no for me.
> I tried to disable exapixmaps temporarily to workaround some
> dri2/window resize problems, as suggested by calim.
> After reverting "Removal of Non-KMS support", exapixmaps=no worked fine.
Ah thanks, I didn't even think to test it still worked.  I'll fix that
today, but, that's also something that should be on the list of things
to cull from the DDX soon.

Ben.
> 
> Jan  7 17:44:13 xps-m1530 init: Switching to runlevel: 5
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.449485] integrated sync not supported
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.555266] integrated sync not supported
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.664571] [drm] nouveau
> 0000:01:00.0: Allocating FIFO number 2
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.673371] [drm] nouveau
> 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 2
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.674075] [TTM] Page number
> range to small Need 4503599627369472 pages, range is [0, 65536]
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.678391] [drm] nouveau
> 0000:01:00.0: nouveau_channel_free: freeing fifo 2
> Jan  7 17:44:13 xps-m1530 gdm-binary[8150]: WARNING: GdmDisplay:
> display lasted 0.309705 seconds
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.723902] integrated sync not supported
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.829683] integrated sync not supported
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.937500] [drm] nouveau
> 0000:01:00.0: Allocating FIFO number 2
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.945901] [drm] nouveau
> 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 2
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946061]
> =============================================================================
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946064] BUG kmalloc-512:
> Poison overwritten
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946066]
> -----------------------------------------------------------------------------
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946067]
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946070] INFO:
> 0xffff8801183a6d18-0xffff8801183a6d1f. First byte 0x0 instead of 0x6b
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946081] INFO: Allocated in
> nouveau_bo_new+0x5b/0x470 [nouveau] age=272 cpu=1 pid=8156
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946088] INFO: Freed in
> nouveau_bo_del_ttm+0x9f/0xd0 [nouveau] age=272 cpu=1 pid=8156
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946091] INFO: Slab
> 0xffffea0003d4cc50 objects=14 used=11 fp=0xffff8801183a6b68
> flags=0x80000000000040c3
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946094] INFO: Object
> 0xffff8801183a6b68 @offset=2920 fp=0xffff8801183a7918
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946095]
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946097] Bytes b4
> 0xffff8801183a6b58:  75 73 49 00 01 00 00 00 5a 5a 5a 5a 5a 5a 5a 5a
> usI.....ZZZZZZZZ
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946107]   Object
> 0xffff8801183a6b68:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946117]   Object
> 0xffff8801183a6b78:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946126]   Object
> 0xffff8801183a6b88:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946136]   Object
> 0xffff8801183a6b98:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946145]   Object
> 0xffff8801183a6ba8:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946155]   Object
> 0xffff8801183a6bb8:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946170]   Object
> 0xffff8801183a6bc8:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946179]   Object
> 0xffff8801183a6bd8:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946187]   Object
> 0xffff8801183a6be8:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946204]   Object
> 0xffff8801183a6bf8:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946214]   Object
> 0xffff8801183a6c08:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946223]   Object
> 0xffff8801183a6c18:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946233]   Object
> 0xffff8801183a6c28:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946243]   Object
> 0xffff8801183a6c38:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946252]   Object
> 0xffff8801183a6c48:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]   Object
> 0xffff8801183a6c58:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]   Object
> 0xffff8801183a6c68:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]   Object
> 0xffff8801183a6c78:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]   Object
> 0xffff8801183a6c88:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]   Object
> 0xffff8801183a6c98:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]   Object
> 0xffff8801183a6ca8:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]   Object
> 0xffff8801183a6cb8:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]   Object
> 0xffff8801183a6cc8:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]   Object
> 0xffff8801183a6cd8:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]   Object
> 0xffff8801183a6ce8:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]   Object
> 0xffff8801183a6cf8:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]   Object
> 0xffff8801183a6d08:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]   Object
> 0xffff8801183a6d18:  00 00 00 00 00 00 00 00 6b 6b 6b 6b 6b 6b 6b 6b
> ........kkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]   Object
> 0xffff8801183a6d28:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]   Object
> 0xffff8801183a6d38:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]   Object
> 0xffff8801183a6d48:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> kkkkkkkkkkkkkkkk
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]   Object
> 0xffff8801183a6d58:  6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b a5
> kkkkkkkkkkkkkkk¥
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  Redzone
> 0xffff8801183a6d68:  bb bb bb bb bb bb bb bb
> »»»»»»»»
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  Padding
> 0xffff8801183a6da8:  5a 5a 5a 5a 5a 5a 5a 5a
> ZZZZZZZZ
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255] Pid: 8160, comm: Xorg
> Not tainted 2.6.32-nouveau #30
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255] Call Trace:
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffff810f5fc1>]
> print_trailer+0x101/0x170
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffff810f66e2>]
> check_bytes_and_report+0xf2/0x120
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffff810f691e>]
> check_object+0x20e/0x260
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffff810f892e>]
> __slab_alloc+0x59e/0x7c0
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffff812cd5cc>]
> ? security_inode_alloc+0x1c/0x20
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffff81117526>]
> ? inode_init_always+0x116/0x1c0
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffffa015b4ab>]
> ? nouveau_bo_new+0x5b/0x470 [nouveau]
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffff810f8dd7>]
> kmem_cache_alloc+0xb7/0x140
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffffa015b4ab>]
> nouveau_bo_new+0x5b/0x470 [nouveau]
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffffa015dccf>]
> nouveau_gem_new+0x3f/0xd0 [nouveau]
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffffa015de99>]
> nouveau_gem_ioctl_new+0x139/0x320 [nouveau]
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffffa00ec6ed>]
> drm_ioctl+0x17d/0x3a0 [drm]
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffffa015dd60>]
> ? nouveau_gem_ioctl_new+0x0/0x320 [nouveau]
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffff810e6238>]
> ? mmap_region+0x1f8/0x500
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffff8110fc6c>]
> vfs_ioctl+0x7c/0xa0
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffff8110fda0>]
> do_vfs_ioctl+0x80/0x560
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffff81303e75>]
> ? __up_write+0xe5/0x150
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffff81110301>]
> sys_ioctl+0x81/0xa0
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]  [<ffffffff8100bf2b>]
> system_call_fastpath+0x16/0x1b
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255] FIX kmalloc-512:
> Restoring 0xffff8801183a6d18-0xffff8801183a6d1f=0x6b
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255]
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.946255] FIX kmalloc-512:
> Marking all objects used
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.947018] [TTM] Page number
> range to small Need 4503599627369472 pages, range is [0, 65536]
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.950986] [drm] nouveau
> 0000:01:00.0: nouveau_channel_free: freeing fifo 2
> Jan  7 17:44:13 xps-m1530 gdm-binary[8150]: WARNING: GdmDisplay:
> display lasted 0.270496 seconds
> Jan  7 17:44:13 xps-m1530 kernel: [ 5113.987276] integrated sync not supported
> Jan  7 17:44:13 xps-m1530 kernel: [ 5114.092992] integrated sync not supported


_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

      parent reply	other threads:[~2010-01-07 22:09 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-06  5:32 Removal of Non-KMS support Ben Skeggs
2010-01-06 20:59 ` Francisco Jerez
     [not found]   ` <87iqbfhrvr.fsf-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2010-01-06 22:16     ` Maarten Maathuis
     [not found]       ` <6d4bc9fc1001061416h39a64a13r7b2d5c4efde1f868-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-06 22:20         ` Maarten Maathuis
2010-01-06 22:20     ` Ben Skeggs
2010-01-13 21:22     ` Xavier
     [not found]       ` <91752841001131322s6b899029pb8dac24c2e18b1ca-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-13 22:24         ` Ben Skeggs
2010-01-06 22:58 ` Pekka Paalanen
     [not found]   ` <20100107005827.466c968e-cxYvVS3buNOdIgDiPM52R8c4bpwCjbIv@public.gmane.org>
2010-01-06 23:21     ` Ben Skeggs
2010-01-07  1:59     ` Robert Noland
     [not found]       ` <1262829587.2486.42.camel-it3iGQysvyiGwK4wanZbFg@public.gmane.org>
2010-01-07  8:56         ` Maarten Maathuis
     [not found]           ` <6d4bc9fc1001070056x7e9e9a04pef692dde5d5eced9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-07 10:23             ` Ben Skeggs
2010-01-07 11:45               ` Maarten Maathuis
2010-01-23 10:25         ` Porting nouveau/ttm/drm to FreeBSD/OpenSolaris "C. Bergström"
     [not found]           ` <4B5ACE8C.40907-Hl0AACgZOF5l57MIdRCFDg@public.gmane.org>
2010-01-23 14:20             ` Krzysztof Smiechowicz
     [not found]               ` <4B5B05BE.3080606-5tc4TXWwyLM@public.gmane.org>
2010-01-23 14:46                 ` "C. Bergström"
2010-01-23 16:15             ` Robert Noland
2010-01-23 20:43             ` Stephane Marchesin
     [not found]               ` <6a89f9d51001231243o1cc0899aw4338c121e4af59b1-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-23 21:33                 ` "C. Bergström"
2010-01-23 21:34             ` Dave Airlie
2010-01-07 19:49 ` Removal of Non-KMS support Xavier
     [not found]   ` <91752841001071149u155f3e22veb91b07167f60f36-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-07 22:09     ` Ben Skeggs [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1262902151.7007.0.camel@araqiel \
    --to=skeggsb-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=shiningxc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.