|
@@ -320,6 +320,9 @@ static int vc4_plane_setup_clipping_and_scaling(struct drm_plane_state *state)
|
|
vc4_state->x_scaling[0] = VC4_SCALING_TPZ;
|
|
vc4_state->x_scaling[0] = VC4_SCALING_TPZ;
|
|
if (vc4_state->y_scaling[0] == VC4_SCALING_NONE)
|
|
if (vc4_state->y_scaling[0] == VC4_SCALING_NONE)
|
|
vc4_state->y_scaling[0] = VC4_SCALING_TPZ;
|
|
vc4_state->y_scaling[0] = VC4_SCALING_TPZ;
|
|
|
|
+ } else {
|
|
|
|
+ vc4_state->x_scaling[1] = VC4_SCALING_NONE;
|
|
|
|
+ vc4_state->y_scaling[1] = VC4_SCALING_NONE;
|
|
}
|
|
}
|
|
|
|
|
|
vc4_state->is_unity = (vc4_state->x_scaling[0] == VC4_SCALING_NONE &&
|
|
vc4_state->is_unity = (vc4_state->x_scaling[0] == VC4_SCALING_NONE &&
|