Re: [PATCH 1/9] drm/i915/guc: Fix blocked context accounting

2021-08-11 Thread Matthew Brost
On Wed, Aug 11, 2021 at 12:30:52PM +0200, Daniel Vetter wrote: > On Wed, Aug 11, 2021 at 01:16:14AM +, Matthew Brost wrote: > > Prior to this patch the blocked context counter was cleared on > > init_sched_state (used during registering a context & resets) which is > > incorrect. This state

Re: [PATCH 1/9] drm/i915/guc: Fix blocked context accounting

2021-08-11 Thread Daniel Vetter
On Wed, Aug 11, 2021 at 01:16:14AM +, Matthew Brost wrote: > Prior to this patch the blocked context counter was cleared on > init_sched_state (used during registering a context & resets) which is > incorrect. This state needs to be persistent or the counter can read the > incorrect value

[PATCH 1/9] drm/i915/guc: Fix blocked context accounting

2021-08-10 Thread Matthew Brost
Prior to this patch the blocked context counter was cleared on init_sched_state (used during registering a context & resets) which is incorrect. This state needs to be persistent or the counter can read the incorrect value resulting in scheduling never getting enabled again. Fixes: 62eaf0ae217d