[Openchrome-devel] xf86-video-openchrome: src/via_ums.c

Kevin Brace kevinbrace at kemper.freedesktop.org
Wed May 11 13:01:09 UTC 2016


 src/via_ums.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c81bc0aef5bc23508f0f4eb544f4e7e57ea953ec
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Mon May 9 22:58:21 2016 -0700

    Adjusting xf86CrtcSetSizeRange max_pitch and max_height
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_ums.c b/src/via_ums.c
index 83ade2e..5e42381 100644
--- a/src/via_ums.c
+++ b/src/via_ums.c
@@ -1004,7 +1004,7 @@ umsCrtcInit(ScrnInfoPtr pScrn)
         max_height = 2508;
         break;
     default:
-        max_pitch = 16384 / (pScrn->bitsPerPixel >> 3) - 1;
+        max_pitch = 16384 / (pScrn->bitsPerPixel >> 3);
         max_height = max_pitch;
         break;
     }


More information about the Openchrome-devel mailing list