Files
linux/drivers
Wei Ni 85fa319d8a drm/nouveau/drm/nouveau/clk: fix tstate to pstate calculation
According to the tstate calculation in nvkm_clk_tstate(),
the range of tstate is from -(clk->state_nr - 1) to 0,
it mean the tstate is negative value. But in nvkm_pstate_work(),
it use (clk->state_nr - 1 - clk->tstate) to limit pstate,
it's not correct.
This patch fix it to use (clk->state_nr - 1 + clk->tstate) to
limit pstate.

Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2015-08-28 12:40:01 +10:00
..
2015-06-10 22:46:34 -07:00
2015-08-14 15:56:32 -07:00
2015-08-17 14:13:53 +10:00
2015-06-13 08:44:14 -07:00
2015-08-17 14:13:53 +10:00
2015-07-24 15:14:04 -06:00
2015-08-17 14:13:53 +10:00