From 33107357a1226b9218fac410a7502a981aac5cc5 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Mon, 21 Apr 2008 14:02:50 +0800 Subject: [PATCH] i965: clear the PRESUMED_OFFSET flag from bo_req.hint, not bo_req.flags. fix #15574 --- src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c index 6828425e776..ecf6a1ca665 100644 --- a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c +++ b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c @@ -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; } } } -- 2.30.2