https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295788
--- Comment #16 from Roger Olofsson <[email protected]> ---
(In reply to Gleb Popov from comment #14)
Sorry, last was too soon, I was still in the struct create. Here's the ioctl
Process 2600 stopped
* thread #1, name = 'Xorg', stop reason = instruction step into
frame #0: 0x00000008421b7a0d crocus_dri.so`i915_gem_create_context(fd=17,
context_id=0x0000000820851964) at intel_gem.c:35:20
32 i915_gem_create_context(int fd, uint32_t *context_id)
33 {
34 struct drm_i915_gem_context_create create = {};
-> 35 if (intel_ioctl(fd, DRM_IOCTL_I915_GEM_CONTEXT_CREATE, &create))
36 return false;
37 *context_id = create.ctx_id;
38 return true;
(lldb) si
Process 2600 stopped
* thread #1, name = 'Xorg', stop reason = instruction step into
frame #0: 0x00000008421b7a10 crocus_dri.so`i915_gem_create_context(fd=17,
context_id=0x0000000820851964) at intel_gem.c:35:8
32 i915_gem_create_context(int fd, uint32_t *context_id)
33 {
34 struct drm_i915_gem_context_create create = {};
-> 35 if (intel_ioctl(fd, DRM_IOCTL_I915_GEM_CONTEXT_CREATE, &create))
36 return false;
37 *context_id = create.ctx_id;
38 return true;
(lldb) print fd
(int) 17
(lldb) si
Process 2600 stopped
* thread #1, name = 'Xorg', stop reason = instruction step into
frame #0: 0x00000008421b7a15 crocus_dri.so`i915_gem_create_context(fd=17,
context_id=0x0000000820851964) at intel_gem.c:35:8
32 i915_gem_create_context(int fd, uint32_t *context_id)
33 {
34 struct drm_i915_gem_context_create create = {};
-> 35 if (intel_ioctl(fd, DRM_IOCTL_I915_GEM_CONTEXT_CREATE, &create))
36 return false;
37 *context_id = create.ctx_id;
38 return true;
(lldb) si
Process 2600 stopped
* thread #1, name = 'Xorg', stop reason = instruction step into
frame #0: 0x00000008421b7a19 crocus_dri.so`i915_gem_create_context(fd=17,
context_id=0x0000000820851964) at intel_gem.c:35:8
32 i915_gem_create_context(int fd, uint32_t *context_id)
33 {
34 struct drm_i915_gem_context_create create = {};
-> 35 if (intel_ioctl(fd, DRM_IOCTL_I915_GEM_CONTEXT_CREATE, &create))
36 return false;
37 *context_id = create.ctx_id;
38 return true;
(lldb) print fd
(int) 17
(lldb) si
Process 2600 stopped
* thread #1, name = 'Xorg', stop reason = instruction step into
frame #0: 0x00000008421b7a60 crocus_dri.so`intel_ioctl(fd=-1780496390,
request=0, arg=0x0000000000000011) at intel_gem.h:79
76 */
77 static inline int
78 intel_ioctl(int fd, unsigned long request, void *arg)
-> 79 {
80 int ret;
81
82 do {
(lldb) print fd
(int) -1780496390
(lldb) process status
Process 2600 stopped
* thread #1, name = 'Xorg', stop reason = instruction step into
frame #0: 0x00000008421b7a60 crocus_dri.so`intel_ioctl(fd=-1780496390,
request=0, arg=0x0000000000000011) at intel_gem.h:79
76 */
77 static inline int
78 intel_ioctl(int fd, unsigned long request, void *arg)
-> 79 {
80 int ret;
81
82 do {
(lldb) platform shell procstat -f 2600
PID COMM FD T V FLAGS REF OFFSET PRO NAME
2600 Xorg text v r r------- - - -
/usr/local/libexec/Xorg
2600 Xorg ctty v c rw------ - - - /dev/pts/0
2600 Xorg cwd v d r------- - - - /root
2600 Xorg root v d r------- - - - /
2600 Xorg 0 v c r------- 1 0 - /dev/pts/1
2600 Xorg 1 v c -w------ 1 287 - /dev/pts/1
2600 Xorg 2 v c -w------ 1 1629 - /dev/pts/1
2600 Xorg 3 v r -w------ 1 5810 - /var/log/Xorg.1.log
2600 Xorg 4 s - rw------ 1 0 UDS 0 0 /tmp/.X11-unix/X1
2600 Xorg 5 v r r------- 1 25699 -
/usr/local/lib/xorg/protocol.txt
2600 Xorg 6 p - rw------ 1 0 - -
2600 Xorg 7 p - rw------ 1 0 - -
2600 Xorg 8 s - rw------ 1 0 UDQ
/var/run/devd.seqpacket.pipe
2600 Xorg 9 v c rw------ 1 0 - /dev/pci
2600 Xorg 10 v c rw------ 1 0 - /dev/mem
2600 Xorg 11 v c rw------ 1 0 - /dev/pci
2600 Xorg 12 v c rw---n-- 1 0 - /dev/ttyv8
2600 Xorg 13 v c rw------ 1 0 - /dev/io
2600 Xorg 14 v c rw------ 5 0 - /dev/drm/0
2600 Xorg 15 v c rw------ 5 0 - /dev/drm/0
2600 Xorg 16 v c rw------ 5 0 - /dev/drm/0
2600 Xorg 17 v c rw------ 5 0 - /dev/drm/0
2600 Xorg 18 v c rw------ 5 0 - /dev/drm/0
(lldb)
Roger
--
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.