]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: fix race between GPU reset and TTM delayed delete thread.
authorDave Airlie <airlied@redhat.com>
Thu, 10 Feb 2011 04:46:06 +0000 (14:46 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 14 Feb 2011 00:10:24 +0000 (10:10 +1000)
commit46a6d04de3b13c4aa51dce432e6da7d2463e254e
treeffc92d031486bdee21d2d79121b6c4feae911b27
parent88d6411f399cc52d8189b39523cde6c923728b09
drm/radeon: fix race between GPU reset and TTM delayed delete thread.

My evergreen has been in a remote PC for week and reset has never once
saved me from certain doom, I finally relocated to the box with a
serial cable and noticed an oops when the GPU resets, and the TTM
delayed delete thread tries to remove something from the GTT.

This stops the delayed delete thread from executing across the GPU
reset handler, and woot I can GPU reset now.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_device.c