]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix OGLC performance regression on 945
authorLi Peng <peng.li@linux.intel.com>
Tue, 9 Feb 2010 17:54:24 +0000 (01:54 +0800)
committerEric Anholt <eric@anholt.net>
Mon, 22 Feb 2010 16:46:56 +0000 (11:46 -0500)
commitcc19537fb9b4ae6912cf2a69a99b3c16e8ad4cf8
treee04c135dfd458337d7f0fc4c79078c9f3f6ba8ab
parent3900d10f7082450754c13186b5b4542b23b14a25
drm/i915: Fix OGLC performance regression on 945

He Shuang reported an OGLC performance regression introduced in the patch
"enable memory self refresh on 9xx", In that patch, SR on 945 is disabled
everytime when calling intel_mark_busy(), while too much of such operation
will impact performance. Actually disable SR is necessary only when GPU and
Crtc changing from idle to busy. This patch make such optimization.

It fixes upstream bug
http://bugs.freedesktop.org/show_bug.cgi?id=26422

Signed-off-by: Li Peng <peng.li@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c