From: | "Remi Cardona (remi)" <remi@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-drivers/xf86-video-i810/files: xf86-video-i810-2.4.1-0001-Fix-reverted-LVDS-bios-capability-dword-definition.patch |
Date: | Tue, 19 Aug 2008 11:49:34 |
Message-Id: | E1KVPiO-0004bx-5N@stork.gentoo.org |
1 | remi 08/08/19 11:49:32 |
2 | |
3 | Added: |
4 | xf86-video-i810-2.4.1-0001-Fix-reverted-LVDS-bios-capability-dword-definition.patch |
5 | Log: |
6 | x11-drivers/xf86-video-i810: add a fix for LFP dithering |
7 | (Portage version: 2.2_rc8/cvs/Linux 2.6.25-gentoo-r6 x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 x11-drivers/xf86-video-i810/files/xf86-video-i810-2.4.1-0001-Fix-reverted-LVDS-bios-capability-dword-definition.patch |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-i810/files/xf86-video-i810-2.4.1-0001-Fix-reverted-LVDS-bios-capability-dword-definition.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-i810/files/xf86-video-i810-2.4.1-0001-Fix-reverted-LVDS-bios-capability-dword-definition.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: xf86-video-i810-2.4.1-0001-Fix-reverted-LVDS-bios-capability-dword-definition.patch |
16 | =================================================================== |
17 | From d5fd845aab4074ed6d0950551e007ea43fd2d0df Mon Sep 17 00:00:00 2001 |
18 | From: Zhenyu Wang <zhenyu.z.wang@×××××.com> |
19 | Date: Tue, 19 Aug 2008 07:30:01 +0800 |
20 | Subject: [PATCH] Fix reverted LVDS bios capability dword definition |
21 | |
22 | Issue found by Peter Clifton. |
23 | (cherry picked from commit 0e6759bb6ad7293b6447bd20e3d7d8fdee46aba7) |
24 | |
25 | diff --git a/src/i830_bios.h b/src/i830_bios.h |
26 | index a8d9add..2b073f3 100644 |
27 | --- a/src/i830_bios.h |
28 | +++ b/src/i830_bios.h |
29 | @@ -152,13 +152,13 @@ struct bdb_lvds_options { |
30 | uint8_t panel_type; |
31 | uint8_t rsvd1; |
32 | /* LVDS capabilities, stored in a dword */ |
33 | - uint8_t rsvd2:1; |
34 | - uint8_t lvds_edid:1; |
35 | - uint8_t pixel_dither:1; |
36 | - uint8_t pfit_ratio_auto:1; |
37 | - uint8_t pfit_gfx_mode_enhanced:1; |
38 | - uint8_t pfit_text_mode_enhanced:1; |
39 | uint8_t pfit_mode:2; |
40 | + uint8_t pfit_text_mode_enhanced:1; |
41 | + uint8_t pfit_gfx_mode_enhanced:1; |
42 | + uint8_t pfit_ratio_auto:1; |
43 | + uint8_t pixel_dither:1; |
44 | + uint8_t lvds_edid:1; |
45 | + uint8_t rsvd2:1; |
46 | uint8_t rsvd4; |
47 | } __attribute__((packed)); |
48 | |
49 | -- |
50 | 1.5.6.5 |