From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107277] Raven: pci_pm_suspend takes over 1 second Date: Wed, 18 Jul 2018 15:19:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0238825106==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5055E6EB9C for ; Wed, 18 Jul 2018 15:19:21 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0238825106== Content-Type: multipart/alternative; boundary="15319271611.0bF5bB.22826" Content-Transfer-Encoding: 7bit --15319271611.0bF5bB.22826 Date: Wed, 18 Jul 2018 15:19:21 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D107277 --- Comment #3 from Paul Menzel --- (In reply to Christian K=C3=B6nig from comment #2) > There isn't much you can do here: > > amdgpu_bo_evict_vram [amdgpu] (306.331 ms @ 74.694620) >=20 > This is evacuating the content of VRAM to RAM/disk to make sure we don't > lose screen content while suspended. I do not understand that. The integrated graphics device uses the system RA= M=20 as VRAM doesn=E2=80=99t it? So why does it have to be evicted at all? Also,= I believe it=E2=80=99s 1 GB of VRAM. That means the speed would be 3 GB/s, where it s= hould be much higher with DDR4 shouldn=E2=80=99t it? > > amdgpu_fence_driver_suspend [amdgpu] (0.023 ms @ 75.000953) >=20 > Waiting for the evacuation to be completed. >=20 > > amdgpu_device_ip_suspend [amdgpu] (694.390 ms @ 75.000977) >=20 > This is hardware teardown and rather interesting and the only point we co= uld > actually do something. Can you figure out what takes so long here? I=E2=80=99ll try to figure that out. > > amdgpu_bo_evict_vram [amdgpu] (24.217 ms @ 75.695369) >=20 > Again evacuating VRAM which was locked before because the hardware was st= ill > using it. --=20 You are receiving this mail because: You are the assignee for the bug.= --15319271611.0bF5bB.22826 Date: Wed, 18 Jul 2018 15:19:21 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 3 on bug 10727= 7 from Paul Menzel
(In reply to Christian K=C3=B6nig from comment #2)
> There isn't much you can do here:
> > amdgpu_bo_evict_vram [amdgpu] (306.331 ms @ 74.694620)
>=20
> This is evacuating the content of VRAM to RAM/disk to make sure we don=
't
> lose screen content while suspended.

I do not understand that. The integrated graphics device uses the system RA=
M=20
as VRAM doesn=E2=80=99t it? So why does it have to be evicted at all? Also,=
 I believe
it=E2=80=99s 1 GB of VRAM. That means the speed would be 3 GB/s, where it s=
hould be
much higher with DDR4 shouldn=E2=80=99t it?

> > amdgpu_fence_driver_suspend [amdgpu] (0.023=
 ms @ 75.000953)
>=20
> Waiting for the evacuation to be completed.
>=20
> > amdgpu_device_ip_suspend [amdgpu] (694.390 ms @ 75.000977)
>=20
> This is hardware teardown and rather interesting and the only point we=
 could
> actually do something. Can you figure out what takes so long here?

I=E2=80=99ll try to figure that out.

> > amdgpu_bo_evict_vram [amdgpu] (24.217 ms &#=
64; 75.695369)
>=20
> Again evacuating VRAM which was locked before because the hardware was=
 still
> using it.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15319271611.0bF5bB.22826-- --===============0238825106== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0238825106==--