From b2b6df3271f2c41895719919e8ec542e5fbbe30c Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 14 Oct 2019 08:11:07 +0200 Subject: [PATCH] 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 --- src/plugins/splash/two-step/plugin.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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); }