drm/i915/fbdev: Actually configure untiled displays
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 15 Feb 2019 12:30:19 +0000 (12:30 +0000)
committerJani Nikula <jani.nikula@intel.com>
Wed, 20 Feb 2019 14:02:55 +0000 (16:02 +0200)
commitd179b88deb3bf6fed4991a31fd6f0f2cad21fab5
treea40bdc8d62dd1fbe261fb0123b51ca9833ea48cf
parenta3b22b9f11d9fbc48b0291ea92259a5a810e9438
drm/i915/fbdev: Actually configure untiled displays

If we skipped all the connectors that were not part of a tile, we would
leave conn_seq=0 and conn_configured=0, convincing ourselves that we
had stagnated in our configuration attempts. Avoid this situation by
starting conn_seq=ALL_CONNECTORS, and repeating until we find no more
connectors to configure.

Fixes: 754a76591b12 ("drm/i915/fbdev: Stop repeating tile configuration on stagnation")
Reported-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190215123019.32283-1-chris@chris-wilson.co.uk
Cc: <stable@vger.kernel.org> # v3.19+
(cherry picked from commit d9b308b1f8a1acc0c3279f443d4fe0f9f663252e)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_fbdev.c