Some work to support output on the digital interface like laptop panels.
Need to clean this up, though. It even sort of worked on tic's IBM X40 on BeGeistert - if you weren't irritated by the fact some parts of the screen were just black, that is :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17565 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -180,7 +180,7 @@ struct intel_free_graphics_memory {
|
||||
#define INTEL_RING_BUFFER_HEAD_MASK 0x001ffffc
|
||||
#define INTEL_RING_BUFFER_ENABLED 1
|
||||
|
||||
// display
|
||||
// display A
|
||||
#define INTEL_DISPLAY_HTOTAL 0x60000
|
||||
#define INTEL_DISPLAY_HBLANK 0x60004
|
||||
#define INTEL_DISPLAY_HSYNC 0x60008
|
||||
@@ -193,6 +193,7 @@ struct intel_free_graphics_memory {
|
||||
#define INTEL_DISPLAY_BASE 0x70184
|
||||
#define INTEL_DISPLAY_BYTES_PER_ROW 0x70188
|
||||
#define DISPLAY_CONTROL_ENABLED (1UL << 31)
|
||||
#define DISPLAY_CONTROL_GAMMA (1UL << 30)
|
||||
#define DISPLAY_CONTROL_COLOR_MASK (0x0fUL << 26)
|
||||
#define DISPLAY_CONTROL_CMAP8 (2UL << 26)
|
||||
#define DISPLAY_CONTROL_RGB15 (4UL << 26)
|
||||
@@ -240,6 +241,16 @@ struct intel_free_graphics_memory {
|
||||
#define DISPLAY_MONITOR_POSITIVE_HSYNC (1UL << 3)
|
||||
#define DISPLAY_MONITOR_POSITIVE_VSYNC (2UL << 3)
|
||||
|
||||
// display B
|
||||
#define INTEL_DISPLAY_B_DIGITAL_PORT 0x61000
|
||||
#define INTEL_DISPLAY_B_IMAGE_SIZE 0x6101c
|
||||
|
||||
#define INTEL_DISPLAY_B_PIPE_CONTROL 0x71008
|
||||
|
||||
#define INTEL_DISPLAY_B_CONTROL 0x71180
|
||||
#define INTEL_DISPLAY_B_BASE 0x71184
|
||||
#define INTEL_DISPLAY_B_BYTES_PER_ROW 0x71188
|
||||
|
||||
// cursor
|
||||
#define INTEL_CURSOR_CONTROL 0x70080
|
||||
#define INTEL_CURSOR_BASE 0x70084
|
||||
|
||||
Reference in New Issue
Block a user