From 0d72e6e52c0e0c1836f75d6fa7675c3a26425ede Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Tue, 21 Sep 2004 17:39:10 +0000 Subject: [PATCH] small pll pgm update for coldstart stuff (temporary) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9022 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/accelerants/nvidia/engine/nv_info.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/add-ons/accelerants/nvidia/engine/nv_info.c b/src/add-ons/accelerants/nvidia/engine/nv_info.c index 18481ff783..19424b07ce 100644 --- a/src/add-ons/accelerants/nvidia/engine/nv_info.c +++ b/src/add-ons/accelerants/nvidia/engine/nv_info.c @@ -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);