| Summary: |
vesa.c, misprint condition. |
| Product: |
xorg
|
Reporter: |
Andrey Kovalev <aka> |
| Component: |
Driver/Vesa | Assignee: |
Xorg Project Team <xorg-team> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
Xorg Project Team <xorg-team> |
| Severity: |
normal
|
|
|
| Priority: |
medium
|
|
|
| Version: |
git | |
|
| Hardware: |
Other | |
|
| OS: |
Linux (All) | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
| Bug Depends on: |
|
|
|
| Bug Blocks: |
10101
|
|
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
vesa.c, near line 1166: if (pScrn->bitsPerPixel == 8 && pVesa->vbeInfo->Capabilities[0] & 0x01 && !(data->data->MemoryModel & 0x6 || data->data->MemoryModel & 0x7)) VBESetGetDACPaletteFormat(pVesa->pVbe, 8); Condition (data->data->MemoryModel & 0x6 || data->data->MemoryModel & 0x7) is incorrect. All 8-bit palette modes I've seen (vmware, via cle266, ati) comes with MemoryModel == 0x04, condition fails and default 6bit DAC paletter format left unchnged. (data->data->MemoryModel == 0x6 || data->data->MemoryModel == 0x7) work for me.