[Bug 249476] graphics/drm-fbsd12.0-kmod i915kms GT2 attach returned 19

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 22 09:38:40 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249476

--- Comment #2 from grarpamp at gmail.com ---
Ok, right... even though those are the most recent,
pkg.freebsd.org is built on sys earlier than BETA1,
often earlier than drm too.

So this revision noted 99da0ba does work for xterm.
https://svnweb.freebsd.org/ports/head/graphics/drm-fbsd12.0-kmod/Makefile?view=markup&pathrev=526717

Compared to legacy, the useful list of supported devices
via 'devmatch -d' is no longer printing the quoted strings...

< PNP info for bus vgapci format I:vendor;I:device;D:#; 84 entries (i915kms.ko)
> PNP info for bus pci format I:vendor;I:device; 217 entries (i915kms.ko)
...
<   0x8086:0x41a:'Intel Haswell (GT2 server)':
>   0x8086:0x41a:
...


Here are the compile warnings...

/drm/drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c:58:35: warning: unused function
'vmw_overlay' [-Wunused-function]
static inline struct vmw_overlay *vmw_overlay(struct drm_device *dev)

/drm/drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c:419:29: warning:
equality comparison with extraneous parentheses [-Wparentheses-equality]
/drm/drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c:419:29: note: remove
extraneous parentheses around the comparison to silence this warning
/drm/drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c:419:29: note: use '='
to turn this equality comparison into an assignment
        if ((data->vdd_gfx_control == SMU7_VOLTAGE_CONTROL_BY_SVID2)) {


load log
kernel: [drm] Unable to create a private tmpfs mount, hugepage support will be
disabled(-19).
kernel: Failed to add WC MTRR for [0xe0000000-0xefffffff]: -22; performance may
suffer

unload log
kernel: Warning: memory type drm_driver leaked memory on destroy (3
allocations, 64 bytes leaked).
kernel: Warning: memory type drm_kms leaked memory on destroy (2 allocations,
1088 bytes leaked).
kernel: Warning: memory type linuxcurrent leaked memory on destroy (3
allocations, 576 bytes leaked).
kernel: Warning: memory type linux leaked memory on destroy (1049 allocations,
231808 bytes leaked).
kernel: Warning: memory type idr leaked memory on destroy (18 allocations, 8448
bytes leaked).

While it appears to unload, it panics and reboots
when starting Xorg again after the second kldload.
But unload is not much important unless for testing drivers.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-x11 mailing list