drm/i915/perf: simplify configure all context function
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 13 Aug 2018 08:02:17 +0000 (09:02 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 31 Aug 2018 15:18:42 +0000 (16:18 +0100)
commit1c71bc565cdbd592f9bca4fbf60111f664899a76
treec0911f4a5e44f41a0966f434cc4b573b2157db6b
parenta64f88874930be944f2c78c7df501d5d1d19becc
drm/i915/perf: simplify configure all context function

We don't need any special treatment on error so just return as soon as
possible.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180813080218.28994-2-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_perf.c