]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitc7ef35a960369bcad733b92868e4befe03ba9234
tree98c53eab39f74d3259a6d0a55e82a2944b302c24
parente58f637bb96d5a0ae0919b9998b891d1ba7e47c9
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