]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Do not force 1024x768 modes on unknown connectors
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 5 Sep 2010 15:55:25 +0000 (16:55 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 6 Sep 2010 22:05:38 +0000 (08:05 +1000)
commit0b303a01ff4b47810c9ef6e4d89e5e49873b0399
tree98c53eab39f74d3259a6d0a55e82a2944b302c24
parentbe7c748b599b53956bf444a59a34b5d1e943e16b
drm: Do not force 1024x768 modes on unknown connectors

Only fallback to a set of default modes on a connector iff that
connector is known to be connected. The issue occurs that with limited
hardware which cannot probe a connector and so reports the
connector status as unknown will then attempt to retrieve the modes for
it during drm_helper_probe_single_connector_modes(). Should that fail,
the helper then generates a default set which fools the fb_helper and
causes havoc with the console and beyond.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c