drm/i915: fix screen flickering
drm/i915: fix screen flickering

Commit c9f038a1a592 ("drm/i915: Don't assume primary & cursor are
always on for wm calculation (v4)") fixes a null pointer dereference.
Setting the primary and cursor panes to false in
ilk_compute_wm_parameters to false does however give the following
errors in the kernel log and causes the screen to flicker.

[  101.133716] [drm:intel_set_cpu_fifo_underrun_reporting [i915]]
*ERROR* uncleared fifo underrun on pipe A
[  101.133725] [drm:intel_cpu_fifo_underrun_irq_handler [i915]]
*ERROR* CPU pipe A FIFO underrun

Always setting the panes to enabled fixes this error.

Helped-by: Matt Roper <f1605a76cb9f6387d99228a0a9260318379b62de@intel.com>
Signed-off-by: Thomas Gummerer <b5d5468c18b856edee6cf44fd3ea820cd261b068@gmail.com>
Reviewed-by: Matt Roper <f1605a76cb9f6387d99228a0a9260318379b62de@intel.com>
Tested-by: Mario Kleiner <1e0b3b0517a6c13598ed894fc921c5c62f243c44@gmail.com>
Signed-off-by: Jani Nikula <ba783f3beccaedfda693f41a15407d612a629408@intel.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs