xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Arvind R <arvino55@gmail.com>
Cc: xen-devel@lists.xensource.com,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: [Solved] Nouveau on dom0
Date: Wed, 10 Mar 2010 11:37:58 -0800	[thread overview]
Message-ID: <4B97F516.10302@goop.org> (raw)
In-Reply-To: <d799c4761003100450v650d2cfbq5e6a8764cc5b189f@mail.gmail.com>

On 03/10/2010 04:50 AM, Arvind R wrote:
> On Mon, Mar 8, 2010 at 11:21 PM, Konrad Rzeszutek Wilk
> <konrad.wilk@oracle.com>  wrote:
>    
>> On Sun, Mar 07, 2010 at 05:26:12AM +0530, Arvind R wrote:
>>      
>>> On Sun, Mar 7, 2010 at 2:29 AM, Arvind R<arvino55@gmail.com>  wrote:
>>>        
>>>> On Sat, Mar 6, 2010 at 1:46 PM, Arvind R<arvino55@gmail.com>  wrote:
>>>>          
>>>>> On Sat, Mar 6, 2010 at 1:53 AM, Konrad Rzeszutek Wilk
>>>>> <konrad.wilk@oracle.com>  wrote:
>>>>>            
>>>>>> On Fri, Mar 05, 2010 at 01:16:13PM +0530, Arvind R wrote:
>>>>>>              
>>>>>>> On Thu, Mar 4, 2010 at 11:55 PM, Konrad Rzeszutek Wilk
>>>>>>> <konrad.wilk@oracle.com>  wrote:
>>>>>>>                
>>>>>>>> On Thu, Mar 04, 2010 at 02:47:58PM +0530, Arvind R wrote:
>>>>>>>>                  
>>>>>>>>> On Wed, Mar 3, 2010 at 11:43 PM, Konrad Rzeszutek Wilk
>>>>>>>>> <konrad.wilk@oracle.com>  wrote:
>>>>>>>>>                    
>>>        
>>>>>> (FYI, look at
>>>>>> http://git.kernel.org/?p=linux/kernel/git/konrad/xen.git;a=commit;h=e84db8b7136d1b4a393dbd982201d0c5a3794333)
>>>>>>              
>>> THAT SOLVED THE FAULTING; OUT_RING now completes under Xen.
>>>        
>> That is great! Thanks for doing all the hard-work in digging through the
>> code.
>>
>>
>> So this means you got graphics on the screen? Or at least that Kernel
>> Mode Setting and the DRM parts show fancy graphics during boot?
>>      
> AT LAST, yes! Patch: (after aboout 600 reboots!)
>
> diff -Naur nouveau-kernel.orig/drivers/gpu/drm/ttm/ttm_bo_vm.c
> nouveau-kernel.new/drivers/gpu/drm/ttm/ttm_bo_vm.c
> --- nouveau-kernel.orig/drivers/gpu/drm/ttm/ttm_bo_vm.c 2010-01-27
> 10:19:28.000000000 +0530
> +++ nouveau-kernel.new/drivers/gpu/drm/ttm/ttm_bo_vm.c  2010-03-10
> 17:28:59.000000000 +0530
> @@ -271,7 +271,10 @@
>           */
>
>          vma->vm_private_data = bo;
> -       vma->vm_flags |= VM_RESERVED | VM_IO | VM_MIXEDMAP | VM_DONTEXPAND;
> +       vma->vm_flags |= VM_RESERVED | VM_MIXEDMAP | VM_DONTEXPAND;
> +       if (!((bo->mem.placement&  TTM_PL_MASK_MEM)&  TTM_PL_FLAG_TT))
> +               vma->vm_flags |= VM_IO;
> +       vma->vm_page_prot = vma_get_vm_prot(vma->vm_flags);
>          return 0;
>   out_unref:
>          ttm_bo_unref(&bo);
>
>    

Cool, nice and simple.  Can you write it up as a proper patch for 
submission to upstream?

Thanks,
     J

  parent reply	other threads:[~2010-03-10 19:37 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25  8:46 Nouveau on dom0 Arvind R
2010-02-25 12:55 ` Konrad Rzeszutek Wilk
2010-02-25 17:01   ` Arvind R
2010-02-25 17:44     ` Konrad Rzeszutek Wilk
2010-02-26 15:34       ` Arvind R
2010-03-01 16:01         ` Konrad Rzeszutek Wilk
2010-03-02 21:34           ` Arvind R
2010-03-03 17:11             ` Arvind R
2010-03-03 18:13               ` Konrad Rzeszutek Wilk
2010-03-04  9:17                 ` Arvind R
2010-03-04 18:25                   ` Konrad Rzeszutek Wilk
2010-03-05  7:46                     ` Arvind R
2010-03-05 20:23                       ` Konrad Rzeszutek Wilk
2010-03-06  8:16                         ` Arvind R
2010-03-06 20:59                           ` Arvind R
2010-03-06 23:56                             ` Arvind R
2010-03-08 17:51                               ` Konrad Rzeszutek Wilk
2010-03-10 12:50                                 ` [Solved] " Arvind R
2010-03-10 14:00                                   ` Pasi Kärkkäinen
2010-03-10 19:37                                   ` Jeremy Fitzhardinge [this message]
     [not found]                                   ` <20100311201536.GA22182@phenom.dumpdata.com>
2010-03-12  6:12                                     ` Arvind R

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=4B97F516.10302@goop.org \
    --to=jeremy@goop.org \
    --cc=arvino55@gmail.com \
    --cc=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xensource.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).