summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-04-24 13:26:51 +1000
committerBen Skeggs <bskeggs@redhat.com>2012-04-30 15:55:39 +1000
commit0ed4bb92f5514bd1118c5dd537ce424381110286 (patch)
treec2c76d14201c80559d0124ed1bab46839fc0b186
parent5206b524c9b4e289ab0565e7bffd503d2e671c6e (diff)
downloadlinux-0ed4bb92f5514bd1118c5dd537ce424381110286.tar.gz
linux-0ed4bb92f5514bd1118c5dd537ce424381110286.tar.bz2
linux-0ed4bb92f5514bd1118c5dd537ce424381110286.zip
drm/nouveau/hdmi: use correct hdmi regs for nvaa/nvac
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_hdmi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_hdmi.c b/drivers/gpu/drm/nouveau/nouveau_hdmi.c
index 59ea1c14eca0..c3de36384522 100644
--- a/drivers/gpu/drm/nouveau/nouveau_hdmi.c
+++ b/drivers/gpu/drm/nouveau/nouveau_hdmi.c
@@ -32,7 +32,9 @@ static bool
hdmi_sor(struct drm_encoder *encoder)
{
struct drm_nouveau_private *dev_priv = encoder->dev->dev_private;
- if (dev_priv->chipset < 0xa3)
+ if (dev_priv->chipset < 0xa3 ||
+ dev_priv->chipset == 0xaa ||
+ dev_priv->chipset == 0xac)
return false;
return true;
}