drm/radeon/kms: switch to condition waiting for reclocking
authorRafał Miłecki <zajec5@gmail.com>
Tue, 2 Mar 2010 21:06:51 +0000 (22:06 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 15 Mar 2010 00:23:22 +0000 (10:23 +1000)
commit839461d3b0e3082eb382f17a3e3899372f28649a
treee34106e15420df1ef6c726e35783ae0d562fcb66
parent65388342d66a63a29c76058e94a00d7bc0c6423b
drm/radeon/kms: switch to condition waiting for reclocking

We tried to implement interruptible waiting with timeout (it was broken
anyway) which was not a good idea as explained by Andrew. It's possible
to avoid using additional variable but actually it inroduces using more
complex in-kernel tools. So simply add one variable for condition.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_pm.c
drivers/gpu/drm/radeon/rs600.c