diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-03-17 03:18:29 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-03-23 02:41:02 -0400 |
commit | 00d70b15125030391d17baab2c2f70f93b3339a6 (patch) | |
tree | 92bf3c5349bfaab6f4c82f62a5cf5480ec2c8a5e /drivers/hwmon | |
parent | 762237bb714b0cd93ce2405ccc891fadb405c26e (diff) |
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
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions