diff options
| author | Chris Wilson <[email protected]> | 2018-02-07 21:05:44 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2018-02-08 07:30:16 +0000 |
| commit | d63763749127b483ba042b2939ba39fd79792330 (patch) | |
| tree | 5c77145dd7c97334823d49428d5ec5c3f441100f /tools/perf/scripts/python/bin | |
| parent | 3fed180812edebac7d04b94a69da33b4f8532907 (diff) | |
drm/i915: Only allocate preempt context when required
If we remove some hardcoded assumptions about the preempt context having
a fixed id, reserved from use by normal user contexts, we may only
allocate the i915_gem_context when required. Then the subsequent
decisions on using preemption reduce to having the preempt context
available.
v2: Include an assert that we don't allocate the preempt context twice.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Michal Winiarski <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Arkadiusz Hiler <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Daniele Ceraolo Spurio <[email protected]>
Acked-by: Daniele Ceraolo Spurio <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Michel Thierry <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions