FreeBSDDesktop / kms-drm

the DRM part of the linuxkpi-based KMS
63 stars 26 forks source link

KCQ disabled failed #166

Open pkubaj opened 5 years ago

pkubaj commented 5 years ago

I use drm-fbsd12.0-kmod-4.16.g20190722_1 on FreeBSD 12.0-RELEASE with amdgpu. uname -a: FreeBSD KGPE-D16 12.0-RELEASE-p9 FreeBSD 12.0-RELEASE-p9 r350824 GENERIC amd64

When booting, sometimes I get in dmesg:

[drm] Initialized amdgpu 3.23.0 20150101 for drmn0 on minor 0
amdgpu: [powerplay]
 failed to send message 5e ret is 65535
[drm] Initialized amdgpu 3.23.0 20150101 for drmn0 on minor 0
amdgpu: [powerplay]
 failed to send message 5e ret is 65535
lo0: link state changed to UP
pcib1: HotPlug Command Timed Out - forcing detach
pcm0: detached
pcm1: detached
pcm2: detached
pcm3: detached
pcm4: detached
hdaa0: detached
hdacc0: detached
hdac0: detached
[drm] amdgpu: finishing device.
VT: Switching back from "fb" to "vga".
vgapci0: REPOSTing
[drm:gfx_v8_0_kcq_disable] KCQ disabled failed (scratch(0xC040)=0xCAFEDEAD)
[drm:gfx_v8_0_kcq_disable] KCQ disabled failed (scratch(0xC040)=0xCAFEDEAD)
[drm:gfx_v8_0_kcq_disable] KCQ disabled failed (scratch(0xC040)=0xCAFEDEAD)
[drm:gfx_v8_0_kcq_disable] KCQ disabled failed (scratch(0xC040)=0xCAFEDEAD)
[drm:gfx_v8_0_kcq_disable] KCQ disabled failed (scratch(0xC040)=0xCAFEDEAD)
[drm:gfx_v8_0_kcq_disable] KCQ disabled failed (scratch(0xC040)=0xCAFEDEAD)
[drm:gfx_v8_0_kcq_disable] KCQ disabled failed (scratch(0xC040)=0xCAFEDEAD)
[drm:gfx_v8_0_kcq_disable] KCQ disabled failed (scratch(0xC040)=0xCAFEDEAD)
drmn0: 0xfffff80440778800 unpin not necessary
drmn0: 0xfffff80c445c4000 unpin not necessary
[TTM] Finalizing pool allocator
[TTM] Zone  kernel: Used memory at exit: 0 kiB
[TTM] Zone   dma32: Used memory at exit: 0 kiB
[drm] amdgpu: ttm finalized
vgapci0: child drmn0 requested pci_disable_io
vgapci0: child drmn0 requested pci_disable_io
drmn0: detached
vgapci0: detached
pci1: detached

In such case, I don't get framebuffer console and Xorg doesn't start, but sometimes it works fine. This is with RX560, it has worked fine for 1.5 years previously.

pkubaj commented 5 years ago

After the last update, Xorg pretty much always starts, but I sometimes get panics:

Aug 16 00:32:20 KGPE-D16 kernel: Fatal trap 12: page fault while in kernel mode
Aug 16 00:32:20 KGPE-D16 kernel: cpuid = 5; apic id = 05
Aug 16 00:32:20 KGPE-D16 kernel: fault virtual address  = 0xfffff80840895000
Aug 16 00:32:20 KGPE-D16 kernel: fault code             = supervisor read instruction, protection violation
Aug 16 00:32:20 KGPE-D16 kernel: instruction pointer    = 0x20:0xfffff80840895000
Aug 16 00:32:20 KGPE-D16 kernel: stack pointer          = 0x0:0xfffffe00d09277a8
Aug 16 00:32:20 KGPE-D16 kernel: frame pointer          = 0x0:0xfffffe00d09277e0
Aug 16 00:32:20 KGPE-D16 kernel: code segment           = base 0x0, limit 0xfffff, type 0x1b
Aug 16 00:32:20 KGPE-D16 kernel:                        = DPL 0, pres 1, long 1, def32 0, gran 1
Aug 16 00:32:20 KGPE-D16 kernel: processor eflags       =
Aug 16 00:32:20 KGPE-D16 kernel: interrupt enabled, resume, IOPL = 0
Aug 16 00:32:20 KGPE-D16 kernel: current process                = 12 (irq24: vgapci0)
dmitryluhtionov commented 5 years ago

