]> git.baikalelectronics.ru Git - kernel.git/commit
drm/r300: fix bug in r300 userspace hardware wait emission
authorDave Airlie <airlied@linux.ie>
Sat, 29 Mar 2008 21:51:49 +0000 (07:51 +1000)
committerDave Airlie <airlied@linux.ie>
Sat, 29 Mar 2008 21:51:49 +0000 (07:51 +1000)
commit5db1586d14d61b59c63eb7907a2c08cc020e7959
treece326ec271bb53323daf29f7098fb81ff6caae01
parent5207e25af0cbc0529395350176f67aab9fa66906
drm/r300: fix bug in r300 userspace hardware wait emission

This interface was originally designed wrong, confusing bit-fields and
integers, major brown paper bag going back many years...

But userspace only ever used 4 values so fix the interface for new
users and fix the implementation to deal with the 4 values userspace
has ever emitted (0x1, 0x2, 0x3, 0x6).

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/drm/r300_cmdbuf.c
drivers/char/drm/radeon_drm.h