OSDN Git Service

winsys/radeon: Use dup fd as key in drm-winsys hash table to fix ZaphodHeads.
authorMario Kleiner <mario.kleiner.de@gmail.com>
Sun, 28 Jun 2015 01:02:31 +0000 (03:02 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 4 Jul 2015 11:03:15 +0000 (12:03 +0100)
commit81a0920c3a1600d45a7a315de3ef654116bbbce0
tree8d7974a78a9d6203cda0255c36c0a356a93a1272
parent80e283b0539f284563482e9bf901924ac134c0a5
winsys/radeon: Use dup fd as key in drm-winsys hash table to fix ZaphodHeads.

Same problem and fix as for nouveau's ZaphodHeads trouble.

See patch ...

"nouveau: Use dup fd as key in drm-winsys hash table to fix ZaphodHeads."

... for reference.

Cc: "10.3 10.4 10.5 10.6" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
(cherry picked from commit 28dda47ae4d974e3e032d60e8e0965c8c068c6d8)
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c