Permalink
Browse files

nv50/xv: bump max dims to 8k

Untested, but I don't see why this wouldn't work...
  • Loading branch information...
skeggsb committed Dec 9, 2011
1 parent 57c6222 commit 3d9f6b32e0ad72dc8c7db07d039d87e83d8fdb1d
Showing with 9 additions and 1 deletion.
  1. +9 −1 src/nouveau_xv.c
View
@@ -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;

0 comments on commit 3d9f6b3

Please sign in to comment.