diff options
| author | Chris Wilson <[email protected]> | 2016-06-21 09:16:54 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2016-06-21 09:36:33 +0100 |
| commit | 43cee314345ac9e34e744f8c335150a17ff9a6fb (patch) | |
| tree | 62f0ddd113a9463c31997dd0f1cd09cf82ea7365 /tools/perf/scripts/python | |
| parent | d626f34573551479f62b09d4df09efc4af88136d (diff) | |
drm/i915/fbdev: Limit the global async-domain synchronization
During cleanup we have to synchronise with the async task we are using
to initialise and register our fbdev. Currently, we are using a full
synchronisation on the global domain, but we can restrict this to just
synchronising up to our task if we remember our cookie.
Whilst there, streamline the function parameters.
v2: async_synchronize_cookie() takes an exclusive upper bound, to
synchronize with our task we have to pass in the next cookie.
v3: Drop premature disregarding of the active cookie (we need to wait
until the task is complete before continuing in the teardown).
v4: Refactor waiting on async to incorporate a comment explaining why we
need the +1.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Lukas Wunner <[email protected]>
Cc: Daniel Vetter <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions