ttm: Provide an API for starting and stopping the delayed workqueue
authorMatthew Garrett <mjg@redhat.com>
Mon, 26 Apr 2010 20:00:09 +0000 (16:00 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 08:21:20 +0000 (18:21 +1000)
commit7c5ee5366f79f53de2a11e73953daee6d58df124
treeb687002e761917b91e17fed3f327015939b115c8
parent8f5b5e632cd55d9acf10ba498b858fd996bd1a39
ttm: Provide an API for starting and stopping the delayed workqueue

We want to be able to prevent the delayed workqueue from changing state
while we're reclocking, so add an API to block and unblock it.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_bo.c
include/drm/ttm/ttm_bo_api.h