]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit129eb8c9c94716d77d9dba16426722c1c914fc6e
treea40bdc8d62dd1fbe261fb0123b51ca9833ea48cf
parent5ecbea812ffed51190f638158739a4d506e2b87a
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: 9ab227a4b4d2 ("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