Poor graphics performance after suspend to RAM
Resuming after suspending my system to RAM, I have very poor graphics performance. Playing a 4K video (see details in my downstream bug report), for example, causes severe performance issues showing even when trying to move the mouse cursor.
Originally, I had filed an issue against the linux package of archlinux: https://bugs.archlinux.org/task/65393.
My laptop has hybrid graphics. The integrated GPU is an Intel HD 4600 (CPU: i7-4700MQ).
I was able to run a bisection and to find the offending commit:
489d1953c12ea4e7b36f20219fb2a6b1896c1f80 is the first bad commit
commit 489d1953c12ea4e7b36f20219fb2a6b1896c1f80
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Fri Nov 1 14:10:07 2019 +0000
drm/i915/gem: Leave reloading kernel context on resume to GT
As we already do reload the kernel context in intel_gt_resume, repeating
that action inside i915_gem_resume() as well is redundant.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191101141009.15581-2-chris@chris-wilson.co.uk
(cherry picked from commit c8f6cfc56fc86999725e71a19d91269482bd2c01)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/gem/i915_gem_pm.c | 30 ------------------------------
1 file changed, 30 deletions(-)