[Intel-gfx] [PATCH] drm/i915/guc: Fix a fw content lost issue after it is evicted

Chris Wilson chris at chris-wilson.co.uk
Fri Nov 6 14:07:29 PST 2015


On Fri, Nov 06, 2015 at 01:55:27PM -0800, yu.dai at intel.com wrote:
> From: Alex Dai <yu.dai at intel.com>
> 
> We keep a copy of GuC fw in a GEM obj. However its content is lost
> if the GEM obj is evicted (igt/gem_evict_*). Therefore, the later
> fw loading during GPU reset will fail.

No, it's not. The bug is in sg_copy_buffer called by
i915_gem_object_create_from_data introduced by yourselves.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list