RE: Regression: Kaveri VCE ring test fails

2018-08-22 Thread Zhu, Rex
Hi Michel,

Thanks. I know the root cause, and will fix this issue today.

Best Regards
Rex

> -Original Message-
> From: Michel Dänzer 
> Sent: Thursday, August 23, 2018 12:31 AM
> To: Zhu, Rex 
> Cc: amd-gfx@lists.freedesktop.org
> Subject: Regression: Kaveri VCE ring test fails
> 
> 
> Hi Rex,
> 
> 
> I bisected a regression to your "drm/amd/pp: Unify
> powergate_uvd/vce/mmhub to set_powergating_by_smu" change. Since this
> change, the VCE ring test fails on this Kaveri laptop, which prevents the
> amdgpu driver from initializing at all, see the the attached kern.log.
> 
> If I disable VCE via the ip_block_mask module parameter, I get an oops in
> kv_dpm_get_sclk called from amdkfd, see the attached no-vce.log.
> 
> 
> Since the change above landed for 4.19-rc1, the regression should be fixed
> before the final 4.19 release if at all possible.
> 
> 
> Note that before this change, the VCE IB test has always (as far as I
> remember) failed on this machine, see the attached vce-ib-fail.log. But I 
> don't
> care about that too much, as I don't need VCE, and I haven't noticed any
> other issues related to that.
> 
> 
> P.S. Somebody else bisected a Mullins issue to the same commit:
> https://bugs.freedesktop.org/show_bug.cgi?id=107595
> 
> --
> Earthling Michel Dänzer   |   http://www.amd.com
> Libre software enthusiast | Mesa and X developer
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


Regression: Kaveri VCE ring test fails

2018-08-22 Thread Michel Dänzer

Hi Rex,


I bisected a regression to your "drm/amd/pp: Unify
powergate_uvd/vce/mmhub to set_powergating_by_smu" change. Since this
change, the VCE ring test fails on this Kaveri laptop, which prevents
the amdgpu driver from initializing at all, see the the attached kern.log.

If I disable VCE via the ip_block_mask module parameter, I get an oops
in kv_dpm_get_sclk called from amdkfd, see the attached no-vce.log.


Since the change above landed for 4.19-rc1, the regression should be
fixed before the final 4.19 release if at all possible.


Note that before this change, the VCE IB test has always (as far as I
remember) failed on this machine, see the attached vce-ib-fail.log. But
I don't care about that too much, as I don't need VCE, and I haven't
noticed any other issues related to that.


P.S. Somebody else bisected a Mullins issue to the same commit:
https://bugs.freedesktop.org/show_bug.cgi?id=107595

-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast | Mesa and X developer
Aug 21 10:20:37 thor kernel: [4.429726] [drm] amdgpu kernel modesetting enabled.
Aug 21 10:20:37 thor kernel: [4.434379] thermal LNXTHERM:04: registered as thermal_zone4
Aug 21 10:20:37 thor kernel: [4.435586] ACPI: Thermal Zone [BATZ] (27 C)
Aug 21 10:20:37 thor kernel: [4.438045] ohci-pci: OHCI PCI platform driver
Aug 21 10:20:37 thor kernel: [4.438785] Parsing CRAT table with 1 nodes
Aug 21 10:20:37 thor kernel: [4.440120] ohci-pci :00:12.0: OHCI PCI host controller
Aug 21 10:20:37 thor kernel: [4.440522] Creating topology SYSFS entries
Aug 21 10:20:37 thor kernel: [4.441676] ohci-pci :00:12.0: new USB bus registered, assigned bus number 5
Aug 21 10:20:37 thor kernel: [4.442936] Topology: Add APU node [0x0:0x0]
Aug 21 10:20:37 thor kernel: [4.444233] ohci-pci :00:12.0: irq 18, io mem 0xd684e000
Aug 21 10:20:37 thor kernel: [4.445142] Finished initializing topology
Aug 21 10:20:37 thor kernel: [4.445268] kfd kfd: Initialized module
Aug 21 10:20:37 thor kernel: [4.449415] checking generic (c000 30) vs hw (c000 1000)
Aug 21 10:20:37 thor kernel: [4.449420] fb: switching to amdgpudrmfb from EFI VGA
Aug 21 10:20:37 thor kernel: [4.450767] Console: switching to colour dummy device 80x25
Aug 21 10:20:37 thor kernel: [4.455227] [drm] initializing kernel modesetting (KAVERI 0x1002:0x130A 0x103C:0x2234 0x00).
Aug 21 10:20:37 thor kernel: [4.455359] [drm] register mmio base: 0xD680
Aug 21 10:20:37 thor kernel: [4.455380] [drm] register mmio size: 262144
Aug 21 10:20:37 thor kernel: [4.455415] [drm] add ip block number 0 
Aug 21 10:20:37 thor kernel: [4.455437] [drm] add ip block number 1 
Aug 21 10:20:37 thor kernel: [4.455458] [drm] add ip block number 2 
Aug 21 10:20:37 thor kernel: [4.455479] [drm] add ip block number 3 
Aug 21 10:20:37 thor kernel: [4.455499] [drm] add ip block number 4 
Aug 21 10:20:37 thor kernel: [4.455521] [drm] add ip block number 5 
Aug 21 10:20:37 thor kernel: [4.455542] [drm] add ip block number 6 
Aug 21 10:20:37 thor kernel: [4.455562] [drm] add ip block number 7 
Aug 21 10:20:37 thor kernel: [4.455582] [drm] add ip block number 8 
Aug 21 10:20:37 thor kernel: [4.480652] [drm] BIOS signature incorrect 0 0
Aug 21 10:20:37 thor kernel: [4.480716] resource sanity check: requesting [mem 0x000c-0x000d], which spans more than PCI Bus :00 [mem 0x000c-0x000c3fff window]
Aug 21 10:20:37 thor kernel: [4.480825] caller pci_map_rom+0x58/0xe0 mapping multiple BARs
Aug 21 10:20:37 thor kernel: [4.482188] ATOM BIOS: BR45464.001
Aug 21 10:20:37 thor kernel: [4.483717] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
Aug 21 10:20:37 thor kernel: [4.483764] amdgpu :00:01.0: VRAM: 1024M 0x00F4 - 0x00F43FFF (1024M used)
Aug 21 10:20:37 thor kernel: [4.483804] amdgpu :00:01.0: GART: 1024M 0x - 0x3FFF
Aug 21 10:20:37 thor kernel: [4.483850] [drm] Detected VRAM RAM=1024M, BAR=1024M
Aug 21 10:20:37 thor kernel: [4.483875] [drm] RAM width 128bits UNKNOWN
Aug 21 10:20:37 thor kernel: [4.484472] [TTM] Zone  kernel: Available graphics memory: 3568746 kiB
Aug 21 10:20:37 thor kernel: [4.484537] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
Aug 21 10:20:37 thor kernel: [4.484563] [TTM] Initializing pool allocator
Aug 21 10:20:37 thor kernel: [4.484620] [TTM] Initializing DMA pool allocator
Aug 21 10:20:37 thor kernel: [4.485188] [drm] amdgpu: 1024M of VRAM memory ready
Aug 21 10:20:37 thor kernel: [4.485217] [drm] amdgpu: 3072M of GTT memory ready.
Aug 21 10:20:37 thor kernel: [4.485316] [drm] GART: num cpu pages 262144, num gpu pages 262144
Aug 21 10:20:37 thor kernel: [4.486477] [drm] PCIE GART of 1024M enabled (table at 0x00F40030).
Aug