search for: nv_nv17_load_detect

Displaying 1 result from an estimated 1 matches for "nv_nv17_load_detect".

2009 Jun 10
0
[PATCH] Use nanosleep instead of usleep when waiting the hardware.
...) NVWriteRAMDAC(pNv, 0, NV_PRAMDAC_TEST_CONTROL, saved_rtest_ctrl & ~NV_PRAMDAC_TEST_CONTROL_PWRDWN_DAC_OFF); - usleep(10000); + nouveau_usleep(10000); saved_pi = NVReadVgaCrtc(pNv, 0, NV_CIO_CRE_PIXEL_INDEX); NVWriteVgaCrtc(pNv, 0, NV_CIO_CRE_PIXEL_INDEX, @@ -258,7 +258,7 @@ nv_nv17_load_detect(ScrnInfoPtr pScrn, struct nouveau_encoder *nv_encoder) nvWriteMC(pNv, NV_PBUS_POWERCTRL_4, saved_powerctrl_4 & 0xffffffcf); } - usleep(4000); + nouveau_usleep(4000); saved_routput = NVReadRAMDAC(pNv, 0, NV_PRAMDAC_DACCLK + regoffset); head = (saved_routput & 0x100) >> 8;...