xserver/hw/xfree86/drivers
Olivier Fourdan a85e94a50c 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: Olivier Fourdan <ofourdan@redhat.com>
Tested-by: Tomas Pelka <tpelka@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
2018-06-26 17:19:19 -07:00
..
modesetting modesetting: use drmmode_bo_import() for rotate_fb 2018-06-26 17:19:19 -07:00
Makefile.am modesetting: Connect the driver to the build. 2014-09-16 16:28:42 -07:00