From: Leo Liu Date: Wed, 23 Aug 2017 20:24:59 +0000 (-0400) Subject: Revert "st/va: add enviromental variable to disable interlace" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e8ef538376b92381ada5dc828e8b1dd42cf936c;p=mesa.git 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 --- 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 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));