]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: Parse old style perf tables.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 20 Sep 2010 14:18:28 +0000 (16:18 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 24 Sep 2010 06:28:12 +0000 (16:28 +1000)
commite608f3f77cbcb8e95c09ed6ab50de7b28eaf259a
tree8f4df7e11ce6fac9b34e0d03a58ce8295a6ab994
parentdac77ada22b147135d9629d6155aff08b6754b10
drm/nouveau: Parse old style perf tables.

Used on nv17-nv28, they contain memory clocks and timings, only one of
the table entries can actually be used, depending on the RAMCFG
straps, and it's usually higher than the frequency programmed on boot
by the BIOS.

The memory timings listed in table version 0x1x are used to init the
0x12xx range but they aren't required for reclocking to work.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_perf.c
drivers/gpu/drm/nouveau/nouveau_pm.c