All of lore.kernel.org
 help / color / mirror / Atom feed
* [Error] amdgpu powerplay ip block error with -22.
@ 2020-01-02  8:21 Yusuf Altıparmak
  2020-01-02  8:58 ` Feng, Kenneth
  0 siblings, 1 reply; 4+ messages in thread
From: Yusuf Altıparmak @ 2020-01-02  8:21 UTC (permalink / raw)
  To: amd-gfx


[-- Attachment #1.1: Type: text/plain, Size: 6293 bytes --]

I am having this error with kernel version 4.19 amdgpu driver for a
polaris12 based GPU. What could be the problem? Any suggestions? Thanks.

*Full dmesg:*
[    5.426009] [drm] amdgpu kernel modesetting enabled.

[    5.430109] [drm] initializing kernel modesetting (POLARIS12
0x1002:0x6987 0x1787:0x2389 0x80).
[    5.437591] [drm] register mmio base: 0x20200000

[    5.440899] [drm] register mmio size: 262144

[    5.443888] [drm] add ip block number 0 <vi_common>

[    5.447465] [drm] add ip block number 1 <gmc_v8_0>

[    5.450953] [drm] add ip block number 2 <tonga_ih>

[    5.454442] [drm] add ip block number 3 <powerplay>

[    5.458018] [drm] add ip block number 4 <dm>

[    5.460979] [drm] add ip block number 5 <gfx_v8_0>

[    5.464466] [drm] add ip block number 6 <sdma_v3_0>

[    5.468042] [drm] add ip block number 7 <uvd_v6_0>

[    5.471531] [drm] add ip block number 8 <vce_v3_0>

[    5.475047] [drm] UVD is enabled in VM mode

[    5.477928] [drm] UVD ENC is enabled in VM mode

[    5.481154] [drm] VCE enabled in VM mode

[    5.712355] ATOM BIOS: 113-ER16BFC-001

[    5.714830] [drm] GPU posting now...

[    5.833704] [drm] vm size is 64 GB, 2 levels, block size is 10-bit,
fragment size is 9-bit
[    5.840950] amdgpu 0001:01:00.0: BAR 2: releasing [mem
0x220000000-0x2201fffff 64bit pref]
[    5.847930] amdgpu 0001:01:00.0: BAR 0: releasing [mem
0x210000000-0x21fffffff 64bit pref]
[    5.855688] [drm:.amdgpu_device_resize_fb_bar [amdgpu]] *ERROR* Problem
resizing BAR0 (-2).
[    5.855706] amdgpu 0001:01:00.0: BAR 0: assigned [mem
0x230000000-0x23fffffff 64bit pref]
[    5.869663] amdgpu 0001:01:00.0: BAR 2: assigned [mem
0x240000000-0x2401fffff 64bit pref]
[    5.876582] amdgpu 0001:01:00.0: VRAM: 4096M 0x000000F400000000 -
0x000000F4FFFFFFFF (4096M used)
[    5.884160] amdgpu 0001:01:00.0: GART: 256M 0x0000000000000000 -
0x000000000FFFFFFF
[    5.890519] [drm] Detected VRAM RAM=4096M, BAR=256M

[    5.894093] [drm] RAM width 128bits GDDR5

[    5.896941] [TTM] Zone  kernel: Available graphics memory: 4062380 kiB

[    5.902177] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB

[    5.907402] [TTM] Initializing pool allocator

[    5.910464] [TTM] Initializing DMA pool allocator

[    5.919973] [drm] amdgpu: 4096M of VRAM memory ready

[    5.923659] [drm] amdgpu: 4096M of GTT memory ready.

[    5.927358] [drm] GART: num cpu pages 65536, num gpu pages 65536

[    5.932957] [drm] PCIE GART of 256M enabled (table at
0x000000F400000000).
[    5.939122] [drm] Chained IB support enabled!

[    5.948873] [drm] Found UVD firmware Version: 1.79 Family ID: 16

[    5.953647] [drm] UVD ENC is disabled

[    5.975818] [drm] Found VCE firmware Version: 52.4 Binary ID: 3

[    6.404774] amdgpu: [powerplay] Failed to send Message.

[    6.835902] amdgpu: [powerplay] SMU Firmware start failed!

[    6.840086] amdgpu: [powerplay] Failed to load SMU ucode.

[    6.844184] amdgpu: [powerplay] smc start failed

*[    6.847498] amdgpu: [powerplay] powerplay hw init failed *

*[    6.852281] [drm:.amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP
block <powerplay> failed -22*
*[    6.859883] amdgpu 0001:01:00.0: amdgpu_device_ip_init failed *

*                                              [    6.864330] amdgpu
0001:01:00.0: Fatal error during GPU init  *
*                                         [    6.868689] [drm] amdgpu:
finishing device. *




*[    7.339427] pcieport 0001:00:00.0: AER: Corrected error received:
0001:00:00.0                                            [    7.345374]
pcieport 0001:00:00.0: PCIe Bus Error: severity=Corrected, type=Data Link
Layer, (Transmitter ID)             [    7.353993] pcieport 0001:00:00.0:
device [1957:0824] error status/mask=00001000/00002000
          [    7.361047] pcieport 0001:00:00.0:    [12] Timeout    *

[    7.706137] amdgpu: [powerplay]

                last message was failed ret is 0

[    8.127667] amdgpu: [powerplay]

                failed to send message 261 ret is 0

[    8.966331] amdgpu: [powerplay]

                last message was failed ret is 0

[    9.320290] pcieport 0001:00:00.0: AER: Corrected error received:
0001:00:00.0
[    9.326226] pcieport 0001:00:00.0: PCIe Bus Error: severity=Corrected,
type=Data Link Layer, (Transmitter ID)
[    9.334845] pcieport 0001:00:00.0:   device [1957:0824] error
status/mask=00001000/00002000
[    9.341899] pcieport 0001:00:00.0:    [12] Timeout

[    9.387975] amdgpu: [powerplay]

                failed to send message 261 ret is 0

[   10.226636] amdgpu: [powerplay]

                last message was failed ret is 0

[   10.648275] amdgpu: [powerplay]

                failed to send message 261 ret is 0

[   11.486932] amdgpu: [powerplay]

                last message was failed ret is 0

[   11.908570] amdgpu: [powerplay]

                failed to send message 261 ret is 0

[   12.747228] amdgpu: [powerplay]

                last message was failed ret is 0

[   13.168866] amdgpu: [powerplay]

                failed to send message 261 ret is 0

[   14.007523] amdgpu: [powerplay]

                last message was failed ret is 0

[   14.429161] amdgpu: [powerplay]

                failed to send message 261 ret is 0

[   15.267816] amdgpu: [powerplay]

                last message was failed ret is 0

[   15.689456] amdgpu: [powerplay]

                failed to send message 261 ret is 0

[   16.528114] amdgpu: [powerplay]

                last message was failed ret is 0

[   16.949756] amdgpu: [powerplay]

                failed to send message 261 ret is 0

[   17.788411] amdgpu: [powerplay]

                last message was failed ret is 0

[   18.210051] amdgpu: [powerplay]

                failed to send message 261 ret is 0

[   19.048710] amdgpu: [powerplay]

                last message was failed ret is 0

[   19.470347] amdgpu: [powerplay]

                failed to send message 261 ret is 0

[   19.786774] [TTM] Finalizing pool allocator

[   19.789696] [TTM] Finalizing DMA pool allocator

[   19.793004] [TTM] Zone  kernel: Used memory at exit: 0 kiB

[   19.797209] [TTM] Zone   dma32: Used memory at exit: 0 kiB

[   19.801410] [drm] amdgpu: ttm finalized

*                            [   19.804496] amdgpu: probe of 0001:01:00.0
failed with error -22  *

[-- Attachment #1.2: Type: text/html, Size: 17393 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [Error] amdgpu powerplay ip block error with -22.
  2020-01-02  8:21 [Error] amdgpu powerplay ip block error with -22 Yusuf Altıparmak
@ 2020-01-02  8:58 ` Feng, Kenneth
  2020-01-02 10:29   ` Yusuf Altıparmak
  0 siblings, 1 reply; 4+ messages in thread
From: Feng, Kenneth @ 2020-01-02  8:58 UTC (permalink / raw)
  To: Yusuf Altıparmak, amd-gfx


[-- Attachment #1.1: Type: text/plain, Size: 6585 bytes --]

[AMD Official Use Only - Internal Distribution Only]

First you could check if the binary 'polaris12_smc.bin' is in your system: /lib/firmware/../amdgpu/
If it's there, then does this happen after a warm reset?
Thanks.


From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Yusuf Altiparmak
Sent: Thursday, January 2, 2020 4:22 PM
To: amd-gfx@lists.freedesktop.org
Subject: [Error] amdgpu powerplay ip block error with -22.

[CAUTION: External Email]
I am having this error with kernel version 4.19 amdgpu driver for a polaris12 based GPU. What could be the problem? Any suggestions? Thanks.

Full dmesg:
[    5.426009] [drm] amdgpu kernel modesetting enabled.
[    5.430109] [drm] initializing kernel modesetting (POLARIS12 0x1002:0x6987 0x1787:0x2389 0x80).
[    5.437591] [drm] register mmio base: 0x20200000
[    5.440899] [drm] register mmio size: 262144
[    5.443888] [drm] add ip block number 0 <vi_common>
[    5.447465] [drm] add ip block number 1 <gmc_v8_0>
[    5.450953] [drm] add ip block number 2 <tonga_ih>
[    5.454442] [drm] add ip block number 3 <powerplay>
[    5.458018] [drm] add ip block number 4 <dm>
[    5.460979] [drm] add ip block number 5 <gfx_v8_0>
[    5.464466] [drm] add ip block number 6 <sdma_v3_0>
[    5.468042] [drm] add ip block number 7 <uvd_v6_0>
[    5.471531] [drm] add ip block number 8 <vce_v3_0>
[    5.475047] [drm] UVD is enabled in VM mode
[    5.477928] [drm] UVD ENC is enabled in VM mode
[    5.481154] [drm] VCE enabled in VM mode
[    5.712355] ATOM BIOS: 113-ER16BFC-001
[    5.714830] [drm] GPU posting now...
[    5.833704] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
[    5.840950] amdgpu 0001:01:00.0: BAR 2: releasing [mem 0x220000000-0x2201fffff 64bit pref]
[    5.847930] amdgpu 0001:01:00.0: BAR 0: releasing [mem 0x210000000-0x21fffffff 64bit pref]
[    5.855688] [drm:.amdgpu_device_resize_fb_bar [amdgpu]] *ERROR* Problem resizing BAR0 (-2).
[    5.855706] amdgpu 0001:01:00.0: BAR 0: assigned [mem 0x230000000-0x23fffffff 64bit pref]
[    5.869663] amdgpu 0001:01:00.0: BAR 2: assigned [mem 0x240000000-0x2401fffff 64bit pref]
[    5.876582] amdgpu 0001:01:00.0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used)
[    5.884160] amdgpu 0001:01:00.0: GART: 256M 0x0000000000000000 - 0x000000000FFFFFFF
[    5.890519] [drm] Detected VRAM RAM=4096M, BAR=256M
[    5.894093] [drm] RAM width 128bits GDDR5
[    5.896941] [TTM] Zone  kernel: Available graphics memory: 4062380 kiB
[    5.902177] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[    5.907402] [TTM] Initializing pool allocator
[    5.910464] [TTM] Initializing DMA pool allocator
[    5.919973] [drm] amdgpu: 4096M of VRAM memory ready
[    5.923659] [drm] amdgpu: 4096M of GTT memory ready.
[    5.927358] [drm] GART: num cpu pages 65536, num gpu pages 65536
[    5.932957] [drm] PCIE GART of 256M enabled (table at 0x000000F400000000).
[    5.939122] [drm] Chained IB support enabled!
[    5.948873] [drm] Found UVD firmware Version: 1.79 Family ID: 16
[    5.953647] [drm] UVD ENC is disabled
[    5.975818] [drm] Found VCE firmware Version: 52.4 Binary ID: 3
[    6.404774] amdgpu: [powerplay] Failed to send Message.
[    6.835902] amdgpu: [powerplay] SMU Firmware start failed!
[    6.840086] amdgpu: [powerplay] Failed to load SMU ucode.
[    6.844184] amdgpu: [powerplay] smc start failed
[    6.847498] amdgpu: [powerplay] powerplay hw init failed
[    6.852281] [drm:.amdgpu_device_init [amdgpu]] *ERROR* hw_init of IP block <powerplay> failed -22
[    6.859883] amdgpu 0001:01:00.0: amdgpu_device_ip_init failed
[    6.864330] amdgpu 0001:01:00.0: Fatal error during GPU init
[    6.868689] [drm] amdgpu: finishing device.
[    7.339427] pcieport 0001:00:00.0: AER: Corrected error received: 0001:00:00.0
[    7.345374] pcieport 0001:00:00.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
[    7.353993] pcieport 0001:00:00.0:   device [1957:0824] error status/mask=00001000/00002000
[    7.361047] pcieport 0001:00:00.0:    [12] Timeout
[    7.706137] amdgpu: [powerplay]
                last message was failed ret is 0
[    8.127667] amdgpu: [powerplay]
                failed to send message 261 ret is 0
[    8.966331] amdgpu: [powerplay]
                last message was failed ret is 0
[    9.320290] pcieport 0001:00:00.0: AER: Corrected error received: 0001:00:00.0
[    9.326226] pcieport 0001:00:00.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
[    9.334845] pcieport 0001:00:00.0:   device [1957:0824] error status/mask=00001000/00002000
[    9.341899] pcieport 0001:00:00.0:    [12] Timeout
[    9.387975] amdgpu: [powerplay]
                failed to send message 261 ret is 0
[   10.226636] amdgpu: [powerplay]
                last message was failed ret is 0
[   10.648275] amdgpu: [powerplay]
                failed to send message 261 ret is 0
[   11.486932] amdgpu: [powerplay]
                last message was failed ret is 0
[   11.908570] amdgpu: [powerplay]
                failed to send message 261 ret is 0
[   12.747228] amdgpu: [powerplay]
                last message was failed ret is 0
[   13.168866] amdgpu: [powerplay]
                failed to send message 261 ret is 0
[   14.007523] amdgpu: [powerplay]
                last message was failed ret is 0
[   14.429161] amdgpu: [powerplay]
                failed to send message 261 ret is 0
[   15.267816] amdgpu: [powerplay]
                last message was failed ret is 0
[   15.689456] amdgpu: [powerplay]
                failed to send message 261 ret is 0
[   16.528114] amdgpu: [powerplay]
                last message was failed ret is 0
[   16.949756] amdgpu: [powerplay]
                failed to send message 261 ret is 0
[   17.788411] amdgpu: [powerplay]
                last message was failed ret is 0
[   18.210051] amdgpu: [powerplay]
                failed to send message 261 ret is 0
[   19.048710] amdgpu: [powerplay]
                last message was failed ret is 0
[   19.470347] amdgpu: [powerplay]
                failed to send message 261 ret is 0
[   19.786774] [TTM] Finalizing pool allocator
[   19.789696] [TTM] Finalizing DMA pool allocator
[   19.793004] [TTM] Zone  kernel: Used memory at exit: 0 kiB
[   19.797209] [TTM] Zone   dma32: Used memory at exit: 0 kiB
[   19.801410] [drm] amdgpu: ttm finalized
[   19.804496] amdgpu: probe of 0001:01:00.0 failed with error -22

[-- Attachment #1.2: Type: text/html, Size: 36557 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Error] amdgpu powerplay ip block error with -22.
  2020-01-02  8:58 ` Feng, Kenneth
@ 2020-01-02 10:29   ` Yusuf Altıparmak
  2020-01-03  6:14     ` Yusuf Altıparmak
  0 siblings, 1 reply; 4+ messages in thread
From: Yusuf Altıparmak @ 2020-01-02 10:29 UTC (permalink / raw)
  To: Feng, Kenneth; +Cc: amd-gfx


[-- Attachment #1.1: Type: text/plain, Size: 415 bytes --]

Hello,

First you could check if the binary ‘polaris12_smc.bin’ is in your system:
> /lib/firmware/../amdgpu/
>
'polaris12_smc.bin' exists in my /lib/firmware/amdgpu folder. There are
also 18 other binaries which starts with 'polaris12_'.

If it’s there, then does this happen after a warm reset?
>

This does happen when booting up the board with ramdisk image (initrfs
stage).

Regards.

>

[-- Attachment #1.2: Type: text/html, Size: 1359 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Error] amdgpu powerplay ip block error with -22.
  2020-01-02 10:29   ` Yusuf Altıparmak
@ 2020-01-03  6:14     ` Yusuf Altıparmak
  0 siblings, 0 replies; 4+ messages in thread
From: Yusuf Altıparmak @ 2020-01-03  6:14 UTC (permalink / raw)
  To: Feng, Kenneth; +Cc: amd-gfx


[-- Attachment #1.1: Type: text/plain, Size: 634 bytes --]

Hello,

Still can't find a solution about this. Anyone can help me about this ?

Regards.


Yusuf Altıparmak <yusufalti1997@gmail.com>, 2 Oca 2020 Per, 13:29 tarihinde
şunu yazdı:

> Hello,
>
> First you could check if the binary ‘polaris12_smc.bin’ is in your system:
>> /lib/firmware/../amdgpu/
>>
> 'polaris12_smc.bin' exists in my /lib/firmware/amdgpu folder. There are
> also 18 other binaries which starts with 'polaris12_'.
>
> If it’s there, then does this happen after a warm reset?
>>
>
> This does happen when booting up the board with ramdisk image (initrfs
> stage).
>
> Regards.
>
>>

[-- Attachment #1.2: Type: text/html, Size: 1788 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-03  6:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-02  8:21 [Error] amdgpu powerplay ip block error with -22 Yusuf Altıparmak
2020-01-02  8:58 ` Feng, Kenneth
2020-01-02 10:29   ` Yusuf Altıparmak
2020-01-03  6:14     ` Yusuf Altıparmak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.