summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv84_video.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2013-08-10 18:53:15 -0400
committerMaarten Lankhorst <[email protected]>2013-08-16 09:48:26 +0200
commitb3f6f127f28737d034dcf1c12a9b66b88750e93b (patch)
tree7e2d07f4bab422a15c0eb54f47297b46fbabd293 /src/gallium/drivers/nv50/nv84_video.c
parentc1a6f59b20dab380b77ad1375062f9987cad9183 (diff)
nv50: separate video logic from noalloc
The upcoming vp3 logic will want the video layout, but allocated by the miptree. Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nv50/nv84_video.c')
-rw-r--r--src/gallium/drivers/nv50/nv84_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv84_video.c b/src/gallium/drivers/nv50/nv84_video.c
index 3602a6d1799..2167b024eb5 100644
--- a/src/gallium/drivers/nv50/nv84_video.c
+++ b/src/gallium/drivers/nv50/nv84_video.c
@@ -669,7 +669,7 @@ nv84_video_buffer_create(struct pipe_context *pipe,
templ.format = PIPE_FORMAT_R8_UNORM;
templ.width0 = align(template->width, 2);
templ.height0 = align(template->height, 4) / 2;
- templ.flags = NV50_RESOURCE_FLAG_VIDEO;
+ templ.flags = NV50_RESOURCE_FLAG_VIDEO | NV50_RESOURCE_FLAG_NOALLOC;
templ.array_size = 2;
cfg.nv50.tile_mode = 0x20;