Project

General

Profile

Actions

Bug #12041

closed

tem: x86 needs to use tems.ts_color_map() for 8-bit colors

Added by Toomas Soome almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

The x86 in this context is something with no TEM in firmware, but thats just fancy way to separate sparc from x86:)

In case of 8-bit colors, we have indexed colors and we are using palette stored in gfx adapter. Since we are using color array built for sparc, on x86 we need to translate that to VGA colors, so we need to call the translation.

Testing done: build/install/boot to test this, we need to set framebuffer to 8 bit color depth, like with framebuffer set 1440x900x8. (this only is possible in BIOS boot as UEFI only does provide 32-bit colors).

Actions #1

Updated by Toomas Soome almost 2 years ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk almost 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 4deedc8c9617c76c1e08a5265614b205754926c4

commit  4deedc8c9617c76c1e08a5265614b205754926c4
Author: Toomas Soome <tsoome@me.com>
Date:   2019-12-02T07:58:01.000Z

    12041 tem: x86 needs to use tems.ts_color_map() for 8-bit colors
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Reviewed by: Alexander Eremin <a.eremin@nexenta.com>
    Reviewed by: Randy Fishel <randyf@sibernet.com>
    Approved by: Robert Mustacchi <rm@fingolfin.org>

Actions

Also available in: Atom PDF