OSDN Git Service

drm/i915/gt: Include a tell-tale for engine parking
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Jan 2020 12:41:54 +0000 (12:41 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Jan 2020 17:10:15 +0000 (17:10 +0000)
commitbf9cc891d32b1c784bcd4d181321bb279254bdf8
treeed450f080d32ca9a2fac78b5cfd15a5d0b266b18
parenta9f236d1fcfb418d4a5717b23804c7fab58dacc8
drm/i915/gt: Include a tell-tale for engine parking

We have two trace messages that rely on the function name for
distinction. However, if gcc inlines the function, the two traces end up
with the same function name and are indistinguishable. Add a different
message to each to clarify which one we hit, i.e. which phase of engine
parking we are processing.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200122124154.483444-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine_pm.c