Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From 8fb7d0f99d4afbb574b30cb4f1e66a8f89d94ad5 Mon Sep 17 00:00:00 2001 |
| 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
| 3 | Date: Wed, 26 Jan 2011 12:04:36 +0100 |
| 4 | Subject: [PATCH 1/6] Revert "Set a large CRTC upper limit to not prune larger |
| 5 | resolutions" |
| 6 | |
| 7 | Picture is garbled after switching resolutions, so revert it. |
| 8 | Virtual size too big, revert the commit 9c4d7592dcb7dc20a48a6f941d9d94bd73d34153. |
| 9 | |
| 10 | Upstream-Status: Pending |
| 11 | |
| 12 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
| 13 | --- |
| 14 | src/omapfb-crtc.c | 8 ++++---- |
| 15 | 1 file changed, 4 insertions(+), 4 deletions(-) |
| 16 | |
| 17 | diff --git a/src/omapfb-crtc.c b/src/omapfb-crtc.c |
| 18 | index 9aaa52f..cbeff35 100644 |
| 19 | --- a/src/omapfb-crtc.c |
| 20 | +++ b/src/omapfb-crtc.c |
| 21 | @@ -190,13 +190,13 @@ OMAPFBCRTCInit(ScrnInfoPtr pScrn) |
| 22 | * In practise, this doesn't seem to be supported. |
| 23 | * (no way to setup the overlay offset/base address) |
| 24 | */ |
| 25 | - /* FIXME: figure out what makes sense here. A known max resolution? |
| 26 | - * framebuffer size? |
| 27 | - */ |
| 28 | xf86CrtcSetSizeRange(pScrn, |
| 29 | - 8, 8, 2048, 2048); |
| 30 | + 8, 8, |
| 31 | + ofb->state_info.xres_virtual, |
| 32 | + ofb->state_info.yres_virtual); |
| 33 | |
| 34 | ofb->crtc = xf86CrtcCreate(pScrn, &OMAPFBCrtcFuncs); |
| 35 | + |
| 36 | } |
| 37 | |
| 38 | |
| 39 | -- |
| 40 | 1.8.0 |
| 41 | |