Re: [PATCH xserver] modesetting: use drmmode_bo_import() for rotate_fb

2018-06-18 Thread Lyude Paul
Reviewed-by: Lyude Paul On Fri, 2018-06-15 at 08:57 +0200, Olivier Fourdan wrote: > 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

Re: [PATCH xserver] modesetting: use drmmode_bo_import() for rotate_fb

2018-06-15 Thread Olivier Fourdan
On Fri, Jun 15, 2018 at 8:57 AM, Olivier Fourdan wrote: > 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

[PATCH xserver] modesetting: use drmmode_bo_import() for rotate_fb

2018-06-15 Thread Olivier Fourdan
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: