[Bug 107277] Raven: pci_pm_suspend takes over 1 second
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jul 18 15:37:10 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=107277
--- Comment #4 from Alex Deucher <alexdeucher at gmail.com> ---
(In reply to Paul Menzel from comment #3)
> (In reply to Christian König from comment #2)
> > There isn't much you can do here:
> > > amdgpu_bo_evict_vram [amdgpu] (306.331 ms @ 74.694620)
> >
> > 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 RAM
> as VRAM doesn’t it? So why does it have to be evicted at all? Also, I
> believe it’s 1 GB of VRAM. That means the speed would be 3 GB/s, where it
> should be much higher with DDR4 shouldn’t it?
It's not a problem with S3 (suspend to ram), but it is for S4 (suspend to disk)
because power will be lost and the vram carve out area is not managed by the
OS. Currently S3 and S4 share the same code paths, so they would need to be
reworked to handle S3 and S4 differently. As for the time it takes, depending
on how much system memory is in use, some stuff may have to be swapped out to
disk to make room for all of the buffers in vram, so a lot of shuffling may
need to take place.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180718/d09b47aa/attachment-0001.html>
More information about the dri-devel
mailing list