mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 00:48:08 +02:00
nouveau: do not set on-board timer's numerator/denominator to bad values
This commit is contained in:
parent
9e4f908287
commit
1021799b6c
1 changed files with 7 additions and 0 deletions
|
|
@ -11,8 +11,15 @@ nv04_timer_init(struct drm_device *dev)
|
|||
NV_WRITE(NV04_PTIMER_INTR_EN_0, 0x00000000);
|
||||
NV_WRITE(NV04_PTIMER_INTR_0, 0xFFFFFFFF);
|
||||
|
||||
/* Just use the pre-existing values for now; these regs are not written
|
||||
* in nv (driver writer missed a /4 on the address), and writing 8 and 3
|
||||
* to the correct regs breaks the timings on the LVDS hardware
|
||||
* sequencing microcode.
|
||||
* A correct solution (involving calculations with the GPU PLL) can
|
||||
* be done when kernel modesetting lands
|
||||
NV_WRITE(NV04_PTIMER_NUMERATOR, 0x00000008);
|
||||
NV_WRITE(NV04_PTIMER_DENOMINATOR, 0x00000003);
|
||||
*/
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue