From 3d9f6b32e0ad72dc8c7db07d039d87e83d8fdb1d Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Fri, 9 Dec 2011 17:45:31 +1000 Subject: nv50/xv: bump max dims to 8k Untested, but I don't see why this wouldn't work... --- src/nouveau_xv.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/nouveau_xv.c b/src/nouveau_xv.c index f510516..ad203a0 100644 --- a/src/nouveau_xv.c +++ b/src/nouveau_xv.c @@ -93,6 +93,14 @@ static XF86VideoEncodingRec DummyEncodingTex = {1, 1} }; +static XF86VideoEncodingRec DummyEncodingNV50 = +{ + 0, + "XV_IMAGE", + 8192, 8192, + {1, 1} +}; + #define NUM_FORMATS_ALL 6 XF86VideoFormatRec NVFormats[NUM_FORMATS_ALL] = @@ -1975,7 +1983,7 @@ NV50SetupTexturedVideo (ScreenPtr pScreen) adapt->flags = 0; adapt->name = "Nouveau GeForce 8/9 Textured Video"; adapt->nEncodings = 1; - adapt->pEncodings = &DummyEncodingTex; + adapt->pEncodings = &DummyEncodingNV50; adapt->nFormats = NUM_FORMATS_ALL; adapt->pFormats = NVFormats; adapt->nPorts = NUM_TEXTURE_PORTS; -- cgit v1.2.1