Mark Cave-Ayland a797ec500a cuda: set timer 1 frequency property to CUDA_TIMER_FREQ
Now that we have successfully decoupled the timebase frequency and the hardware
timer frequency, set the timer 1 frequency property to CUDA_TIMER_FREQ and alter
get_next_irq_time() to use it rather than the hard-coded constant.

In addition to this we must now switch the tb_diff calculation over to use the
timebase frequency now that the hardware clock frequency and the timebase
frequency are different.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
[dwg: Correct a conflict due to a bug in an earlier patch]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2018-02-11 10:14:51 +11:00
..
2018-02-09 14:39:09 +00:00
2018-02-09 05:05:11 +01:00
2018-02-09 14:39:09 +00:00
2017-10-27 16:03:54 +02:00
2018-02-09 14:39:09 +00:00
2018-01-19 11:18:51 -02:00
2016-01-29 15:07:25 +00:00
2018-02-09 14:39:09 +00:00
2018-02-09 05:05:11 +01:00
2018-02-09 14:39:09 +00:00
2018-02-09 13:52:15 +01:00
2017-08-30 18:23:25 +02:00