diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-07-02 10:21:17 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-07-02 12:03:28 +0100 |
| commit | afd1bcd4ad776a9892ce6e814111af22dae44956 (patch) | |
| tree | e193fa1b75fad19fa247ec5498185864c6fbec3e /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 8759aa4cc1d36749845b7c99b12ab180e12f2699 (diff) | |
| download | linux-afd1bcd4ad776a9892ce6e814111af22dae44956.tar.gz linux-afd1bcd4ad776a9892ce6e814111af22dae44956.zip | |
drm/i915: Report if i915_active is still busy upon waiting
If we try to wait on an i915_active from within a critical section, it
will remain busy (such as if we are shrinking from within
i915_active_ref). Report the failure so that we do not proceed thinking
it is idle.
Extracted from a future patch "drm/i915: Coordinate i915_active with its
own mutex".
Fixes: 12c255b5dad1 ("drm/i915: Provide an i915_active.acquire callback")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190702092117.1707-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
