summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-09-02 23:13:33 -0700
committerThomas Hellstrom <[email protected]>2015-09-07 01:25:08 -0700
commit1432a182414352e853bfdad997591598e621fd73 (patch)
treea619a9cd193f98f23385bc15b4caedb56338ccf3 /bin
parent00c568f679413ee627421d5724beb85be3da55c1 (diff)
xa: add xa_surface_from_handle2 v2
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 associated with the drm_file will result in two unique handles for the same bo. Which causes all sorts of follow-on fail. v2: - Add support for for fd handles. - Avoid duplicating code. - Bump xa version minor. Signed-off-by: Rob Clark <[email protected]> Signed-off-by: Thomas Hellstrom <[email protected]>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions