Revert "drm/i915: W/A for underruns with WM1+ disabled on icl"
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 13 Feb 2019 16:54:22 +0000 (18:54 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 14 Feb 2019 19:29:42 +0000 (21:29 +0200)
This reverts commit bf002c100740f4ae01d0d86b44f65a712ee14031.

The hw team has come up with a better workaround. So
let's get rid of this one.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190213165424.22904-1-ville.syrjala@linux.intel.com
Reviewed-by: Clint Taylor <Clinton.A.Taylor@intel.com>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c

index 9b4c5a6d0d4431706e6d0558c8e4049ba5ee517b..2ee810d466addc7f4c60c5af3c2e613457aa0eda 100644 (file)
@@ -7653,7 +7653,6 @@ enum {
 #define _PIPEB_CHICKEN                 0x71038
 #define _PIPEC_CHICKEN                 0x72038
 #define  PER_PIXEL_ALPHA_BYPASS_EN     (1 << 7)
-#define  PM_FILL_MAINTAIN_DBUF_FULLNESS        (1 << 0)
 #define PIPE_CHICKEN(pipe)             _MMIO_PIPE(pipe, _PIPEA_CHICKEN,\
                                                   _PIPEB_CHICKEN)
 
index 59544bb5c29467218f3d398161f1169f73bb3188..5e126234a70d7f97bd8e5782821999d45222df13 100644 (file)
@@ -3962,12 +3962,6 @@ static void icl_set_pipe_chicken(struct intel_crtc *crtc)
         */
        tmp |= PER_PIXEL_ALPHA_BYPASS_EN;
 
-       /*
-        * W/A for underruns with linear/X-tiled with
-        * WM1+ disabled.
-        */
-       tmp |= PM_FILL_MAINTAIN_DBUF_FULLNESS;
-
        I915_WRITE(PIPE_CHICKEN(pipe), tmp);
 }