Example #1
0
#ifndef CONFIG_MICRO
int check_display_plb(igd_display_context_t *display,
					  unsigned short port_number, unsigned long status){
	/* For poulsbo display should be working fine */
	return TRUE;
}
#endif

mode_dispatch_t mode_dispatch_plb = {
	igd_set_palette_entry_plb,
	igd_get_palette_entry_plb,
	igd_wait_vblank_plb,
	program_plane_plb,
	program_pipe_plb,
	program_port_plb,
	post_program_port_plb,
	program_clock_plb,
	reset_plane_pipe_ports_plb,
	get_gpio_sets_plb,
	filter_modes_plb,
	OPT_MICRO_VALUE(&check_display_plb, NULL),
	NULL,
	NULL,
	NULL,
	NULL,
	OPT_MICRO_VALUE(&mode_full_dispatch_plb, NULL)
};

#endif
Example #2
0
/*
 * Plane Definitions for Atom E6xx family.
 */
static igd_plane_t planea_tnc = {
    DSPACNTR, IGD_PLANE_DISPLAY | IGD_PLANE_DIH | IGD_PLANE_USE_PIPEA, 0, 0,
    fb_pixel_formats_tnc, &fb_info_cmn[0], NULL
};

static igd_plane_t planeb_tnc = {
    DSPBCNTR, IGD_PLANE_DISPLAY | IGD_PLANE_SPRITE | IGD_PLANE_DIH | IGD_PLANE_USE_PIPEB, 0, 0,
    fb_pixel_formats_tnc, &fb_info_cmn[1], NULL
};

static igd_plane_t planec_tnc = {
    DSPCCNTR, IGD_PLANE_SPRITE, 0, 0,
    OPT_MICRO_VALUE(sprite_pixel_formats_tnc, NULL), NULL, NULL
};

static igd_plane_t plane_vga_tnc = {
    VGACNTRL, IGD_PLANE_VGA, 0, 0,
    vga_pixel_formats_tnc, NULL, NULL
};

static igd_plane_t plane_overlay_tnc = {
    OVADD, IGD_PLANE_OVERLAY, 0, 0,
    OPT_MICRO_VALUE(overlay_pixel_formats_tnc, NULL), NULL, NULL
};

static igd_plane_t plane_cursora_tnc = {
    CUR_A_CNTR, IGD_PLANE_CURSOR|IGD_CURSOR_USE_PIPEA|IGD_CURSOR_USE_PIPEB, 0,0,
    OPT_MICRO_VALUE(cursor_pixel_formats_tnc, NULL), NULL, NULL