|
@@ -2589,7 +2589,7 @@ intel_fill_fb_info(struct drm_i915_private *dev_priv,
|
|
* fb layout agrees with the fence layout. We already check that the
|
|
* fb layout agrees with the fence layout. We already check that the
|
|
* fb stride matches the fence stride elsewhere.
|
|
* fb stride matches the fence stride elsewhere.
|
|
*/
|
|
*/
|
|
- if (i915_gem_object_is_tiled(intel_fb->obj) &&
|
|
|
|
|
|
+ if (i == 0 && i915_gem_object_is_tiled(intel_fb->obj) &&
|
|
(x + width) * cpp > fb->pitches[i]) {
|
|
(x + width) * cpp > fb->pitches[i]) {
|
|
DRM_DEBUG_KMS("bad fb plane %d offset: 0x%x\n",
|
|
DRM_DEBUG_KMS("bad fb plane %d offset: 0x%x\n",
|
|
i, fb->offsets[i]);
|
|
i, fb->offsets[i]);
|