Add this line to /boot/loader.conf drm.debug="0xf"

pkubaj commented 5 years ago

It looks like adding debug "fixed" it. There has been no panic for about 3 days. I'll post when I get any..

pkubaj commented 4 years ago

No panic, but I again got 0xCAFEDEAD.

vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
[drm:drm_minor_register]
[drm:drm_minor_register]
[drm:drm_minor_register] new minor registered 128
[drm:drm_minor_register]
[drm:drm_minor_register] new minor registered 0
[drm] initializing kernel modesetting (POLARIS11 0x1002:0x67EF 0x1DA2:0xE348 0xE5).
[drm] register mmio base: 0xEE900000
[drm] register mmio size: 262144
[drm] PCI I/O BAR is not found.
[drm:amdgpu_device_ip_block_add] add ip block number 0 <vi_common>
[drm:amdgpu_device_ip_block_add] add ip block number 1 <gmc_v8_0>
[drm:amdgpu_device_ip_block_add] add ip block number 2 <tonga_ih>
[drm:amdgpu_device_ip_block_add] add ip block number 3 <amdgpu_powerplay>
[drm:amdgpu_device_ip_block_add] add ip block number 4 <dce_v11_0>
[drm:amdgpu_device_ip_block_add] add ip block number 5 <gfx_v8_0>
[drm:amdgpu_device_ip_block_add] add ip block number 6 <sdma_v3_0>
[drm:amdgpu_device_ip_block_add] add ip block number 7 <uvd_v6_0>
[drm:amdgpu_device_ip_block_add] add ip block number 8 <vce_v3_0>
[drm] probing gen 2 caps for device 1002:5a16 = 33ed02/0
[drm] probing mlw for device 1002:67ef = 400883
[drm] UVD is enabled in VM mode
[drm] UVD ENC is enabled in VM mode
[drm] VCE enabled in VM mode
[drm:check_atom_bios] ATOMBIOS detected
[drm:amdgpu_atombios_init] PCI I/O BAR is not found. Using MMIO to access ATOM BIOS
ATOM BIOS: 113-A348101E-U11
[drm:amdgpu_atombios_allocate_fb_scratch] atom firmware requested 001fffe0 32kb
[drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
[drm:gmc_v8_0_init_microcode]
ugen1.2: <CHICONY USB NetVista Full Width Keyboard> at usbus1 (disconnected)
ukbd0: at uhub6, port 3, addr 2 (disconnected)
ukbd0: detached
drmn0: successfully loaded firmware image with name: amdgpu/polaris11_mc.bin
drmn0: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
drmn0: GTT: 256M 0x0000000000000000 - 0x000000000FFFFFFF
Successfully added WC MTRR for [0xd0000000-0xdfffffff]: 0;
[drm] Detected VRAM RAM=2048M, BAR=256M
[drm] RAM width 128bits GDDR5
[TTM] Zone  kernel: Available graphics memory: 33531424 kiB
[TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[TTM] Initializing pool allocator
[drm] amdgpu: 2048M of VRAM memory ready
[drm] amdgpu: 3072M of GTT memory ready.
i_size_write unimplemented
[drm] GART: num cpu pages 65536, num gpu pages 65536
[drm] PCIE GART of 256M enabled (table at 0x000000F400040000).
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
[drm:drm_irq_install] irq=65535
[drm:amdgpu_irq_init] amdgpu: irq initialized.
[drm] Connector DP-1: get mode from tunables:
[drm]   - kern.vt.fb.modes.DP-1
[drm]   - kern.vt.fb.default_mode
[drm:drm_sysfs_connector_add] adding "DP-1" to sysfs
[drm:drm_sysfs_hotplug_event] generating hotplug event
[drm:drm_dp_aux_register_devnode] drm_dp_aux_dev: aux [(null)] registered as minor 0
[drm] Connector HDMI-A-1: get mode from tunables:
[drm]   - kern.vt.fb.modes.HDMI-A-1
[drm]   - kern.vt.fb.default_mode
[drm:drm_sysfs_connector_add] adding "HDMI-A-1" to sysfs
[drm:drm_sysfs_hotplug_event] generating hotplug event
[drm] Connector DVI-D-1: get mode from tunables:
[drm]   - kern.vt.fb.modes.DVI-D-1
[drm]   - kern.vt.fb.default_mode
[drm:drm_sysfs_connector_add] adding "DVI-D-1" to sysfs
[drm:drm_sysfs_hotplug_event] generating hotplug event
[drm] AMDGPU Display Connectors
[drm] Connector 0:
[drm]   DP-1
[drm]   HPD5
[drm]   DDC: 0x4868 0x4868 0x4869 0x4869 0x486a 0x486a 0x486b 0x486b
[drm]   Encoders:
[drm]     DFP1: INTERNAL_UNIPHY1
[drm] Connector 1:
[drm]   HDMI-A-1
[drm]   HPD3
[drm]   DDC: 0x4874 0x4874 0x4875 0x4875 0x4876 0x4876 0x4877 0x4877
[drm]   Encoders:
[drm]     DFP2: INTERNAL_UNIPHY1
[drm] Connector 2:
[drm]   DVI-D-1
[drm]   HPD4
[drm]   DDC: 0x4878 0x4878 0x4879 0x4879 0x487a 0x487a 0x487b 0x487b
[drm]   Encoders:
[drm]     DFP3: INTERNAL_UNIPHY
[drm:gfx_v8_0_init_microcode]
drmn0: successfully loaded firmware image with name: amdgpu/polaris11_pfp_2.bin
drmn0: successfully loaded firmware image with name: amdgpu/polaris11_me_2.bin
drmn0: successfully loaded firmware image with name: amdgpu/polaris11_ce_2.bin
[drm] Chained IB support enabled!
drmn0: successfully loaded firmware image with name: amdgpu/polaris11_rlc.bin
drmn0: successfully loaded firmware image with name: amdgpu/polaris11_mec_2.bin
drmn0: successfully loaded firmware image with name: amdgpu/polaris11_mec2_2.bin
i_size_write unimplemented
i_size_write unimplemented
i_size_write unimplemented
i_size_write unimplemented
i_size_write unimplemented
i_size_write unimplemented
i_size_write unimplemented
i_size_write unimplemented
i_size_write unimplemented
i_size_write unimplemented
[drm:sdma_v3_0_init_microcode]
drmn0: successfully loaded firmware image with name: amdgpu/polaris11_sdma.bin
drmn0: successfully loaded firmware image with name: amdgpu/polaris11_sdma1.bin
i_size_write unimplemented
i_size_write unimplemented
drmn0: successfully loaded firmware image with name: amdgpu/polaris11_uvd.bin
[drm] Found UVD firmware Version: 1.130 Family ID: 16
i_size_write unimplemented
i_size_write unimplemented
i_size_write unimplemented
drmn0: successfully loaded firmware image with name: amdgpu/polaris11_vce.bin
[drm] Found VCE firmware Version: 53.26 Binary ID: 3
i_size_write unimplemented
i_size_write unimplemented
i_size_write unimplemented
drmn0: successfully loaded firmware image with name: amdgpu/polaris11_k_smc.bin
[drm:amdgpu_ucode_print_smc_hdr] SMC
[drm:amdgpu_ucode_print_common_hdr] size_bytes: 130228
[drm:amdgpu_ucode_print_common_hdr] header_size_bytes: 36
[drm:amdgpu_ucode_print_common_hdr] header_version_major: 1
[drm:amdgpu_ucode_print_common_hdr] header_version_minor: 0
[drm:amdgpu_ucode_print_common_hdr] ip_version_major: 7
[drm:amdgpu_ucode_print_common_hdr] ip_version_minor: 2
[drm:amdgpu_ucode_print_common_hdr] ucode_version: 0x001d1800
[drm:amdgpu_ucode_print_common_hdr] ucode_size_bytes: 129972
[drm:amdgpu_ucode_print_common_hdr] ucode_array_offset_bytes: 256
[drm:amdgpu_ucode_print_common_hdr] crc32: 0xc583ac8d
[drm:amdgpu_ucode_print_smc_hdr] ucode_start_addr: 131072
[drm:amdgpu_ih_process] [drm:gfx_v8_0_ring_test_ring] amdgpu_ih_process: rptr 0, wptr 32
ring test on 0 succeeded in 24 usecs
[drm:gfx_v8_0_ring_test_ring] [drm:dce_v11_0_pageflip_irq] amdgpu_crtc->pflip_status = 0 != AMDGPU_FLIP_SUBMITTED(2)
[drm:dce_v11_0_pageflip_irq] ring test on 9 succeeded in 7 usecs
[drm:gfx_v8_0_ring_test_ring] amdgpu_crtc->pflip_status = 0 != AMDGPU_FLIP_SUBMITTED(2)
ring test on 1 succeeded in 10 usecs
[drm:gfx_v8_0_ring_test_ring] ring test on 2 succeeded in 5 usecs
[drm:gfx_v8_0_ring_test_ring] ring test on 3 succeeded in 5 usecs
[drm:gfx_v8_0_ring_test_ring] ring test on 4 succeeded in 5 usecs
[drm:gfx_v8_0_ring_test_ring] ring test on 5 succeeded in 5 usecs
[drm:gfx_v8_0_ring_test_ring] ring test on 6 succeeded in 5 usecs
[drm:gfx_v8_0_ring_test_ring] ring test on 7 succeeded in 5 usecs
[drm:gfx_v8_0_ring_test_ring] ring test on 8 succeeded in 5 usecs
[drm:sdma_v3_0_ring_test_ring] ring test on 10 succeeded in 8 usecs
[drm:sdma_v3_0_ring_test_ring] ring test on 11 succeeded in 7 usecs
[drm:uvd_v6_0_ring_test_ring] ring test on 12 succeeded in 1 usecs
[drm:uvd_v6_0_enc_ring_test_ring] ring test on 13 succeeded in 559 usecs
[drm:uvd_v6_0_enc_ring_test_ring] ring test on 14 succeeded in 146 usecs
[drm] UVD and UVD ENC initialized successfully.
[drm:amdgpu_vce_ring_test_ring] ring test on 15 succeeded in 6 usecs
[drm:amdgpu_vce_ring_test_ring] ring test on 16 succeeded in 3 usecs
[drm:amdgpu_vce_ring_test_ring] ring test on 17 succeeded in 2 usecs
[drm] VCE initialized successfully.
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 32, wptr 48
[drm:gfx_v8_0_eop_irq] IH: CP EOP
[drm:amdgpu_ih_process] [drm:gfx_v8_0_ring_test_ib] amdgpu_ih_process: rptr 48, wptr 48
ib test on ring 0 succeeded
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 48, wptr 64
[drm:gfx_v8_0_eop_irq] IH: CP EOP
[drm:amdgpu_ih_process] [drm:gfx_v8_0_ring_test_ib] amdgpu_ih_process: rptr 64, wptr 64
ib test on ring 1 succeeded
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 64, wptr 80
[drm:gfx_v8_0_eop_irq] IH: CP EOP
[drm:amdgpu_ih_process] [drm:gfx_v8_0_ring_test_ib] amdgpu_ih_process: rptr 80, wptr 80
ib test on ring 2 succeeded
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 80, wptr 96
[drm:gfx_v8_0_eop_irq] IH: CP EOP
[drm:amdgpu_ih_process] [drm:gfx_v8_0_ring_test_ib] amdgpu_ih_process: rptr 96, wptr 96
ib test on ring 3 succeeded
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 96, wptr 112
[drm:gfx_v8_0_eop_irq] IH: CP EOP
[drm:amdgpu_ih_process] [drm:gfx_v8_0_ring_test_ib] amdgpu_ih_process: rptr 112, wptr 112
ib test on ring 4 succeeded
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 112, wptr 128
[drm:gfx_v8_0_eop_irq] IH: CP EOP
[drm:amdgpu_ih_process] [drm:gfx_v8_0_ring_test_ib] amdgpu_ih_process: rptr 128, wptr 128
ib test on ring 5 succeeded
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 128, wptr 144
[drm:gfx_v8_0_eop_irq] IH: CP EOP
[drm:amdgpu_ih_process] [drm:gfx_v8_0_ring_test_ib] amdgpu_ih_process: rptr 144, wptr 144
ib test on ring 6 succeeded
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 144, wptr 160
[drm:gfx_v8_0_eop_irq] IH: CP EOP
[drm:amdgpu_ih_process] [drm:gfx_v8_0_ring_test_ib] amdgpu_ih_process: rptr 160, wptr 160
ib test on ring 7 succeeded
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 160, wptr 176
[drm:gfx_v8_0_eop_irq] IH: CP EOP
[drm:amdgpu_ih_process] [drm:gfx_v8_0_ring_test_ib] amdgpu_ih_process: rptr 176, wptr 176
ib test on ring 8 succeeded
[drm:gfx_v8_0_ring_test_ib] ib test on ring 9 succeeded
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 176, wptr 192
[drm:sdma_v3_0_process_trap_irq] IH: SDMA trap
[drm:amdgpu_ih_process] [drm:sdma_v3_0_ring_test_ib] amdgpu_ih_process: rptr 192, wptr 192
ib test on ring 10 succeeded
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 192, wptr 208
[drm:sdma_v3_0_process_trap_irq] IH: SDMA trap
[drm:amdgpu_ih_process] [drm:sdma_v3_0_ring_test_ib] amdgpu_ih_process: rptr 208, wptr 208
ib test on ring 11 succeeded
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 208, wptr 224
[drm:uvd_v6_0_process_interrupt] IH: UVD TRAP
[drm:amdgpu_ih_process] [drm:amdgpu_uvd_ring_test_ib] amdgpu_ih_process: rptr 224, wptr 240
ib test on ring 12 succeeded
[drm:uvd_v6_0_process_interrupt] IH: UVD TRAP
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 240, wptr 272
[drm:uvd_v6_0_process_interrupt] IH: UVD TRAP
[drm:uvd_v6_0_process_interrupt] [drm:uvd_v6_0_enc_ring_test_ib] IH: UVD TRAP
[drm:amdgpu_ih_process] ib test on ring 13 succeeded
amdgpu_ih_process: rptr 272, wptr 272
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 272, wptr 304
[drm:uvd_v6_0_process_interrupt] IH: UVD TRAP
[drm:uvd_v6_0_process_interrupt] [drm:uvd_v6_0_enc_ring_test_ib] IH: UVD TRAP
ib test on ring 14 succeeded
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 304, wptr 320
[drm:vce_v3_0_process_interrupt] IH: VCE
[drm:amdgpu_ih_process] [drm:amdgpu_vce_ring_test_ib] amdgpu_ih_process: rptr 320, wptr 336
[drm:vce_v3_0_process_interrupt] IH: VCE
ib test on ring 15 succeeded
[drm:drm_mode_object_get] OBJ ID: 47 (2)
[drm:drm_mode_object_get] OBJ ID: 49 (2)
[drm:drm_mode_object_get] OBJ ID: 51 (2)
[drm:amdgpu_atombios_encoder_dpms] encoder dpms 32 to mode 3, devices 00000008, active_devices 00000000
[drm:amdgpu_atombios_encoder_dpms] encoder dpms 32 to mode 3, devices 00000080, active_devices 00000000
[drm:amdgpu_atombios_encoder_dpms] encoder dpms 30 to mode 3, devices 00000200, active_devices 00000000
[drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 0: Noop due to uninitialized mode.
[drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 1: Noop due to uninitialized mode.
[drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 2: Noop due to uninitialized mode.
[drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 3: Noop due to uninitialized mode.
[drm:drm_calc_vbltimestamp_from_scanoutpos] crtc 4: Noop due to uninitialized mode.
[drm:drm_setup_crtcs]
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR:47:DP-1]
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:drm_dp_dpcd_access] Too many retries, giving up. First error: -5
[drm:amdgpu_atombios_encoder_set_bios_scratch_regs] DFP1 disconnected
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR:47:DP-1] status updated from unknown to disconnected
[drm:drm_helper_probe_single_connector_modes] [drm:drm_sysfs_hotplug_event] [CONNECTOR:47:DP-1] disconnected
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR:49:HDMI-A-1]
[drm:amdgpu_atombios_encoder_set_bios_scratch_regs] generating hotplug event
DFP2 disconnected
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR:49:HDMI-A-1] status updated from unknown to disconnected
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR:49:HDMI-A-1] disconnected
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR:51:DVI-D-1]
[drm:amdgpu_atombios_encoder_set_bios_scratch_regs] DFP3 connected
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR:51:DVI-D-1] status updated from unknown to connected
[drm:drm_add_display_info] non_desktop set to 0
[drm:drm_edid_to_eld] ELD: no CEA Extension found
[drm:drm_add_display_info] non_desktop set to 0
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR:51:DVI-D-1] probed modes :
[drm:drm_mode_debug_printmodeline] Modeline 53:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x48 0x5
[drm:drm_mode_debug_printmodeline] Modeline 63:"1280x1024" 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
[drm:drm_mode_debug_printmodeline] Modeline 55:"1280x960" 60 108000 1280 1376 1488 1800 960 961 964 1000 0x40 0x5
[drm:drm_mode_debug_printmodeline] Modeline 54:"1152x864" 75 108000 1152 1216 1344 1600 864 865 868 900 0x40 0x5
[drm:drm_mode_debug_printmodeline] Modeline 64:"1024x768" 75 78750 1024 1040 1136 1312 768 769 772 800 0x40 0x5
[drm:drm_mode_debug_printmodeline] Modeline 65:"1024x768" 70 75000 1024 1048 1184 1328 768 771 777 806 0x40 0xa
[drm:drm_mode_debug_printmodeline] Modeline 66:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
[drm:drm_mode_debug_printmodeline] Modeline 67:"832x624" 75 57284 832 864 928 1152 624 625 628 667 0x40 0xa
[drm:drm_mode_debug_printmodeline] Modeline 68:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
[drm:drm_mode_debug_printmodeline] Modeline 69:"800x600" 72 50000 800 856 976 1040 600 637 643 666 0x40 0x5
[drm:drm_mode_debug_printmodeline] Modeline 56:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
[drm:drm_mode_debug_printmodeline] Modeline 57:"800x600" 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
[drm:drm_mode_debug_printmodeline] Modeline 58:"640x480" 75 31500 640 656 720 840 480 481 484 500 0x40 0xa
[drm:drm_mode_debug_printmodeline] Modeline 59:"640x480" 73 31500 640 664 704 832 480 489 492 520 0x40 0xa
[drm:drm_mode_debug_printmodeline] Modeline 60:"640x480" 67 30240 640 704 768 864 480 483 486 525 0x40 0xa
[drm:drm_mode_debug_printmodeline] Modeline 61:"640x480" 60 25175 640 656 752 800 480 490 492 525 0x40 0xa
[drm:drm_mode_debug_printmodeline] Modeline 62:"720x400" 70 28320 720 738 846 900 400 412 414 449 0x40 0x6
[drm:drm_enable_connectors] connector 47 enabled? no
[drm:drm_enable_connectors] connector 49 enabled? no
[drm:drm_enable_connectors] connector 51 enabled? yes
[drm:drm_target_preferred] looking for cmdline mode on connector 51
[drm:drm_target_preferred] looking for preferred mode on connector 51 0
[drm:drm_target_preferred] found mode 1280x1024
[drm:drm_setup_crtcs] picking CRTCs for 16384x16384 config
[drm:drm_setup_crtcs] desired mode 1280x1024 set on crtc 37 (0,0)
[drm:drm_mode_object_get] OBJ ID: 51 (2)
[drm:amdgpu_ih_process] amdgpu_ih_process: rptr 336, wptr 352
[drm:sdma_v3_0_process_trap_irq] <6>[drm] fb mappable at 0xD0568000
IH: SDMA trap
[drm:amdgpu_ih_process] <6>[drm] vram apper at 0xD0000000
[drm] size 5242880
[drm] fb depth is 24
[drm]    pitch is 5120
[drm:drm_fb_helper_hotplug_event] amdgpu_ih_process: rptr 352, wptr 352
VT: Replacing driver "vga" with new "fb".

[drm:drm_setup_crtcs]
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR:47:DP-1]
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
start FB_INFO:
[drm:amdgpu_atombios_dp_process_aux_ch] type=11 height=1024 width=1280 depth=32
cmsize=16 size=5242880
pbase=0xd0568000 vbase=0xfffff800d0568000
name=drmn0 flags=0x0 stride=5120 bpp=32
cmap[0]=0 cmap[1]=7f0000 cmap[2]=7f00 cmap[3]=c4a000
end FB_INFO
dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] drmn0: fb0: amdgpudrmfb frame buffer device
i_size_write unimplemented
dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] <6>[drm] Initialized amdgpu 3.23.0 20150101 for drmn0 on minor 0
dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch]
dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch]
dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:amdgpu_atombios_dp_process_aux_ch] dp_aux_ch flags not zero
[drm:drm_dp_dpcd_access] Too many retries, giving up. First error: -5
[drm:amdgpu_atombios_encoder_set_bios_scratch_regs] DFP1 disconnected
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR:47:DP-1] disconnected
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR:49:HDMI-A-1]
[drm:amdgpu_atombios_encoder_set_bios_scratch_regs] DFP2 disconnected
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR:49:HDMI-A-1] disconnected
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR:51:DVI-D-1]
[drm:amdgpu_atombios_encoder_set_bios_scratch_regs] DFP3 connected
[drm:drm_add_display_info] non_desktop set to 0
[drm:drm_mode_object_put] OBJ ID: 52 (1)
[drm:drm_edid_to_eld] ELD: no CEA Extension found
[drm:drm_add_display_info] non_desktop set to 0
[drm:drm_helper_probe_single_connector_modes] [CONNECTOR:51:DVI-D-1] probed modes :
[drm:drm_mode_debug_printmodeline] Modeline 53:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x48 0x5
[drm:drm_mode_debug_printmodeline] Modeline 63:"1280x1024" 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
[drm:drm_mode_debug_printmodeline] Modeline 55:"1280x960" 60 108000 1280 1376 1488 1800 960 961 964 1000 0x40 0x5
[drm:drm_mode_debug_printmodeline] Modeline 54:"1152x864" 75 108000 1152 1216 1344 1600 864 865 868 900 0x40 0x5
[drm:drm_mode_debug_printmodeline] Modeline 64:"1024x768" 75 78750 1024 1040 1136 1312 768 769 772 800 0x40 0x5
[drm:drm_mode_debug_printmodeline] Modeline 65:"1024x768" 70 75000 1024 1048 1184 1328 768 771 777 806 0x40 0xa
[drm:drm_mode_debug_printmodeline] Modeline 66:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
[drm:drm_mode_debug_printmodeline] Modeline 67:"832x624" 75 57284 832 864 928 1152 624 625 628 667 0x40 0xa
[drm:drm_mode_debug_printmodeline] Modeline 68:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
[drm:drm_mode_debug_printmodeline] Modeline 69:"800x600" 72 50000 800 856 976 1040 600 637 643 666 0x40 0x5
[drm:drm_mode_debug_printmodeline] Modeline 56:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
[drm:drm_mode_debug_printmodeline] Modeline 57:"800x600" 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
[drm:drm_mode_debug_printmodeline] Modeline 58:"640x480" 75 31500 640 656 720 840 480 481 484 500 0x40 0xa
[drm:drm_mode_debug_printmodeline] Modeline 59:"640x480" 73 31500 640 664 704 832 480 489 492 520 0x40 0xa
[drm:drm_mode_debug_printmodeline] Modeline 60:"640x480" 67 30240 640 704 768 864 480 483 486 525 0x40 0xa
[drm:drm_mode_debug_printmodeline] Modeline 61:"640x480" 60 25175 640 656 752 800 480 490 492 525 0x40 0xa
[drm:drm_mode_debug_printmodeline] Modeline 62:"720x400" 70 28320 720 738 846 900 400 412 414 449 0x40 0x6
[drm:drm_enable_connectors] connector 47 enabled? no
[drm:drm_enable_connectors] connector 49 enabled? no
[drm:drm_enable_connectors] connector 51 enabled? yes
[drm:drm_target_preferred] looking for cmdline mode on connector 51
[drm:drm_target_preferred] looking for preferred mode on connector 51 0
[drm:drm_target_preferred] found mode 1280x1024
[drm:drm_setup_crtcs] picking CRTCs for 1280x1024 config
[drm:drm_mode_object_put] OBJ ID: 51 (3)
[drm:drm_setup_crtcs] desired mode 1280x1024 set on crtc 37 (0,0)
[drm:drm_mode_object_get] OBJ ID: 51 (2)
[drm:drm_crtc_helper_set_config]
[drm:drm_crtc_helper_set_config] [CRTC:37:crtc-0] [FB:71] #connectors=1 (x y) (0 0)
[drm:drm_crtc_helper_set_config] crtc has no fb, full mode set
[drm:drm_crtc_helper_set_config] modes are different, full mode set
[drm:drm_mode_debug_printmodeline] Modeline 0:"" 0 0 0 0 0 0 0 0 0 0 0x0 0x0
[drm:drm_mode_debug_printmodeline] Modeline 52:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x48 0x5
[drm:drm_mode_object_get] OBJ ID: 51 (3)
[drm:drm_crtc_helper_set_config] encoder changed, full mode switch
[drm:drm_crtc_helper_set_config] crtc changed, full mode switch
[drm:drm_crtc_helper_set_config] [CONNECTOR:51:DVI-D-1] to [CRTC:37:crtc-0]
[drm:drm_crtc_helper_set_config] attempting to set mode from userspace
[drm:drm_mode_debug_printmodeline] Modeline 52:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x48 0x5
[drm:amdgpu_encoder_set_active_device] setting active device to 00000200 from 00000200 00000200 for encoder 2
[drm:amdgpu_connector_get_monitor_bpc] DVI-D-1: Display bpc=0, returned bpc=8
[drm:drm_crtc_helper_set_mode] [CRTC:37:crtc-0]
[drm:amdgpu_connector_get_monitor_bpc] DVI-D-1: Display bpc=0, returned bpc=8
[drm:amdgpu_atombios_encoder_dpms] encoder dpms 32 to mode 3, devices 00000008, active_devices 00000000
[drm:amdgpu_atombios_encoder_dpms] encoder dpms 32 to mode 3, devices 00000080, active_devices 00000000
[drm:amdgpu_ih_process] [drm:drm_crtc_helper_set_mode] amdgpu_ih_process: rptr 352, wptr 368
[drm:dce_v11_0_pageflip_irq] [ENCODER:50:TMDS-50] set [MODE:52:1280x1024]
[drm:amdgpu_atombios_encoder_dpms] encoder dpms 30 to mode 3, devices 00000200, active_devices 00000200
[drm:dce_v11_0_crtc_load_lut] amdgpu_crtc->pflip_status = 0 != AMDGPU_FLIP_SUBMITTED(2)
0
[drm:amdgpu_atombios_encoder_dpms] [drm:amdgpu_ih_process] encoder dpms 30 to mode 0, devices 00000200, active_devices 00000200
amdgpu_ih_process: rptr 368, wptr 368
[drm:drm_calc_timestamping_constants] crtc 37: hwmode: htotal 1688, vtotal 1066, vdisplay 1024
[drm:drm_calc_timestamping_constants] crtc 37: clock 108000 kHz framedur 16661185 linedur 15629
[drm:drm_crtc_helper_set_config] Setting connector DPMS state to on
[drm:drm_crtc_helper_set_config]        [CONNECTOR:51:DVI-D-1] set DPMS on
[drm:amdgpu_atombios_encoder_dpms] encoder dpms 32 to mode 3, devices 00000008, active_devices 00000000
[drm:amdgpu_atombios_encoder_dpms] encoder dpms 32 to mode 3, devices 00000080, active_devices 00000000
[drm:drm_mode_object_get] OBJ ID: 71 (1)
[drm:drm_crtc_helper_set_config]
[drm:drm_crtc_helper_set_config] [CRTC:39:crtc-1] [NOFB]
[drm:amdgpu_atombios_encoder_dpms] encoder dpms 32 to mode 3, devices 00000008, active_devices 00000000
[drm:amdgpu_atombios_encoder_dpms] encoder dpms 32 to mode 3, devices 00000080, active_devices 00000000
[drm:drm_mode_object_get] OBJ ID: 71 (2)
[drm:drm_mode_object_put] OBJ ID: 71 (3)
[drm:drm_crtc_helper_set_config]
[drm:drm_crtc_helper_set_config] [CRTC:41:crtc-2] [NOFB]
pcib1: HotPlug Command Timed Out - forcing detach
pcm0: detached
pcm1: detached
pcm2: detached
pcm3: detached
pcm4: detached
hdaa0: detached
hdacc0: detached
hdac0: detached
[drm] amdgpu: finishing device.
VT: Switching back from "fb" to "vga".
vgapci0: REPOSTing
[drm:gfx_v8_0_kcq_disable] KCQ disabled failed (scratch(0xC040)=0xCAFEDEAD)
[drm:gfx_v8_0_kcq_disable] KCQ disabled failed (scratch(0xC040)=0xCAFEDEAD)
[drm:gfx_v8_0_kcq_disable] KCQ disabled failed (scratch(0xC040)=0xCAFEDEAD)
[drm:gfx_v8_0_kcq_disable] KCQ disabled failed (scratch(0xC040)=0xCAFEDEAD)
[drm:gfx_v8_0_kcq_disable] KCQ disabled failed (scratch(0xC040)=0xCAFEDEAD)
[drm:gfx_v8_0_kcq_disable] KCQ disabled failed (scratch(0xC040)=0xCAFEDEAD)
[drm:gfx_v8_0_kcq_disable] KCQ disabled failed (scratch(0xC040)=0xCAFEDEAD)
[drm:gfx_v8_0_kcq_disable] KCQ disabled failed (scratch(0xC040)=0xCAFEDEAD)
drmn0: 0xfffff80840225000 unpin not necessary
drmn0: 0xfffff80c44822000 unpin not necessary
[TTM] Finalizing pool allocator
[TTM] Zone  kernel: Used memory at exit: 0 kiB
[TTM] Zone   dma32: Used memory at exit: 0 kiB
[drm] amdgpu: ttm finalized
vgapci0: child drmn0 requested pci_disable_io
vgapci0: child drmn0 requested pci_disable_io
drmn0: detached
vgapci0: detached
pkubaj commented 4 years ago
pkubaj@KGPE-D16:$/usr/home/pkubaj$ uname -a; pkg info | grep drm-fbsd12.0-kmod
FreeBSD KGPE-D16 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 r351392 GENERIC  amd64
drm-fbsd12.0-kmod-4.16.g20190814 DRM modules for the linuxkpi-based KMS components