kernel-ark/drivers/gpu
Chris Wilson 00d70b1512 drm/i915: skip redundant operations whilst enabling pipes and planes
If the pipe or plane is already enabled, then we do not need to enable
it again and can skip the delay. Similarly if it is already disabled
when we want to disable it, we can also skip it.

This fixes a regression from b24e717988, which caused the LVDS
output on one PineView machine to become corrupt after changing
orientation several times.

References: https://bugs.freedesktop.org/show_bug.cgi?id=34601
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Keith Packard <keithp@keithp.com>
Tested-by: mengmeng.meng@intel.com
2011-03-23 06:41:02 +00:00
..
drm drm/i915: skip redundant operations whilst enabling pipes and planes 2011-03-23 06:41:02 +00:00
stub gpu/stub: fix acpi_video build error, fix stub kconfig dependencies 2011-02-04 12:48:18 +10:00
vga Merge remote branch 'linus/master' into drm-intel-fixes 2011-01-24 18:27:32 +00:00
Makefile