[Nouveau] [Bug 64774] nouveau GF108 kernel crash in optimus mode when enabling external display output

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun May 19 14:12:56 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=64774

--- Comment #5 from Pasi Kärkkäinen <pasik at iki.fi> ---

here's the whole function:

(gdb) disassemble nvc0_vm_map_sg
Dump of assembler code for function nvc0_vm_map_sg:
   0x0000000000023b20 <+0>:    callq  0x23b25 <nvc0_vm_map_sg+5>
   0x0000000000023b25 <+5>:    push   %rbp
   0x0000000000023b26 <+6>:    mov    %rsp,%rbp
   0x0000000000023b29 <+9>:    push   %r15
   0x0000000000023b2b <+11>:    push   %r14
   0x0000000000023b2d <+13>:    push   %r13
   0x0000000000023b2f <+15>:    mov    %rsi,%r13
   0x0000000000023b32 <+18>:    push   %r12
   0x0000000000023b34 <+20>:    push   %rbx
   0x0000000000023b35 <+21>:    lea    0x0(,%rcx,8),%ebx
   0x0000000000023b3c <+28>:    sub    $0x38,%rsp
   0x0000000000023b40 <+32>:    mov    0x30(%rdi),%esi
   0x0000000000023b43 <+35>:    mov    %rdx,-0x40(%rbp)
   0x0000000000023b47 <+39>:    mov    %rdi,-0x38(%rbp)
   0x0000000000023b4b <+43>:    mov    %r9,-0x48(%rbp)
   0x0000000000023b4f <+47>:    lea    -0x1(%r8),%edx
   0x0000000000023b53 <+51>:    mov    %esi,%eax
   0x0000000000023b55 <+53>:    and    $0x10,%eax
   0x0000000000023b58 <+56>:    cmp    $0x1,%eax
   0x0000000000023b5b <+59>:    sbb    %eax,%eax
   0x0000000000023b5d <+61>:    and    $0xfffffffe,%eax
   0x0000000000023b60 <+64>:    add    $0x7,%eax
   0x0000000000023b63 <+67>:    test   %r8d,%r8d
   0x0000000000023b66 <+70>:    je     0x23c16 <nvc0_vm_map_sg+246>
   0x0000000000023b6c <+76>:    mov    %rax,%rcx
   0x0000000000023b6f <+79>:    lea    0x4(%rbx),%eax
   0x0000000000023b72 <+82>:    lea    0x8(,%rdx,8),%rdx
   0x0000000000023b7a <+90>:    xor    %r15d,%r15d
   0x0000000000023b7d <+93>:    shl    $0x20,%rcx
   0x0000000000023b81 <+97>:    mov    %eax,-0x5c(%rbp)
   0x0000000000023b84 <+100>:    mov    %r13,%rax
   0x0000000000023b87 <+103>:    mov    %rcx,-0x50(%rbp)
   0x0000000000023b8b <+107>:    mov    %r15,%r13
   0x0000000000023b8e <+110>:    mov    %rdx,-0x58(%rbp)
   0x0000000000023b92 <+114>:    mov    %rax,%r15
   0x0000000000023b95 <+117>:    jmp    0x23ba7 <nvc0_vm_map_sg+135>
   0x0000000000023b97 <+119>:    nopw   0x0(%rax,%rax,1)
   0x0000000000023ba0 <+128>:    mov    -0x38(%rbp),%rdx
   0x0000000000023ba4 <+132>:    mov    0x30(%rdx),%esi
   0x0000000000023ba7 <+135>:    mov    -0x48(%rbp),%rcx
   0x0000000000023bab <+139>:    mov    %r15,%rdi
   0x0000000000023bae <+142>:    mov    (%rcx,%r13,1),%rax
   0x0000000000023bb2 <+146>:    shr    $0x8,%rax
   0x0000000000023bb6 <+150>:    mov    %rax,%rdx
   0x0000000000023bb9 <+153>:    or     $0x3,%rax
   0x0000000000023bbd <+157>:    or     $0x1,%rdx
   0x0000000000023bc1 <+161>:    and    $0x4,%esi
   0x0000000000023bc4 <+164>:    lea    0x0(%r13,%rbx,1),%esi
   0x0000000000023bc9 <+169>:    cmovne %rax,%rdx
   0x0000000000023bcd <+173>:    mov    -0x40(%rbp),%rax
   0x0000000000023bd1 <+177>:    mov    0xd8(%rax),%r14d
   0x0000000000023bd8 <+184>:    shl    $0x24,%r14
   0x0000000000023bdc <+188>:    or     -0x50(%rbp),%r14
   0x0000000000023be0 <+192>:    or     %rdx,%r14
   0x0000000000023be3 <+195>:    mov    (%r15),%rdx
   0x0000000000023be6 <+198>:    mov    0x8(%rdx),%r10
   0x0000000000023bea <+202>:    mov    %r14d,%edx
   0x0000000000023bed <+205>:    callq  *0x48(%r10)
   0x0000000000023bf1 <+209>:    mov    (%r15),%rdx
   0x0000000000023bf4 <+212>:    mov    -0x5c(%rbp),%esi
   0x0000000000023bf7 <+215>:    mov    %r15,%rdi
   0x0000000000023bfa <+218>:    mov    0x8(%rdx),%r10
   0x0000000000023bfe <+222>:    mov    %r14,%rdx
   0x0000000000023c01 <+225>:    add    %r13d,%esi
   0x0000000000023c04 <+228>:    shr    $0x20,%rdx
   0x0000000000023c08 <+232>:    add    $0x8,%r13
   0x0000000000023c0c <+236>:    callq  *0x48(%r10)
   0x0000000000023c10 <+240>:    cmp    -0x58(%rbp),%r13
   0x0000000000023c14 <+244>:    jne    0x23ba0 <nvc0_vm_map_sg+128>
   0x0000000000023c16 <+246>:    add    $0x38,%rsp
   0x0000000000023c1a <+250>:    pop    %rbx
   0x0000000000023c1b <+251>:    pop    %r12
   0x0000000000023c1d <+253>:    pop    %r13
   0x0000000000023c1f <+255>:    pop    %r14
   0x0000000000023c21 <+257>:    pop    %r15
   0x0000000000023c23 <+259>:    pop    %rbp
   0x0000000000023c24 <+260>:    retq   
End of assembler dump.
(gdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130519/1d414001/attachment-0001.html>


More information about the Nouveau mailing list