Re: [Intel-gfx] [PATCH v2 1/3] drm/i915/guc: init GuC descriptors after GuC load

2018-10-03 Thread Michal Wajdeczko
On Tue, 02 Oct 2018 23:54:28 +0200, Daniele Ceraolo Spurio wrote: GuC stores some data in there, which might be stale after a reset. We already reset the WQ head and tail, but more things are being moved to the descriptor with the interface updates. Instead of trying to track them one by one,

[Intel-gfx] [PATCH v2 1/3] drm/i915/guc: init GuC descriptors after GuC load

2018-10-02 Thread Daniele Ceraolo Spurio
GuC stores some data in there, which might be stale after a reset. We already reset the WQ head and tail, but more things are being moved to the descriptor with the interface updates. Instead of trying to track them one by one, always memset and init the descriptors from scratch after GuC is loaded