summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-12-09 17:45:31 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-12-23 00:40:00 +1000
commit3d9f6b32e0ad72dc8c7db07d039d87e83d8fdb1d (patch)
tree636a14d26e98e31e9cf37c06309f4a19ee4f108b
parent57c62228e2e67370feeeb421c369fbf940d30ca4 (diff)
downloadxorg-driver-xf86-video-nouveau-3d9f6b32e0ad72dc8c7db07d039d87e83d8fdb1d.tar.gz
nv50/xv: bump max dims to 8k
Untested, but I don't see why this wouldn't work...
-rw-r--r--src/nouveau_xv.c10
1 files changed, 9 insertions, 1 deletions
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;