Yuanhan Liu 7ccb4a53eb drm/i915: Re-enable self-refresh
A broken implementation of is_pot() prevented the detection of when a
singular pipe was enabled. Eric Anholt pointed out the existence of
is_power_of_2() so use that instead of our broken code!

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35402
Signed-off-by: Yuanhan Liu <yuanhan.liu@intel.com>
Tested-by: xunx.fang@intel.com
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-03-23 06:41:20 +00:00
..
2011-03-03 11:53:25 -05:00
2011-01-13 08:03:09 -08:00
2011-03-23 06:41:20 +00:00
2011-01-20 21:37:29 +10:30
2011-03-02 10:57:50 +01:00
2011-03-03 11:55:43 -08:00
2011-01-12 04:59:44 -05:00
2011-02-28 12:06:20 -08:00
2011-02-01 16:48:46 +02:00