From: Zhao Yakui Date: Mon, 22 Mar 2010 14:45:36 +0000 (+0800) Subject: drm/i915: Move Pineview CxSR and watermark code into update_wm hook. X-Git-Tag: v2.6.35-rc1~451^2~91^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4294342fd4b94a3297867da00c1c5e929c28d4f;p=pandora-kernel.git drm/i915: Move Pineview CxSR and watermark code into update_wm hook. Previously, after setting up the Pineview CxSR state, i9xx_update_wm would get called and overwrite our state. BTW: We will disable the self-refresh and never enable it any more if we can't find the appropriate the latency on pineview plaftorm. In such case the update_wm callback will be NULL. The bitmask macro is also defined to access the corresponding fifo watermark register. Signed-off-by: Zhao Yakui Signed-off-by: Zhenyu Wang --- Reading git-diff-tree failed