]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/pm: restructure bios table parsing
authorBen Skeggs <bskeggs@redhat.com>
Mon, 16 Jan 2012 12:34:03 +0000 (22:34 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 13 Mar 2012 07:07:00 +0000 (17:07 +1000)
commitb6e3d369354fa6fa118a340a6c08f7363691be70
tree198b81c5b8660bce756ec0087ae0970e309e6e4b
parent07ed3cfc92964c5ac1e14189cef2ae8214deb52a
drm/nouveau/pm: restructure bios table parsing

It turns out we need access to some additional information in various VBIOS
tables to handle PFB memory timings correctly.

Rather than hack in parsing of the new stuff in some kludgy way, I've
restructured the VBIOS parsing to be more primitive, so we can use them in
more flexible ways in the future.

The perflvl->timing association code is disabled for the moment until it can
be reworked.  We don't use this stuff yet anyway, so no harm done.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Martin Peres <martin.peres@labri.fr>
drivers/gpu/drm/nouveau/nouveau_perf.c