/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved. * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
*/ #ifndef __CHIP_H__ #define __CHIP_H__
#include"global.h"
/***************************************/ /* Definition Graphic Chip Information */ /***************************************/
#define PCI_VIA_VENDOR_ID 0x1106
/* Define VIA Graphic Chip Name */ #define UNICHROME_CLE266 1 #define UNICHROME_CLE266_DID 0x3122 #define CLE266_REVISION_AX 0x0A #define CLE266_REVISION_CX 0x0C
struct tmds_chip_information { int tmds_chip_name; int tmds_chip_target_addr; int output_interface; int i2c_port;
};
struct lvds_chip_information { int lvds_chip_name; int lvds_chip_target_addr; int output_interface; int i2c_port;
};
/* The type of 2D engine */ enum via_2d_engine {
VIA_2D_ENG_H2,
VIA_2D_ENG_H5,
VIA_2D_ENG_M1,
};
struct chip_information { int gfx_chip_name; int gfx_chip_revision; enum via_2d_engine twod_engine; struct tmds_chip_information tmds_chip_info; struct lvds_chip_information lvds_chip_info; struct lvds_chip_information lvds_chip_info2;
};
struct tmds_setting_information { int iga_path; int h_active; int v_active; int max_pixel_clock;
};
struct lvds_setting_information { int iga_path; int lcd_panel_hres; int lcd_panel_vres; int display_method; int device_lcd_dualedge; int LCDDithering; int lcd_mode;
u32 vclk; /*panel mode clock value */
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.