Re: [Intel-gfx] [PATCH 1/2] drm/i915: Push the wakeref->count deferral to the backend

2019-08-13 Thread Mika Kuoppala
Chris Wilson writes: > If the backend wishes to defer the wakeref parking, make it responsible > for unlocking the wakeref (i.e. bumping the counter). This allows it to > time the unlock much more carefully in case it happens to needs the > wakeref to be active during its deferral. > > For instan

[Intel-gfx] [PATCH 1/2] drm/i915: Push the wakeref->count deferral to the backend

2019-08-13 Thread Chris Wilson
If the backend wishes to defer the wakeref parking, make it responsible for unlocking the wakeref (i.e. bumping the counter). This allows it to time the unlock much more carefully in case it happens to needs the wakeref to be active during its deferral. For instance, during engine parking we may c

[Intel-gfx] [PATCH 1/2] drm/i915: Push the wakeref->count deferral to the backend

2019-08-09 Thread Chris Wilson
If the backend wishes to defer the wakeref parking, make it responsible for unlocking the wakeref (i.e. bumping the counter). This allows it to time the unlock much more carefully in case it happens to needs the wakeref to be active during its deferral. For instance, during engine parking we may c