Revert "st/va: add enviromental variable to disable interlace"
authorLeo Liu <leo.liu@amd.com>
Wed, 23 Aug 2017 20:24:59 +0000 (16:24 -0400)
committerLeo Liu <leo.liu@amd.com>
Thu, 7 Sep 2017 17:32:36 +0000 (13:32 -0400)
This reverts commit 10dec2de2d9f568675d66d736b48701fa26f7b50.

The environment variable is no longer needed with the previous change

Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/va/surface.c

index b116fc3f27f1fd4e9a3e7086edcdc1ba0d2da045..67773cf76a4340c4d3b5624db8397f66f9f45349 100644 (file)
@@ -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));