Rev 5097 | Rev 5271 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5097 | Rev 5179 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | int radeon_vm_block_size = -1; |
69 | int radeon_vm_block_size = -1; |
70 | int radeon_deep_color = 0; |
70 | int radeon_deep_color = 0; |
71 | int radeon_use_pflipirq = 2; |
71 | int radeon_use_pflipirq = 2; |
72 | int irq_override = 0; |
72 | int irq_override = 0; |
73 | int radeon_bapm = -1; |
73 | int radeon_bapm = -1; |
74 | - | ||
- | 74 | int radeon_backlight = 0; |
|
Line 75... | Line 75... | ||
75 | 75 | ||
76 | extern display_t *os_display; |
76 | extern display_t *os_display; |
77 | extern struct drm_device *main_device; |
77 | extern struct drm_device *main_device; |
Line 181... | Line 181... | ||
181 | { PCI_VENDOR_ID_ATI, 0x6760, 0x1025, 0x0672, RADEON_PX_QUIRK_DISABLE_PX }, |
181 | { PCI_VENDOR_ID_ATI, 0x6760, 0x1025, 0x0672, RADEON_PX_QUIRK_DISABLE_PX }, |
182 | /* Asus K73TA laptop with AMD A6-3400M APU and Radeon 6550 GPU |
182 | /* Asus K73TA laptop with AMD A6-3400M APU and Radeon 6550 GPU |
183 | * https://bugzilla.kernel.org/show_bug.cgi?id=51381 |
183 | * https://bugzilla.kernel.org/show_bug.cgi?id=51381 |
184 | */ |
184 | */ |
185 | { PCI_VENDOR_ID_ATI, 0x6741, 0x1043, 0x108c, RADEON_PX_QUIRK_DISABLE_PX }, |
185 | { PCI_VENDOR_ID_ATI, 0x6741, 0x1043, 0x108c, RADEON_PX_QUIRK_DISABLE_PX }, |
- | 186 | /* Asus K53TK laptop with AMD A6-3420M APU and Radeon 7670m GPU |
|
- | 187 | * https://bugzilla.kernel.org/show_bug.cgi?id=51381 |
|
- | 188 | */ |
|
- | 189 | { PCI_VENDOR_ID_ATI, 0x6840, 0x1043, 0x2122, RADEON_PX_QUIRK_DISABLE_PX }, |
|
186 | /* macbook pro 8.2 */ |
190 | /* macbook pro 8.2 */ |
187 | { PCI_VENDOR_ID_ATI, 0x6741, PCI_VENDOR_ID_APPLE, 0x00e2, RADEON_PX_QUIRK_LONG_WAKEUP }, |
191 | { PCI_VENDOR_ID_ATI, 0x6741, PCI_VENDOR_ID_APPLE, 0x00e2, RADEON_PX_QUIRK_LONG_WAKEUP }, |
188 | { 0, 0, 0, 0, 0 }, |
192 | { 0, 0, 0, 0, 0 }, |
189 | }; |
193 | }; |
Line 1170... | Line 1174... | ||
1170 | * a page is 4KB so we have 12 bits offset, minimum 9 bits in the |
1174 | * a page is 4KB so we have 12 bits offset, minimum 9 bits in the |
1171 | * page table and the remaining bits are in the page directory */ |
1175 | * page table and the remaining bits are in the page directory */ |
1172 | if (radeon_vm_block_size == -1) { |
1176 | if (radeon_vm_block_size == -1) { |
Line 1173... | Line 1177... | ||
1173 | 1177 | ||
1174 | /* Total bits covered by PD + PTs */ |
1178 | /* Total bits covered by PD + PTs */ |
Line 1175... | Line 1179... | ||
1175 | unsigned bits = ilog2(radeon_vm_size) + 17; |
1179 | unsigned bits = ilog2(radeon_vm_size) + 18; |
1176 | 1180 | ||
1177 | /* Make sure the PD is 4K in size up to 8GB address space. |
1181 | /* Make sure the PD is 4K in size up to 8GB address space. |
1178 | Above that split equal between PD and PTs */ |
1182 | Above that split equal between PD and PTs */ |