Skip to content

Commit 6829d47

Browse files
chadmedjannau
authored andcommitted
drm: apple: use correct min/max plane scaling factors
Fix the call to drm_atomic_helper_check_plane_state to use the correct scaling factors. Signed-off-by: James Calligeros <[email protected]>
1 parent 2e415be commit 6829d47

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/gpu/drm/apple/apple_drv.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ static int apple_plane_atomic_check(struct drm_plane *plane,
117117
*/
118118
return drm_atomic_helper_check_plane_state(new_plane_state,
119119
crtc_state,
120-
FRAC_16_16(1, 4),
121-
FRAC_16_16(2, 1),
120+
FRAC_16_16(1, 2),
121+
FRAC_16_16(4, 1),
122122
true, true);
123123
}
124124

0 commit comments

Comments
 (0)