summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-01-27 22:46:15 +0100
committerDave Airlie <airlied@gmail.com>2011-01-28 10:59:12 +1000
commitdca0d6129f3ec77bcf42ce85bcd64c87e5cf0c04 (patch)
tree83b8dad1365a7bc2e08029693b1d90f8ff2a705a
parentfa6bee46a655a750afb9a78a7ddf9a3bcda97db8 (diff)
downloadop-kernel-dev-dca0d6129f3ec77bcf42ce85bcd64c87e5cf0c04.zip
op-kernel-dev-dca0d6129f3ec77bcf42ce85bcd64c87e5cf0c04.tar.gz
drm/radeon/kms: release CMASK access in preclose_kms
Signed-off-by: Marek Olšák <maraeo@gmail.com> Signed-off-by: Dave Airlie <airlied@gmail.com>
-rw-r--r--drivers/gpu/drm/radeon/radeon_kms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c
index 9832129..8387d32 100644
--- a/drivers/gpu/drm/radeon/radeon_kms.c
+++ b/drivers/gpu/drm/radeon/radeon_kms.c
@@ -247,6 +247,8 @@ void radeon_driver_preclose_kms(struct drm_device *dev,
struct radeon_device *rdev = dev->dev_private;
if (rdev->hyperz_filp == file_priv)
rdev->hyperz_filp = NULL;
+ if (rdev->cmask_filp == file_priv)
+ rdev->cmask_filp = NULL;
}
/*
OpenPOWER on IntegriCloud