]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/gpu/drm/nouveau/nouveau_drv.h
drm/nouveau: make the behaviour of get_pll_limits() consistent
authorBen Skeggs <bskeggs@redhat.com>
Thu, 16 Sep 2010 05:25:25 +0000 (15:25 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 24 Sep 2010 06:26:49 +0000 (16:26 +1000)
commit855a95e4fc2ac6b758145ca7d6a0c95b66a57ef8
treea8536a4799ee31a97186d44c6bdb5fa90f6e3919
parentf9aafdd30ef8356f0a3690bf9bdd9c6e51b7705c
drm/nouveau: make the behaviour of get_pll_limits() consistent

This replaces all the pll_types definitions for ones that match the types
used in the tables in recent VBIOS versions.

get_pll_limits() will now accept either type or register value as input
across all limits table versions, and will store the actual register ID
that a PLL type refers to in the returned structure.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bios.c
drivers/gpu/drm/nouveau/nouveau_bios.h
drivers/gpu/drm/nouveau/nouveau_calc.c
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_hw.c
drivers/gpu/drm/nouveau/nv04_crtc.c