Skip to content

Commit

Permalink
Merge branch 'viafb-next' of git://github.com/schandinat/linux-2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Mundt committed Mar 16, 2011
2 parents 53b5031 + 2563afa commit c9ac136
Show file tree
Hide file tree
Showing 13 changed files with 579 additions and 1,025 deletions.
9 changes: 0 additions & 9 deletions drivers/video/via/chip.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,13 @@
struct tmds_chip_information {
int tmds_chip_name;
int tmds_chip_slave_addr;
int data_mode;
int output_interface;
int i2c_port;
int device_type;
};

struct lvds_chip_information {
int lvds_chip_name;
int lvds_chip_slave_addr;
int data_mode;
int output_interface;
int i2c_port;
};
Expand All @@ -142,9 +139,6 @@ struct chip_information {

struct crt_setting_information {
int iga_path;
int h_active;
int v_active;
int bpp;
int refresh_rate;
};

Expand All @@ -162,8 +156,6 @@ struct lvds_setting_information {
int h_active;
int v_active;
int bpp;
int refresh_rate;
int lcd_panel_id;
int lcd_panel_hres;
int lcd_panel_vres;
int display_method;
Expand All @@ -188,7 +180,6 @@ struct GFX_DPA_SETTING {
};

struct VT1636_DPA_SETTING {
int PanelSizeID;
u8 CLK_SEL_ST1;
u8 CLK_SEL_ST2;
};
Expand Down
4 changes: 3 additions & 1 deletion drivers/video/via/dvi.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ void viafb_dvi_set_mode(struct VideoModeTable *mode, int mode_bpp,
struct crt_mode_table *pDviTiming;
unsigned long desirePixelClock, maxPixelClock;
pDviTiming = mode->crtc;
desirePixelClock = pDviTiming->clk / 1000000;
desirePixelClock = pDviTiming->refresh_rate
* pDviTiming->crtc.hor_total * pDviTiming->crtc.ver_total
/ 1000000;
maxPixelClock = (unsigned long)viaparinfo->
tmds_setting_info->max_pixel_clock;

Expand Down
Loading

0 comments on commit c9ac136

Please sign in to comment.