summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2017-08-23 16:24:59 -0400
committerLeo Liu <[email protected]>2017-09-07 13:32:36 -0400
commit6e8ef538376b92381ada5dc828e8b1dd42cf936c (patch)
treef994d44be30930bc6bb6e1afbaa3e82069070347
parent15d4d44d9b2467484b95f71d76224b7de2da5e40 (diff)
Revert "st/va: add enviromental variable to disable interlace"
This reverts commit 10dec2de2d9f568675d66d736b48701fa26f7b50. The environment variable is no longer needed with the previous change Reviewed-by: Christian König <[email protected]>
-rw-r--r--src/gallium/state_trackers/va/surface.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/va/surface.c b/src/gallium/state_trackers/va/surface.c
index b116fc3f27f..67773cf76a4 100644
--- a/src/gallium/state_trackers/va/surface.c
+++ b/src/gallium/state_trackers/va/surface.c
@@ -43,8 +43,6 @@
#include "va_private.h"
-DEBUG_GET_ONCE_BOOL_OPTION(nointerlace, "VAAPI_DISABLE_INTERLACE", FALSE);
-
#include <va/va_drmcommon.h>
static const enum pipe_format vpp_surface_formats[] = {
@@ -709,8 +707,6 @@ vlVaCreateSurfaces2(VADriverContextP ctx, unsigned int format,
templat.width = width;
templat.height = height;
- if (debug_get_option_nointerlace())
- templat.interlaced = false;
memset(surfaces, VA_INVALID_ID, num_surfaces * sizeof(VASurfaceID));