Skip to content

Commit 968bf96

Browse files
committed
drm/i915: Fix skl srckey mask bits
We're incorrectly masking off the R/V channel enable bit from KEYMSK. Fix it up. Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Matt Roper <matthew.d.roper@intel.com> Fixes: b208152 ("drm/i915: Add plane alpha blending support, v2.") Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190125183846.28755-1-ville.syrjala@linux.intel.com Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
1 parent 3d6535c commit 968bf96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/intel_sprite.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ skl_program_plane(struct intel_plane *plane,
493493

494494
keymax = (key->max_value & 0xffffff) | PLANE_KEYMAX_ALPHA(alpha);
495495

496-
keymsk = key->channel_mask & 0x3ffffff;
496+
keymsk = key->channel_mask & 0x7ffffff;
497497
if (alpha < 0xff)
498498
keymsk |= PLANE_KEYMSK_ALPHA_ENABLE;
499499

0 commit comments

Comments
 (0)