]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd632fee9779ef66da70178271f92f315e86772af
treee34106e15420df1ef6c726e35783ae0d562fcb66
parent6479e0e0fe51fe97191caa29cd822a420ac50664
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