drm/i915: Don't call intel_update_fbc from intel_crtc_cursor_set
commit4781f20f29926ec68715f5cc930273a79fc0a9eb
authorBrian Rogers <brian@xyzw.org>
Mon, 28 Sep 2009 22:41:08 +0000 (28 15:41 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 28 Sep 2009 23:03:21 +0000 (28 16:03 -0700)
tree470ebb13271b823392d5d9eaafb745009eeb3504
parent17d857be649a21ca90008c6dc425d849fa83db5c
drm/i915: Don't call intel_update_fbc from intel_crtc_cursor_set

Commit 74dff282 exposed this unnecessary call by causing a change in
the failure path on i965 where framebuffer compression will be turned
on and off on every cursor update. If you don't have the xf86-video-intel
fix to avoid the blinking cursor effect, this is very slow.

Symptoms were a far more noticeable cursor blink with every cursor image
change combined with severe slowdown for animated cursors.

Signed-off-by: Brian Rogers <brian@xyzw.org>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c