]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: add overscan compensation connector properties
authorBen Skeggs <bskeggs@redhat.com>
Thu, 6 Oct 2011 03:29:05 +0000 (13:29 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 21 Dec 2011 09:01:16 +0000 (19:01 +1000)
commitaa82142bac1899b8c3f72200842a11c6da7d8110
treecd624c2e776ea2d558e315ba1cb5b63c0868ef3c
parentc8abf1c4673d9359945d03b2818ec1fdf54e3738
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>
drivers/gpu/drm/nouveau/nouveau_connector.c
drivers/gpu/drm/nouveau/nouveau_connector.h
drivers/gpu/drm/nouveau/nouveau_display.c
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nv50_crtc.c