]> 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)
commita05c3d6ab524d2e229cb108c39f9188f63788572
tree2cb510a029d0f1aa97443ea1e39e6fe5d28f49ad
parentb266113cb5cc25da510597bb2f742bd65943769c
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