summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/radeon_uvd.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2013-05-02 16:19:41 +0200
committerChristian König <[email protected]>2013-05-03 11:00:21 +0200
commitb4b3041132e5b73b263217b7c25ebec3f3d879ce (patch)
tree4b740f4d64c8da2bdff7a3cec9e0048af7a6bab5 /src/gallium/drivers/radeon/radeon_uvd.c
parent85b0880a17a2cffb4b1116267656b33e79e1518f (diff)
radeon/uvd: enable interlaced buffers by default
Kills tilling on UVD buffers, but we currently don't really need that. Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_uvd.c')
-rw-r--r--src/gallium/drivers/radeon/radeon_uvd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/radeon_uvd.c b/src/gallium/drivers/radeon/radeon_uvd.c
index 154ef8e4038..caf3e9041d6 100644
--- a/src/gallium/drivers/radeon/radeon_uvd.c
+++ b/src/gallium/drivers/radeon/radeon_uvd.c
@@ -1105,9 +1105,9 @@ int ruvd_get_video_param(struct pipe_screen *screen,
case PIPE_VIDEO_CAP_PREFERED_FORMAT:
return PIPE_FORMAT_NV12;
case PIPE_VIDEO_CAP_PREFERS_INTERLACED:
- return false;
+ return true;
case PIPE_VIDEO_CAP_SUPPORTS_INTERLACED:
- return false; /* TODO: enable this */
+ return true;
case PIPE_VIDEO_CAP_SUPPORTS_PROGRESSIVE:
return true;
default: