From: Yuanhan Liu Date: Fri, 18 Mar 2011 07:37:35 +0000 (+0000) Subject: drm/i915: Re-enable self-refresh X-Git-Tag: v2.6.39-rc1~79^2~3^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ccb4a53eb03c9196646ca0c2a97558313e886f1;p=pandora-kernel.git 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 Tested-by: xunx.fang@intel.com Reviewed-by: Keith Packard Signed-off-by: Chris Wilson --- Reading git-diff-tree failed