]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
two-step: Remove workaround for upside-down panels
authorHans de Goede <hdegoede@redhat.com>
Mon, 14 Oct 2019 06:11:07 +0000 (08:11 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 14 Oct 2019 06:12:49 +0000 (08:12 +0200)
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 <hdegoede@redhat.com>
src/plugins/splash/two-step/plugin.c

index 9e648d24949e18b0095ebfdd4d1c084d8b8b26bc..e666cfb5116876334b173d58f85679d538ee7fbf 100644 (file)
@@ -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);
         }