drm/i915: Enable self-refresh for Ironlake

We disabled this a while ago as it was inexplicably broken. However, it
now appears to work...

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2010-12-04 23:48:40 +00:00
parent 1ec14ad313
commit f7746f0e1f

View File

@ -3456,7 +3456,7 @@ static void ironlake_update_wm(struct drm_device *dev,
* display plane is used. * display plane is used.
*/ */
tmp = 0; tmp = 0;
if (enabled == 1 && /* XXX disabled due to buggy implmentation? */ 0) { if (enabled == 1) {
unsigned long line_time_us; unsigned long line_time_us;
int small, large, plane_fbc; int small, large, plane_fbc;
int sr_clock, entries; int sr_clock, entries;