drm/i915/fbdev: Stop repeating tile configuration on stagnation
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Feb 2017 11:43:06 +0000 (11:43 +0000)
committerJani Nikula <jani.nikula@intel.com>
Thu, 9 Mar 2017 08:43:17 +0000 (10:43 +0200)
commitb717a0392530ae8da0da041abe5c3a6098b55660
treeff22d4967a41cdba18cedbf80bf46f7ff6fae8a1
parent1d972d6021a1388021df51a58248e68372ce2b5d
drm/i915/fbdev: Stop repeating tile configuration on stagnation

If we cease making progress in finding matching outputs for a tiled
configuration, stop looping over the remaining unconfigured outputs.

v2: Use conn_seq (instead of pass) to only apply tile configuration on
first pass.

Fixes: b0ee9e7fa5b4 ("drm/fb: add support for tiled monitor configurations. (v2)")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tomasz Lis <tomasz.lis@intel.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: <stable@vger.kernel.org> # v3.19+
Reviewed-by: Tomasz Lis <tomasz.lis@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170224114306.4400-1-chris@chris-wilson.co.uk
(cherry picked from commit 754a76591b12c88f57ad8b4ca533a5c9566a1922)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_fbdev.c