diff options
author | Adam Jackson <ajax@redhat.com> | 2011-04-28 13:34:28 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-12-06 16:00:35 +0000 |
commit | 22605effd188436629a0dbc688666549473741e4 (patch) | |
tree | 97c506bee711047e05e4d3d0451bd33f082822b1 /Xext | |
parent | fb22a408c69a84f81905147de9e82cf66ffb6eb2 (diff) |
fbdevhw: iterate over all modes that match a mode. (v3)
So on RHEL5 anaconda sets an xorg.conf with a fixed 800x600 mode in it,
we run radeonfb and fbdev since ati won't work in userspace due to domain
issues in the older codebase.
On certain pseries blades the built-in KVM can't accept an 800x600-43 mode,
it requires the 800x600-60 mode, so we have to have the kernel radeonfb
driver reject the 800x600-43 mode when it sees it. However then fbdev
doesn't try any of the other 800x600 modes in the modelist, and we end up
getting a default 640x480 mode we don't want.
This patch changes the mode validation loop to continue on with the other modes
that match to find one that works.
v2: move code around to avoid extra loop, after comment from Jamey.
v3: move loop setup back into loop as per Jeremy's review.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'Xext')
0 files changed, 0 insertions, 0 deletions