radeon: Fix command type for DRM_RADEON_IRQ_EMIT ioctl.
authorOwain Ainsworth <zerooa@googlemail.com>
Sun, 18 Apr 2010 23:55:37 +0000 (16:55 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 19 Apr 2010 15:33:50 +0000 (09:33 -0600)
commitc39ab02ae9be9c6adf8f2d1382fed88f1daf03bf
treefc922fc1704104a44209eb93dbc93044187a9974
parent7f1ae3a94dc9ec1360ed8f6e076501423f2f60f2
radeon: Fix command type for DRM_RADEON_IRQ_EMIT ioctl.

This should be drmCommandWriteRead to avoid an EINVAL error on systems
that strictly check ioctl args. This command has been r/w for ever.
Discussion with airlied agreed that this was the correct course.

Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/radeon/radeon_cs_legacy.c