mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 04:58:00 +02:00
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 <hdegoede@redhat.com>
This commit is contained in:
parent
c598440e49
commit
b2b6df3271
1 changed files with 1 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue