diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-13 19:35:14 +0300 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-14 12:45:40 +0300 |
| commit | fcb5106d665879edbc1ebb6e1f1a67695954b81d (patch) | |
| tree | d7417f0b5e778c6fd8a6beb3119093dbbecbbd3c /include | |
| parent | e1a8daa2d159776f01d7129fae053d2d08d6c6df (diff) | |
| download | linux-fcb5106d665879edbc1ebb6e1f1a67695954b81d.tar.xz | |
drm/i915: Reorganise legacy context switch to cope with late failure
After mi_set_context() succeeds, we need to update the state of the
engine's last_context. This ensures that we hold a pin on the context
whilst the hardware may write to it. However, since we didn't complete
the post-switch setup of the context, we need to force the subsequent
use of the same context to complete the setup (which means updating
should_skip_switch()).
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1460565315-7748-15-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
