summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nouveau_connector.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-10-17 04:38:10 +0400
committerBen Skeggs <bskeggs@redhat.com>2011-12-21 13:01:20 +0400
commit488ff207f98650c6a1f077e432b541f3cdcb7ab8 (patch)
tree5ffa2dec2fa355ad49ce1032ccdc5b7c9faf3b1c /drivers/gpu/drm/nouveau/nouveau_connector.c
parent6322175530c89ab719cea28202f96a3660491727 (diff)
downloadlinux-488ff207f98650c6a1f077e432b541f3cdcb7ab8.tar.xz
drm/nouveau: no need to pass parameters into set_scale/dither
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_connector.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_connector.c17
1 files changed, 5 insertions, 12 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c
index fc42ea8503cb..372955ddc591 100644
--- a/drivers/gpu/drm/nouveau/nouveau_connector.c
+++ b/drivers/gpu/drm/nouveau/nouveau_connector.c
@@ -471,7 +471,7 @@ nouveau_connector_set_property(struct drm_connector *connector,
if (!ret)
return -EINVAL;
} else {
- ret = nv_crtc->set_scale(nv_crtc, value, true);
+ ret = nv_crtc->set_scale(nv_crtc, true);
if (ret)
return ret;
}
@@ -486,9 +486,7 @@ nouveau_connector_set_property(struct drm_connector *connector,
if (!nv_crtc || !nv_crtc->set_scale)
return 0;
- return nv_crtc->set_scale(nv_crtc,
- nv_connector->scaling_mode,
- true);
+ return nv_crtc->set_scale(nv_crtc, true);
}
return 0;
@@ -500,9 +498,7 @@ nouveau_connector_set_property(struct drm_connector *connector,
if (!nv_crtc || !nv_crtc->set_scale)
return 0;
- return nv_crtc->set_scale(nv_crtc,
- nv_connector->scaling_mode,
- true);
+ return nv_crtc->set_scale(nv_crtc, true);
}
return 0;
@@ -514,9 +510,7 @@ nouveau_connector_set_property(struct drm_connector *connector,
if (!nv_crtc || !nv_crtc->set_scale)
return 0;
- return nv_crtc->set_scale(nv_crtc,
- nv_connector->scaling_mode,
- true);
+ return nv_crtc->set_scale(nv_crtc, true);
}
return 0;
@@ -532,8 +526,7 @@ nouveau_connector_set_property(struct drm_connector *connector,
if (!nv_crtc || !nv_crtc->set_dither)
return 0;
- return nv_crtc->set_dither(nv_crtc, nv_connector->use_dithering,
- true);
+ return nv_crtc->set_dither(nv_crtc, true);
}
if (nv_encoder && nv_encoder->dcb->type == OUTPUT_TV)