commit | 7ccb4a53eb03c9196646ca0c2a97558313e886f1 | [log] [tgz] |
---|---|---|
author | Yuanhan Liu <yuanhan.liu@intel.com> | Fri Mar 18 07:37:35 2011 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Wed Mar 23 06:41:20 2011 +0000 |
tree | bbfb6b4d59a7acc9bd74ccbbf9da3e0adb966b73 | |
parent | 09bfa51773c1e90f13000dc2fc0c4b84047009bc [diff] |
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>