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)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 3 Jul 2015 17:24:12 +0000 (19:24 +0200)
commit28dda47ae4d974e3e032d60e8e0965c8c068c6d8
tree82a01222ac381f0304579caf2c6e39238ca18472
parent97ec2c694fe568e375ec7a2b85c1acb1e4666b54
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>
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c