From: Hans de Goede Date: Mon, 14 Oct 2019 06:11:07 +0000 (+0200) Subject: two-step: Remove workaround for upside-down panels X-Git-Tag: 0.9.5~28^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2b6df3271f2c41895719919e8ec542e5fbbe30c;p=thirdparty%2Fplymouth.git two-step: Remove workaround for upside-down panels Now that the drm plugin uses hw-rotation for upside down panels when the GOP does so, there is no need to treat the bgrt rotation for upside-down panels special anymore, Signed-off-by: Hans de Goede --- diff --git a/src/plugins/splash/two-step/plugin.c b/src/plugins/splash/two-step/plugin.c index 9e648d24..e666cfb5 100644 --- a/src/plugins/splash/two-step/plugin.c +++ b/src/plugins/splash/two-step/plugin.c @@ -470,11 +470,7 @@ view_set_bgrt_background (view_t *view) } if (have_panel_props) { - /* Upside-down panels are fixed up in HW by the GOP, so the - * bgrt image is not rotated in this case. - */ - if (panel_rotation != PLY_PIXEL_BUFFER_ROTATE_UPSIDE_DOWN) - ply_pixel_buffer_set_device_rotation (bgrt_buffer, panel_rotation); + ply_pixel_buffer_set_device_rotation (bgrt_buffer, panel_rotation); ply_pixel_buffer_set_device_scale (bgrt_buffer, panel_scale); }