Skip to content

Commit 4fdc611

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 <jcalligeros99@gmail.com>
1 parent 451d62f commit 4fdc611

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
@@ -118,8 +118,8 @@ static int apple_plane_atomic_check(struct drm_plane *plane,
118118
*/
119119
return drm_atomic_helper_check_plane_state(new_plane_state,
120120
crtc_state,
121-
FRAC_16_16(1, 4),
122-
FRAC_16_16(2, 1),
121+
FRAC_16_16(1, 2),
122+
FRAC_16_16(4, 1),
123123
true, true);
124124
}
125125

0 commit comments

Comments
 (0)