[Bug 100941] Improve time to suspend on Radeon HD 6310

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun May 7 08:55:11 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100941

Christian König <deathsimple at vodafone.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
         Resolution|NOTABUG                     |---
             Status|RESOLVED                    |REOPENED
           Priority|medium                      |high

--- Comment #4 from Christian König <deathsimple at vodafone.de> ---
Ah, sorry! Yes that is a known issue on APUs.

See the comment in radeon_bo_evict_vram():

        /* late 2.6.33 fix IGP hibernate - we need pm ops to do this correct */
        if (0 && (rdev->flags & RADEON_IS_IGP)) {
                if (rdev->mc.igp_sideport_enabled == false)
                        /* Useless to evict on IGP chips */
                        return 0;
        }
        return ttm_bo_evict_mm(&rdev->mman.bdev, TTM_PL_VRAM);

The problem is the driver doesn't know if we are suspending or hibernating.

For pure suspending (when system memory is still being refreshed) you don't
need to evict VRAM on APUs.

But for hibernating (when system memory is written to disk) you need to evict
VRAM because the normal OS doesn't know about it and won't back it up.

-- 
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/20170507/314c1207/attachment.html>


More information about the dri-devel mailing list