|
@@ -890,7 +890,7 @@ static void intel_fbc_get_reg_params(struct intel_crtc *crtc,
|
|
params->vma = cache->vma;
|
|
params->vma = cache->vma;
|
|
|
|
|
|
params->crtc.pipe = crtc->pipe;
|
|
params->crtc.pipe = crtc->pipe;
|
|
- params->crtc.i9xx_plane = crtc->i9xx_plane;
|
|
|
|
|
|
+ params->crtc.i9xx_plane = to_intel_plane(crtc->base.primary)->i9xx_plane;
|
|
params->crtc.fence_y_offset = get_crtc_fence_y_offset(fbc);
|
|
params->crtc.fence_y_offset = get_crtc_fence_y_offset(fbc);
|
|
|
|
|
|
params->fb.format = cache->fb.format;
|
|
params->fb.format = cache->fb.format;
|
|
@@ -1086,7 +1086,7 @@ void intel_fbc_choose_crtc(struct drm_i915_private *dev_priv,
|
|
if (fbc_on_pipe_a_only(dev_priv) && crtc->pipe != PIPE_A)
|
|
if (fbc_on_pipe_a_only(dev_priv) && crtc->pipe != PIPE_A)
|
|
continue;
|
|
continue;
|
|
|
|
|
|
- if (fbc_on_plane_a_only(dev_priv) && crtc->i9xx_plane != PLANE_A)
|
|
|
|
|
|
+ if (fbc_on_plane_a_only(dev_priv) && plane->i9xx_plane != PLANE_A)
|
|
continue;
|
|
continue;
|
|
|
|
|
|
crtc_state = intel_atomic_get_new_crtc_state(state, crtc);
|
|
crtc_state = intel_atomic_get_new_crtc_state(state, crtc);
|