summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_connector.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-10-06 13:29:05 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-12-21 19:01:16 +1000
commitb29caa5885e85bbda7c84ea55721b9e79718583a (patch)
treecd624c2e776ea2d558e315ba1cb5b63c0868ef3c /drivers/gpu/drm/nouveau/nouveau_connector.h
parent27d5030a235d89842ed70e18d924f017b34a496d (diff)
downloadlinux-b29caa5885e85bbda7c84ea55721b9e79718583a.tar.gz
linux-b29caa5885e85bbda7c84ea55721b9e79718583a.tar.bz2
linux-b29caa5885e85bbda7c84ea55721b9e79718583a.zip
drm/nouveau: add overscan compensation connector properties
Exposes the same connector properties as the Radeon implementation, however their behaviour isn't exactly the same. The primary difference being that unless both hborder/vborder have been defined by the user, the driver will keep the aspect ratio of the overscanned area the same as the mode the display is programmed for. Enabled for digital outputs on GeForce 8 and up, excluding GF119. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_connector.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_connector.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.h b/drivers/gpu/drm/nouveau/nouveau_connector.h
index 711b1e9203af..5bcaabbd375c 100644
--- a/drivers/gpu/drm/nouveau/nouveau_connector.h
+++ b/drivers/gpu/drm/nouveau/nouveau_connector.h
@@ -35,8 +35,11 @@ struct nouveau_connector {
struct dcb_connector_table_entry *dcb;
- int scaling_mode;
bool use_dithering;
+ int scaling_mode;
+ enum nouveau_underscan_type underscan;
+ u32 underscan_hborder;
+ u32 underscan_vborder;
struct nouveau_encoder *detected_encoder;
struct edid *edid;