summaryrefslogtreecommitdiff
path: root/linux-core/drm_vm.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-10-06 16:39:25 +1000
committerDave Airlie <airlied@redhat.com>2008-10-06 16:39:25 +1000
commita981a6860365065682f3ca295939e629b989a9d1 (patch)
tree20b566270874822a50c9c7a550e769cba662974f /linux-core/drm_vm.c
parentaf2323b4b3b76070fb453531147a8956161b3718 (diff)
drm/radeon: fixup clean flag handling
Diffstat (limited to 'linux-core/drm_vm.c')
-rw-r--r--linux-core/drm_vm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_vm.c b/linux-core/drm_vm.c
index 48d7b057..228ea6cd 100644
--- a/linux-core/drm_vm.c
+++ b/linux-core/drm_vm.c
@@ -794,6 +794,7 @@ static void drm_bo_vm_open_locked(struct vm_area_struct *vma)
/* clear the clean flags */
bo->mem.flags &= ~DRM_BO_FLAG_CLEAN;
+ bo->mem.proposed_flags &= ~DRM_BO_FLAG_CLEAN;
drm_vm_open_locked(vma);
atomic_inc(&bo->usage);