RE: [PATCH xf86-video-ati] Pass pitch from drmmode_crtc_scanout_allocate to drmmode_create_bo_pixmap

2017-01-06 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Michel Dänzer > Sent: Friday, January 06, 2017 3:37 AM > To: amd-gfx@lists.freedesktop.org > Subject: [PATCH xf86-video-ati] Pass pitch from > drmmode_crt

[PATCH xf86-video-ati] Pass pitch from drmmode_crtc_scanout_allocate to drmmode_create_bo_pixmap

2017-01-06 Thread Michel Dänzer
From: Michel Dänzer radeon_bo_get_tiling can fail, e.g. for linear BOs. Fixes TearFree not working in those cases. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97873 Signed-off-by: Michel Dänzer --- src/drmmode_display.c | 24 +--- 1 file changed, 9 insertions(+)