i965: clear the PRESUMED_OFFSET flag from bo_req.hint, not bo_req.flags. fix #15574
authorXiang, Haihao <haihao.xiang@intel.com>
Mon, 21 Apr 2008 06:02:50 +0000 (14:02 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Mon, 21 Apr 2008 06:02:50 +0000 (14:02 +0800)
src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c

index 6828425e77629f9482f26a72e2ca47e63e5cc1fc..ecf6a1ca6659345e9118c451a781c29458c9e53a 100644 (file)
@@ -889,7 +889,7 @@ dri_ttm_bo_process_reloc(dri_bo *bo)
           struct intel_validate_entry *entry =
              &bufmgr_ttm->validate_array[target_buf_ttm->validate_index];
 
-          entry->bo_arg.d.req.bo_req.flags &= ~DRM_BO_HINT_PRESUMED_OFFSET;
+          entry->bo_arg.d.req.bo_req.hint &= ~DRM_BO_HINT_PRESUMED_OFFSET;
        }
     }
 }