--- drivers/gpu/drm/drm_fb_helper.c.orig 2022-08-27 22:41:18 UTC +++ drivers/gpu/drm/drm_fb_helper.c @@ -1827,7 +1827,6 @@ static void drm_setup_crtcs_fb(struct drm_fb_helper *f } drm_connector_list_iter_end(&conn_iter); -#ifdef __linux__ switch (sw_rotations) { case DRM_MODE_ROTATE_0: info->fbcon_rotate_hint = FB_ROTATE_UR; @@ -1849,7 +1848,6 @@ static void drm_setup_crtcs_fb(struct drm_fb_helper *f */ info->fbcon_rotate_hint = FB_ROTATE_UR; } -#endif } /* Note: Drops fb_helper->lock before returning. */