From c4966972606b4f8956ee10d684c5b9cf80b847b6 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Thu, 28 Feb 2008 09:16:42 +0100 Subject: [PATCH] Don't invalidate the presumed_offset_flag. --- shared-core/i915_dma.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c index e1abc80..39c9c54 100644 --- a/shared-core/i915_dma.c +++ b/shared-core/i915_dma.c @@ -1054,10 +1054,13 @@ static int i915_check_presumed(struct dr * * Needless to say, this is a bit ugly. */ - +#if 0 hint_offset = (uint32_t *)&req->bo_req.hint - (uint32_t *)arg; hint &= ~DRM_BO_HINT_PRESUMED_OFFSET; return __put_user(hint, data + hint_offset); +#else + return 0; +#endif } -- 1.4.1