]> 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)
commitd98b50971d9367d263eb531872c6d497088881b5
treecd624c2e776ea2d558e315ba1cb5b63c0868ef3c
parent8a0ef257cc4daaee1072ef295a1762cbe9b09ad8
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