Skip to content

Commit

Permalink
vc4_place: Don't reject fractional source coords
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Feb 5, 2021
1 parent 8f394d9 commit ab3ef7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/gpu/drm/vc4/vc4_plane.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,8 @@ static int vc4_plane_setup_clipping_and_scaling(struct drm_plane_state *state)
(state->src.x2 & subpixel_src_mask) ||
(state->src.y1 & subpixel_src_mask) ||
(state->src.y2 & subpixel_src_mask)) {
return -EINVAL;
DRM_DEBUG_KMS("Invalid subpixel scaling %x %x %x %x (%x)\n", state->src.x1, state->src.x2, state->src.y1, state->src.y2, subpixel_src_mask);
//return -EINVAL;
}

vc4_state->src_x = state->src.x1 >> 16;
Expand Down

0 comments on commit ab3ef7a

Please sign in to comment.