linux_dsm_epyc7002/drivers/gpu/drm/nouveau/nvkm/subdev
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
..
bar drm/nouveau/timer: namespace + nvidia gpu names (no binary change) 2015-01-22 12:17:58 +10:00
bios drm/nouveau/bios/ramcfg: Separate out RON pull value 2015-08-28 12:39:56 +10:00
bus drm/nouveau/pbus/hwsq: Make code size u16 2015-04-14 17:00:49 +10:00
clk drm/nouveau/drm/nouveau/clk: fix tstate to pstate calculation 2015-08-28 12:40:01 +10:00
devinit drm/nouveau/devinit/gm100-: force devinit table execution on boards without PDISP 2015-05-29 10:59:32 +10:00
fb drm/nouveau/fb/gddr3: Add a few CL and WR entries observed on GTX260 2015-08-28 12:39:57 +10:00
fuse drm/nouveau/fuse/gm107: simplify the return logic 2015-04-14 16:59:21 +10:00
gpio drm/nouveau/gpio: namespace + nvidia gpu names (no binary change) 2015-01-22 12:17:53 +10:00
i2c drm/nouveau/instmem: namespace + nvidia gpu names (no binary change) 2015-01-22 12:17:55 +10:00
ibus drm/nouveau/ibus/gk20a: increase SM wait timeout 2015-07-27 18:56:08 +10:00
instmem drm/nouveau/drm/nv04-nv40/instmem: protect access to priv->heap by mutex 2015-07-27 18:56:07 +10:00
ltc make RAM device optional 2015-04-14 17:00:42 +10:00
mc drm/nouveau/mc: namespace + nvidia gpu names (no binary change) 2015-01-22 12:17:56 +10:00
mmu drm/nouveau/mmu: namespace + nvidia gpu names (no binary change) 2015-01-22 12:17:57 +10:00
mxm drm/nouveau/mxm: indent an if statement 2015-04-14 16:59:21 +10:00
pmu drm/nouveau/pmu/gk20a: add some missing statics 2015-04-14 17:00:52 +10:00
therm drm/nouveau/timer: namespace + nvidia gpu names (no binary change) 2015-01-22 12:17:58 +10:00
timer drm/nouveau/timer: namespace + nvidia gpu names (no binary change) 2015-01-22 12:17:58 +10:00
volt drm/nouveau/volt: namespace + nvidia gpu names (no binary change) 2015-01-22 12:17:59 +10:00
Kbuild drm/nouveau/mspdec: separate from vp 2015-01-22 12:17:48 +10:00