Ryzen 1600X with mem_encrypt=on

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 25, 2018 at 1:13 PM, Sami Farin <hvtaifwkbgefbaei at gmail.com> wrote:
> Is it supposed to work?  Now if I use that option, monitor powers off
> (no signal) when it's initializing amdgpu and I have to reset the computer.
> Instead of crashing, could it not just give an error or something?

Do you have the IOMMU enabled?  I'm guessing there is some issue in
the IOMMU code or in TTM causing the C bit (bit 47) to get dropped
somewhere.  Your GPU only supports a 40 bit DMA mask, so either IOMMU
or bounce buffers would be required to remap the address into a range
the GPU could access.

Alex

>
> I have Asrock X370 Taichi and Sapphire RX550.
> With mem_encrypt=off it works OK:
>
> [    8.012120] [drm] initializing kernel modesetting (POLARIS12 0x1002:0x699F 0x1DA2:0xE367 0xC7).
> [    8.012199] [drm] register mmio base: 0xFE900000
> [    8.012258] [drm] register mmio size: 262144
> [    8.012321] amdgpu: amdgpu 0000:2d:00.0: kfd not supported on this ASIC
> [    8.012325] [drm] probing gen 2 caps for device 1022:1453 = 737903/e
> [    8.012389] [drm] probing mlw for device 1022:1453 = 737903
> [    8.012464] [drm] UVD is enabled in VM mode
> [    8.012522] [drm] UVD ENC is enabled in VM mode
> [    8.012581] [drm] VCE enabled in VM mode
> [    8.012888] amdgpu 0000:2d:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff
> [    8.012977] ATOM BIOS: 113-3676M-UO1
> [    8.013073] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
> [    8.013147] amdgpu 0000:2d:00.0: using built-in amdgpu/polaris12_mc.bin
> [    8.013154] amdgpu 0000:2d:00.0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used)
> [    8.013228] amdgpu 0000:2d:00.0: GTT: 256M 0x0000000000000000 - 0x000000000FFFFFFF
> [    8.013300] [drm] Detected VRAM RAM=4096M, BAR=256M
> [    8.013360] [drm] RAM width 128bits GDDR5
> [    8.013486] [TTM] Zone  kernel: Available graphics memory: 16455818 kiB
> [    8.013551] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
> [    8.013615] [TTM] Initializing pool allocator
> [    8.013676] [TTM] Initializing DMA pool allocator
> [    8.013799] [drm] amdgpu: 4096M of VRAM memory ready
> [    8.013859] [drm] amdgpu: 4096M of GTT memory ready.
> [    8.013928] [drm] GART: num cpu pages 65536, num gpu pages 65536
> [    8.014074] [drm] PCIE GART of 256M enabled (table at 0x000000F400040000).
> [    8.014186] amdgpu: amdgpu 0000:2d:00.0: amdgpu: using MSI.
> [    8.014230] amdgpu: amdgpu: [powerplay] amdgpu: powerplay sw initialized
>
> --
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux