]> 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)
commita20a612a5d42d282717e663882c2b8654e6f8bee
tree198b81c5b8660bce756ec0087ae0970e309e6e4b
parent1e00e4bc04206401ddb8a6322cd57cc49c0e9c45
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