Skip to content
Snippets Groups Projects
Commit a85e94a5 authored by Olivier Fourdan's avatar Olivier Fourdan :tools: Committed by Keith Packard
Browse files

modesetting: use drmmode_bo_import() for rotate_fb

drmmode_shadow_allocate() still uses drmModeAddFB() which may fail if
the format is not as expected, preventing from using a rotated output.

Change it to use the new function drmmode_bo_import() which takes care
of calling the drmModeAddFB2() API.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106715


Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
Tested-by: default avatarTomas Pelka <tpelka@redhat.com>
Reviewed-by: Lyude Paul's avatarLyude Paul <lyude@redhat.com>
parent f5aace7a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment