radeon: correct RADEON_GEM_WAIT_IDLE use
authorMark Kettenis <kettenis@openbsd.org>
Wed, 5 Jun 2013 03:04:30 +0000 (13:04 +1000)
committerMichel Dänzer <michel.daenzer@amd.com>
Thu, 6 Jun 2013 14:19:38 +0000 (16:19 +0200)
commita0178c00c70f4b47e09ed7564fc2ccde611231a0
treeb5675ed68b3f58918f17bf661d67f003ec7661fb
parent1669a67d063e82a58dae4d906015172d471e9a2a
radeon: correct RADEON_GEM_WAIT_IDLE use

RADEON_GEM_WAIT_IDLE is declared DRM_IOW but libdrm
uses it with drmCommandWriteRead instead of drmCommandWrite
which leads to the ioctl being unmatched and returning an
error on at least OpenBSD.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
radeon/radeon_bo_gem.c