drm/radeon/kms: release CMASK access in preclose_kms
authorMarek Olšák <maraeo@gmail.com>
Thu, 27 Jan 2011 21:46:15 +0000 (22:46 +0100)
committerDave Airlie <airlied@gmail.com>
Fri, 28 Jan 2011 00:59:12 +0000 (10:59 +1000)
Signed-off-by: Marek Olšák <maraeo@gmail.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/radeon/radeon_kms.c

index 9832129..8387d32 100644 (file)
@@ -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;
 }
 
 /*