[Bug 295788] graphics/drm-kmod: i915kms Hardware acceleration not working for Intel Braswell since >drm-510-kmod
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295788 --- Comment #60 from Roger Olofsson <[email protected]> --- Tried a small hack. Changed crocus_create_hw_context from calling intel_gem_create_context to calling intel_gem_create_context_ext and set flags to 0 in crocus_bufmgr.c. Fired up lldb and singlestepped until it broke on intel_ioctl. It appears to me that for this specific graphics card there is no difference when using intel_gem_create_context vs using intel_gem_create_context_ext? Process 1714 stopped * thread #1, name = 'Xorg', stop reason = instruction step into frame #0: 0x0000000840fb7a40 crocus_dri.so`intel_ioctl(fd=17, request=3222299757, arg=0x0000000820abcfc8) at intel_gem.h:83:15 80 int ret; 81 82 do { -> 83 ret = ioctl(fd, request, arg); 84 } while (ret == -1 && (errno == EINTR || errno == EAGAIN)); 85 return ret; 86 } (lldb) si Process 1714 stopped * thread #1, name = 'Xorg', stop reason = instruction step into frame #0: 0x0000000841752e30 crocus_dri.so`ioctl crocus_dri.so`ioctl: -> 0x841752e30 <+0>: jmpq *0x6d352(%rip) 0x841752e36 <+6>: pushq $0x14 0x841752e3b <+11>: jmp 0x841752ce0 crocus_dri.so`dup: 0x841752e40 <+0>: jmpq *0x6d34a(%rip) (lldb) si Process 1714 stopped * thread #1, name = 'Xorg', stop reason = instruction step into frame #0: 0x0000000829e25a60 libc.so.7`__sys_ioctl at ioctl.S:4 Roger -- You are receiving this mail because: You are the assignee for the bug.