From: Xiang, Haihao Date: Mon, 21 Apr 2008 06:02:50 +0000 (+0800) Subject: i965: clear the PRESUMED_OFFSET flag from bo_req.hint, not bo_req.flags. fix #15574 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=33107357a1226b9218fac410a7502a981aac5cc5;p=mesa.git i965: clear the PRESUMED_OFFSET flag from bo_req.hint, not bo_req.flags. fix #15574 --- 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; } } }