Javier Martinez Canillas a11d854f07
video: vga16fb: Fix logic that checks for the display standard
The vga16fb framebuffer driver supports both Enhanced Graphics Adapter
(EGA) and Video Graphics Array (VGA) 16 color graphic cards.

But the logic to check whether the EGA or VGA standard are used is not
correct. It just checks if screen_info.orig_video_isVGA is set, but it
should check if is set to VIDEO_TYPE_VGAC instead.

This means that it assumes to be VGA even if is set to VIDEO_TYPE_EGAC.

All non-x86 architectures though treat orig_video_isVGA as a boolean so
only do the change for x86 and keep the old logic for the other arches.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Tested-by: Kris Karas <bugs-a21@moonlit-rail.com>
Acked-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220110095625.278836-2-javierm@redhat.com
2022-01-12 11:48:46 +01:00
..
2021-11-26 19:45:31 +01:00
2021-12-09 10:49:56 -08:00
2021-12-09 11:20:47 +09:00
2021-11-06 14:36:12 -07:00
2021-12-04 08:38:25 -08:00
2021-12-14 10:24:28 +01:00
2021-12-14 10:24:28 +01:00
2021-11-03 17:00:52 -07:00
2021-11-06 14:36:12 -07:00
2021-11-08 11:49:48 -08:00
2021-11-10 11:47:55 -08:00
2021-12-14 10:24:28 +01:00
2021-11-05 08:42:02 -07:00
2021-11-04 13:56:55 -07:00
2021-11-26 22:54:47 +01:00
2021-11-22 14:58:57 -08:00
2021-11-06 14:36:12 -07:00
2021-11-10 11:36:43 -08:00
2021-12-12 10:16:34 -08:00
2021-11-10 10:56:02 -08:00
2021-12-16 14:48:27 +01:00
2021-12-10 11:56:05 -08:00
2021-11-02 06:20:58 -07:00
2021-11-02 15:58:39 -07:00
2021-11-18 09:36:39 +01:00
2021-11-08 12:07:52 -08:00
2021-11-03 17:00:52 -07:00
2021-11-10 09:07:26 -08:00
2021-11-12 11:44:31 -08:00
2021-12-11 16:28:27 -08:00
2021-11-18 14:35:41 -08:00
2021-11-16 14:41:23 +01:00
2021-12-05 09:13:20 -08:00
2021-12-12 10:20:57 -08:00
2021-11-30 11:41:49 -07:00
2021-11-10 09:41:22 -08:00