]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/radeon/kms: fix return value from fence function.
authorDave Airlie <airlied@redhat.com>
Wed, 9 Dec 2009 05:32:23 +0000 (15:32 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 10 Dec 2009 05:09:04 +0000 (15:09 +1000)
commit2e7b6f7fa62d92d941c626f8ae45f5cd75a52d55
treee8fe30c94c4cb51f0bdc3f30c43a58c437fb8391
parent5cc6fbab9da5680e7e5d2507d0f0c2c52ff18031
drm/radeon/kms: fix return value from fence function.

We only want to return here for errors, the wait functions return
a positive timeout otherwise, which gets back to userspace and
causes X to crash here.

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