aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_bo.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_bo.c
parentaf2323b4b3b76070fb453531147a8956161b3718 (diff)
drm/radeon: fixup clean flag handling
Diffstat (limited to 'linux-core/drm_bo.c')
-rw-r--r--linux-core/drm_bo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_bo.c b/linux-core/drm_bo.c
index fa3e055d..ecf65c20 100644
--- a/linux-core/drm_bo.c
+++ b/linux-core/drm_bo.c
@@ -1174,6 +1174,7 @@ out_unlock:
}
/* clear the clean flags */
bo->mem.flags &= ~DRM_BO_FLAG_CLEAN;
+ bo->mem.proposed_flags &= ~DRM_BO_FLAG_CLEAN;
mutex_unlock(&dev->struct_mutex);
mutex_unlock(&bm->evict_mutex);