diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-08-04 22:08:03 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-08-06 08:35:40 +1000 |
commit | 1ac7b528a0e924308cfedea5d71b78c31c23b851 (patch) | |
tree | dc0fbbc938d03adeb58eb8deabac650dd322ec09 /drivers/gpu/drm/nouveau/nouveau_bios.c | |
parent | 0165d15dba2cec6ae2e6eb9c4eb6f2a5b38d4944 (diff) | |
download | lwn-1ac7b528a0e924308cfedea5d71b78c31c23b851.tar.gz lwn-1ac7b528a0e924308cfedea5d71b78c31c23b851.zip |
drm/nvc0: implement crtc pll setting
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_bios.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_bios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c index 274e9b66ec63..e0997d6e6d77 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bios.c +++ b/drivers/gpu/drm/nouveau/nouveau_bios.c @@ -4828,7 +4828,7 @@ int get_pll_limits(struct drm_device *dev, uint32_t limit_match, struct pll_lims pll_lim->min_p = record[12]; pll_lim->max_p = record[13]; /* where did this go to?? */ - if (limit_match == 0x00614100 || limit_match == 0x00614900) + if ((entry[0] & 0xf0) == 0x80) pll_lim->refclk = 27000; else pll_lim->refclk = 100000; |