drm/nouveau/pm: improve memory timing generation
authorRoy Spliet <r.spliet@student.tudelft.nl>
Fri, 25 Nov 2011 14:52:22 +0000 (15:52 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 13 Mar 2012 07:06:26 +0000 (17:06 +1000)
commitbfb314652430ceca302bae0981d00903f055eee4
tree539d40f333d17c6d1789504297d95fe505e192b1
parentb0103747094b62231fc951dfaca4897f67670874
drm/nouveau/pm: improve memory timing generation

- Rename several VBIOS entries to closer match the real world
- Add the missing 0x100238 and 0x100240 register values
- Parse bit 14 of the VBIOS timing table
- "Magic value" -> tCWL, fixing some minor bugs in the process
- Also name a few more by their name rather than their number.
- Some values seem to be dependent on the memory type. Fix

Edits by Martin Peres <martin.peres@labri.fr>:
- this is a squash commit
- reworked for fixing some style issues

Signed-off-by: Roy Spliet <r.spliet@student.tudelft.nl>
Signed-off-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_mem.c