aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2018-05-01 08:52:03 +0100
committerChris Wilson <[email protected]>2018-05-02 17:33:32 +0100
commit0d4b78b3d2c0cb570abe086bce8c17ea3c474095 (patch)
tree54f2ba78477859ad1f864e8535fbcfe505c48801 /tools/perf/scripts/python/sctop.py
parent46e2068081e96472b1d7d2456fa0655aa148b32b (diff)
drm/i915/guc: Assert we have the doorbell before setting it up
As our early doorbell is split between early allocation and a late setup after we have a channel to the GuC, it may happen due to a lapse of programmer judgement that we try to setup an invalid doorbell. Make use of our has_doorbell() function to check the doorbell does exist for the client before we try and tell the guc about it. In doing so, we prevent the compiler from warning about the otherwise unused function in some configurations. Reported-by: Matthias Kaehlcke <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Cc: Daniele Ceraolo Spurio <[email protected]> Cc: MichaƂ Winiarski <[email protected]> Cc: Michal Wajdeczko <[email protected]> Cc: Michel Thierry <[email protected]> Reviewed-by: Michel Thierry <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions