System display has noise when amdgpu module is being loaded
Submitted by jia..@..sm.com
Assigned to Default DRI bug account
Link to original bug (#106639)
Description
Created attachment 139732
Noise on the display
This is found on the laptop equipped with AMD A4-9120 RADEON R3, 4 COMPUTE CORES 2C+2G. It is seen between BIOS log and Display manager.
To make sure the timing, I have tried with Linux kernel 4.17-rc6. And boot with parameters "systemd.unit=multi-user.target modprobe.blacklist=amdpgu" which makes system boot into command line mode and blacklist the amdgpu module. The noise does not appear during the processes.
However, when I load amdgpu module manually with "sudo modprobe amdgpu", the noise appears on the screen and then system goes back to normal console. This also happens in Linux kernel 4.16.
Here is the part of dmesg when amdgpu module is being loaded:
[ 106.885251] [drm] amdgpu kernel modesetting enabled.
[ 106.886731] checking generic (e0000000 420000) vs hw (e0000000 10000000)
[ 106.886733] fb: switching to amdgpudrmfb from EFI VGA
[ 106.888154] Console: switching to colour dummy device 80x25
[ 106.888710] [drm] initializing kernel modesetting (STONEY 0x1002:0x98E4 0x1025:0x1192 0xE2).
[ 106.888747] [drm] register mmio base: 0xF0C00000
[ 106.888750] [drm] register mmio size: 262144
[ 106.888773] [drm] add ip block number 0 <vi_common>
[ 106.888776] [drm] add ip block number 1 <gmc_v8_0>
[ 106.888780] [drm] add ip block number 2 <cz_ih>
[ 106.888783] [drm] add ip block number 3 <powerplay>
[ 106.888787] [drm] add ip block number 4 <dm>
[ 106.888790] [drm] add ip block number 5 <gfx_v8_0>
[ 106.888793] [drm] add ip block number 6 <sdma_v3_0>
[ 106.888796] [drm] add ip block number 7 <uvd_v6_0>
[ 106.888799] [drm] add ip block number 8 <vce_v3_0>
[ 106.888802] [drm] add ip block number 9 <acp_ip>
[ 106.888818] [drm] UVD is enabled in physical mode
[ 106.888822] [drm] VCE enabled in VM mode
[ 106.888864] ATOM BIOS: SWBRT19987.001
[ 106.888922] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
[ 106.888935] amdgpu 0000:00:01.0: VRAM: 384M 0x000000F400000000 - 0x000000F417FFFFFF (384M used)
[ 106.888940] amdgpu 0000:00:01.0: GTT: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
[ 106.888951] [drm] Detected VRAM RAM=384M, BAR=384M
[ 106.888955] [drm] RAM width 64bits UNKNOWN
[ 106.889041] [TTM] Zone kernel: Available graphics memory: 2870386 kiB
[ 106.889045] [TTM] Zone dma32: Available graphics memory: 2097152 kiB
[ 106.889049] [TTM] Initializing pool allocator
[ 106.889058] [TTM] Initializing DMA pool allocator
[ 106.889136] [drm] amdgpu: 384M of VRAM memory ready
[ 106.889141] [drm] amdgpu: 3072M of GTT memory ready.
[ 106.889160] [drm] GART: num cpu pages 262144, num gpu pages 262144
[ 106.890219] [drm] PCIE GART of 1024M enabled (table at 0x000000F400040000).
[ 106.921115] [drm] Found UVD firmware Version: 1.38 Family ID: 15
[ 106.921151] [drm] UVD ENC is disabled
[ 106.928184] [drm] Found VCE firmware Version: 52.0 Binary ID: 3
[ 106.955239] [drm] DM_PPLIB: values for Engine clock
[ 106.955250] [drm] DM_PPLIB: 20000
[ 106.955253] [drm] DM_PPLIB: 30000
[ 106.955255] [drm] DM_PPLIB: 40000
[ 106.955257] [drm] DM_PPLIB: 46452
[ 106.955259] [drm] DM_PPLIB: 51429
[ 106.955261] [drm] DM_PPLIB: 57600
[ 106.955263] [drm] DM_PPLIB: 62609
[ 106.955265] [drm] DM_PPLIB: 65455
[ 106.955267] [drm] DM_PPLIB: Validation clocks:
[ 106.955270] [drm] DM_PPLIB: engine_max_clock: 65455
[ 106.955272] [drm] DM_PPLIB: memory_max_clock: 80000
[ 106.955274] [drm] DM_PPLIB: level : 0
[ 106.955277] [drm] DM_PPLIB: values for Display clock
[ 106.955280] [drm] DM_PPLIB: 30000
[ 106.955282] [drm] DM_PPLIB: 40000
[ 106.955284] [drm] DM_PPLIB: 49656
[ 106.955285] [drm] DM_PPLIB: 62609
[ 106.955287] [drm] DM_PPLIB: 68572
[ 106.955289] [drm] DM_PPLIB: 75790
[ 106.955291] [drm] DM_PPLIB: 80000
[ 106.955293] [drm] DM_PPLIB: 84706
[ 106.955295] [drm] DM_PPLIB: Validation clocks:
[ 106.955297] [drm] DM_PPLIB: engine_max_clock: 65455
[ 106.955299] [drm] DM_PPLIB: memory_max_clock: 80000
[ 106.955302] [drm] DM_PPLIB: level : 0
[ 106.955304] [drm] DM_PPLIB: values for Memory clock
[ 106.955306] [drm] DM_PPLIB: 66700
[ 106.955308] [drm] DM_PPLIB: 80000
[ 106.955310] [drm] DM_PPLIB: Validation clocks:
[ 106.955312] [drm] DM_PPLIB: engine_max_clock: 65455
[ 106.955314] [drm] DM_PPLIB: memory_max_clock: 80000
[ 106.955317] [drm] DM_PPLIB: level : 0
[ 107.270853] [drm:hwss_wait_for_blank_complete [amdgpu]] ERROR DC: failed to blank crtc!
[ 107.270893] [drm] Display Core initialized with v3.1.38!
[ 107.292567] [drm] SADs count is: -2, don't need to read it
[ 107.293576] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 107.293588] [drm] Driver supports precise vblank timestamp query.
[ 108.322298] [drm] UVD initialized successfully.
[ 108.423218] [drm] VCE initialized successfully.
[ 108.930784] [drm] fb mappable at 0x1874A7000
[ 108.930794] [drm] vram apper at 0x187000000
[ 108.930797] [drm] size 4325376
[ 108.930800] [drm] fb depth is 24
[ 108.930802] [drm] pitch is 5632
[ 108.930932] fbcon: amdgpudrmfb (fb0) is primary device
[ 109.052742] Console: switching to colour frame buffer device 170x48
[ 109.071709] amdgpu 0000:00:01.0: fb0: amdgpudrmfb frame buffer device
[ 109.076266] [drm] Initialized amdgpu 3.25.0 20150101 for 0000:00:01.0 on minor 0
[ 109.076718] modprobe (2992) used greatest stack depth: 11048 bytes left
Attachment 139732, "Noise on the display":