small pll pgm update for coldstart stuff (temporary)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9022 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
663122f277
commit
0d72e6e52c
@ -407,6 +407,7 @@ static status_t exec_type1_script(uint8* rom, uint16 adress, int16* size, uint16
|
||||
display_mode target;
|
||||
float calced_clk;
|
||||
uint8 m, n, p;
|
||||
target.space = B_CMAP8;
|
||||
target.timing.pixel_clock = (data2 * 1000);
|
||||
nv_dac_pix_pll_find(target, &calced_clk, &m, &n, &p, 0);
|
||||
NV_REG32(reg) = ((p << 16) | (n << 8) | m);
|
||||
@ -713,6 +714,7 @@ static status_t exec_type1_script(uint8* rom, uint16 adress, int16* size, uint16
|
||||
display_mode target;
|
||||
float calced_clk;
|
||||
uint8 m, n, p;
|
||||
target.space = B_CMAP8;
|
||||
target.timing.pixel_clock = (data * 10);
|
||||
nv_dac_pix_pll_find(target, &calced_clk, &m, &n, &p, 0);
|
||||
NV_REG32(reg) = ((p << 16) | (n << 8) | m);
|
||||
@ -1340,6 +1342,7 @@ static status_t exec_type2_script(uint8* rom, uint16 adress, int16* size, PinsTa
|
||||
display_mode target;
|
||||
float calced_clk;
|
||||
uint8 m, n, p;
|
||||
target.space = B_CMAP8;
|
||||
target.timing.pixel_clock = (data * 10);
|
||||
nv_dac_pix_pll_find(target, &calced_clk, &m, &n, &p, 0);
|
||||
NV_REG32(reg) = ((p << 16) | (n << 8) | m);
|
||||
|
Loading…
Reference in New Issue
Block a user