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)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Feb 2017 12:25:42 +0000 (12:25 +0000)
commit754a76591b12c88f57ad8b4ca533a5c9566a1922
treedb230b01ac8c79fd6ccd284e9bab42b6f4e3ad68
parent8d0e9bcb2b0cbc2d5c3668e1a445571b4b73317f
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
drivers/gpu/drm/i915/intel_fbdev.c