coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
intel_ddi.c File Reference
#include <types.h>
#include <console/console.h>
#include <drivers/intel/gma/i915.h>
Include dependency graph for intel_ddi.c:

Go to the source code of this file.

Functions

static void intel_prepare_ddi_buffers (int port, int use_fdi_mode)
 
void intel_prepare_ddi (void)
 

Variables

static u32 hsw_ddi_translations_dp []
 
static u32 hsw_ddi_translations_fdi []
 

Function Documentation

◆ intel_prepare_ddi()

void intel_prepare_ddi ( void  )

Definition at line 61 of file intel_ddi.c.

References intel_prepare_ddi_buffers(), PORT_A, and PORT_E.

Referenced by gma_setup_panel().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ intel_prepare_ddi_buffers()

static void intel_prepare_ddi_buffers ( int  port,
int  use_fdi_mode 
)
static

Definition at line 43 of file intel_ddi.c.

References ARRAY_SIZE, BIOS_SPEW, DDI_BUF_TRANS, gtt_write(), hsw_ddi_translations_dp, hsw_ddi_translations_fdi, and printk.

Referenced by intel_prepare_ddi().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ hsw_ddi_translations_dp

u32 hsw_ddi_translations_dp[]
static
Initial value:
= {
0x00FFFFFF, 0x0006000E,
0x00D75FFF, 0x0005000A,
0x00C30FFF, 0x00040006,
0x80AAAFFF, 0x000B0000,
0x00FFFFFF, 0x0005000A,
0x00D75FFF, 0x000C0004,
0x80C30FFF, 0x000B0000,
0x00FFFFFF, 0x00040006,
0x80D75FFF, 0x000B0000,
0x00FFFFFF, 0x00040006
}

Definition at line 11 of file intel_ddi.c.

Referenced by intel_prepare_ddi_buffers().

◆ hsw_ddi_translations_fdi

u32 hsw_ddi_translations_fdi[]
static
Initial value:
= {
0x00FFFFFF, 0x0007000E,
0x00D75FFF, 0x000F000A,
0x00C30FFF, 0x00060006,
0x00AAAFFF, 0x001E0000,
0x00FFFFFF, 0x000F000A,
0x00D75FFF, 0x00160004,
0x00C30FFF, 0x001E0000,
0x00FFFFFF, 0x00060006,
0x00D75FFF, 0x001E0000,
0x00FFFFFF, 0x00040006
}

Definition at line 24 of file intel_ddi.c.

Referenced by intel_prepare_ddi_buffers().