diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-07-01 10:54:52 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-07-08 12:56:55 +1000 |
commit | 0713b4510e62411071b748d786043cdaada56ce5 (patch) | |
tree | 54c53a46d0e1ed592a2745564b0a1def6fb587b5 /drivers/gpu/drm/nouveau/core/engine/disp/nv50.c | |
parent | 028791bb7d662550c7435d38daeb1f0b88ed5b17 (diff) | |
download | op-kernel-dev-0713b4510e62411071b748d786043cdaada56ce5.zip op-kernel-dev-0713b4510e62411071b748d786043cdaada56ce5.tar.gz |
drm/nouveau/dp: fix required link bandwidth calculations
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/engine/disp/nv50.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/engine/disp/nv50.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c b/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c index 26e962b..2283c44 100644 --- a/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c +++ b/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c @@ -1516,11 +1516,11 @@ nv50_disp_intr_unk20_2(struct nv50_disp_priv *priv, int head) } switch ((ctrl & 0x000f0000) >> 16) { - case 6: datarate = pclk * 30 / 8; break; - case 5: datarate = pclk * 24 / 8; break; + case 6: datarate = pclk * 30; break; + case 5: datarate = pclk * 24; break; case 2: default: - datarate = pclk * 18 / 8; + datarate = pclk * 18; break; } |