[Mesa-dev] [PATCH] xa: add xa_surface_from_handle2 v2

2015-09-02 Thread Thomas Hellstrom
From: Rob Clark Like xa_surface_from_handle(), but takes a handle type, rather than hard-coding 'shared' handle. This is needed to fix bugs seen with xf86-video-freedreno with xrandr rotation, for example. The root issue is that doing a GEM_OPEN ioctl on a bo that already has a GEM handle assoc

[Mesa-dev] [PATCH] xa: add xa_surface_from_handle2

2015-07-21 Thread Rob Clark
From: Rob Clark Like xa_surface_from_handle(), but takes a handle type, rather than hard-coding 'shared' handle. This is needed to fix bugs seen with xf86-video-freedreno with xrandr rotation, for example. The root issue is that doing a GEM_OPEN ioctl on a bo that already has a GEM handle assoc