|
@@ -2123,7 +2123,7 @@ static void ilk_compute_wm_parameters(struct drm_crtc *crtc,
|
|
|
|
|
|
p->active = intel_crtc_active(crtc);
|
|
|
if (p->active) {
|
|
|
- p->pipe_htotal = intel_crtc->config.adjusted_mode.htotal;
|
|
|
+ p->pipe_htotal = intel_crtc->config.adjusted_mode.crtc_htotal;
|
|
|
p->pixel_rate = ilk_pipe_pixel_rate(dev, crtc);
|
|
|
p->pri.bytes_per_pixel = crtc->fb->bits_per_pixel / 8;
|
|
|
p->cur.bytes_per_pixel = 4;
|