]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/perf: Drop redundant check for perf.initialised on reset
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 10 Aug 2017 17:57:43 +0000 (18:57 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 10 Aug 2017 20:43:11 +0000 (21:43 +0100)
commit1a7885be30bddb0b9c2f0b26107c38d77be46b21
tree2cb510a029d0f1aa97443ea1e39e6fe5d28f49ad
parent311f0417f2682e654e15ff906af5e998425b7cbf
drm/i915/perf: Drop redundant check for perf.initialised on reset

As we cannot have an exclusive stream set if the perf has not been
initialized, we only need to check for that exclusive stream.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170810175743.25401-3-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
drivers/gpu/drm/i915/i915_perf.c