Skip to content

Commit 3e1d87d

Browse files
committed
drm/i915: Fix the state checker for ICL Y planes
The plane used to scan out NV12 luma on ICL is logically off but actually on. Fix the state checker to account for this. Cc: Imre Deak <imre.deak@intel.com> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109457 Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190304131217.4338-1-ville.syrjala@linux.intel.com Reviewed-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
1 parent 993298a commit 3e1d87d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/drm/i915/intel_display.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12589,7 +12589,8 @@ intel_verify_planes(struct intel_atomic_state *state)
1258912589

1259012590
for_each_new_intel_plane_in_state(state, plane,
1259112591
plane_state, i)
12592-
assert_plane(plane, plane_state->base.visible);
12592+
assert_plane(plane, plane_state->slave ||
12593+
plane_state->base.visible);
1259312594
}
1259412595

1259512596
static void

0 commit comments

Comments
 (0)