drm/i915: Fix gen3 self-refresh watermarks
Subsystems (2)
PATCH 1/1 drm/i915: Fix gen3 self-refresh watermarks
This regression has been introduced in
commit 4fe8590a921d0b2e36e542dbfa89a8c5993f5a3f
Author: Ville Syrjälä <[email protected]> Date: Wed Sep 4 18:25:22 2013 +0300
drm/i915: Use adjusted_mode appropriately when computing watermarks
I guess we should renable the enabled local variable into something a notch more descriptive, but that's something for -next.
The effect on my i945gme netbook is pretty severe amounts of underruns
- usually the very first pixel gets used for the entire screeen.
--- drivers/gpu/drm/i915/intel_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_pm.c +1 -1
@@ -1625,7 +1625,7 @@ static void i9xx_update_wm(struct drm_crtc *unused_crtc) &to_intel_crtc (enabled)->config.adjusted_mode;int clock = adjusted_mode->crtc_clock;int htotal = adjusted_mode->htotal; -int hdisplay =to_intel_crtc (crtc)->config.pipe_src_w; +int hdisplay =to_intel_crtc (enabled)->config.pipe_src_w;int pixel_size = enabled->fb->bits_per_pixel /8 ;unsigned long line_time_us;int entries;
Signature · 6 lines
1.8.1.4 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 11 lines · Daniel Vetter
This regression has been introduced in
commit
4fe8590a921d0b2e36e542dbfa89a8c5993f5a3fAuthor: Ville Syrjälä <[email protected]> Date: Wed Sep 4 18:25:22 2013 +0300drm/i915: Use
adjusted_modeappropriately when computing watermarksI guess we should renable the enabled local variable into something a notch more descriptive, but that's something for -next.
Quoted 6 lines
The effect on my i945gme netbook is pretty severe amounts of underruns
- usually the very first pixel gets used for the entire screeen.Cc Ville Syrjälä <[email protected]>Cc Damien Lespiau <[email protected]>Signed-off-by Daniel Vetter <[email protected]>
Dang. Copy paste fail on my part :( The fix looks good.
Quoted 19 lines
--- drivers/gpu/drm/i915/intel_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/intel_pm.c +1
-1@@ -1625,7 +1625,7 @@ static void i9xx_update_wm(struct drm_crtc *unused_crtc) &to_intel_crtc (enabled)->config.adjusted_mode;int clock = adjusted_mode->crtc_clock;int htotal = adjusted_mode->htotal; -int hdisplay =to_intel_crtc (crtc)->config.pipe_src_w; +int hdisplay =to_intel_crtc (enabled)->config.pipe_src_w;int pixel_size = enabled->fb->bits_per_pixel /8 ;unsigned long line_time_us;int entries;Signature · 1 line
1.8.1.4
Signature · 2 lines
Ville Syrjälä Intel OTC
Daniel Vetter
AppliedQuoted 15 lines · Ville Syrjälä
Quoted 14 lines · Daniel Vetter
This regression has been introduced in
commit
4fe8590a921d0b2e36e542dbfa89a8c5993f5a3fAuthor: Ville Syrjälä <[email protected]> Date: Wed Sep 4 18:25:22 2013 +0300drm/i915: Use
adjusted_modeappropriately when computing watermarksI guess we should renable the enabled local variable into something a notch more descriptive, but that's something for -next.
The effect on my i945gme netbook is pretty severe amounts of underruns
- usually the very first pixel gets used for the entire screeen.
Quoted 7 lines
Quoted 3 lines
Cc Ville Syrjälä <[email protected]>Cc Damien Lespiau <[email protected]>Signed-off-by Daniel Vetter <[email protected]>Dang. Copy paste fail on my part :( The fix looks good.
Reviewed-by Ville Syrjälä <[email protected]>
Queued for -next, thanks for the review.
-Daniel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch