]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1056f36d990f2150aad21b871237403dd052551c
treea8536a4799ee31a97186d44c6bdb5fa90f6e3919
parent319c55f147e1cbc52c6d790f350db19fbc109169
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