diff options
| author | Chris Wilson <[email protected]> | 2019-10-21 09:02:11 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-10-21 11:04:24 +0100 |
| commit | 13ed13a4dcbf0b664acbf9e6f98ec7851cc59862 (patch) | |
| tree | a471123b309fbf3642418faff5ae72ce18198fbc /include/linux | |
| parent | ce53908bba6fa6e905d8fe81da4591d3e7a65878 (diff) | |
drm/i915: Don't set queue_priority_hint if we don't kick the submission
If we change the priority of the active context, then it has no impact
on the decision of whether to preempt the active context -- we don't
preempt the context with itself. In this situation, we elide the tasklet
rescheduling and should *not* be marking up the queue_priority_hint as
that may mask a later submission where we decide we don't have to kick
the tasklet as a higher priority submission is pending (spoiler alert,
it was not).
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions