drm/i915/icl: program mbus during pipe enable
authorMahesh Kumar <mahesh1.kumar@intel.com>
Mon, 5 Feb 2018 17:21:31 +0000 (15:21 -0200)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 13 Feb 2018 12:19:51 +0000 (10:19 -0200)
commitc3cc39c539d46be73ee032d2ff1b3f8fe44d4483
tree4be39953244158425eceff023adaf6afc56d5a2f
parent4cb4585e5a7f780726ab18ab12b547d9331d4acd
drm/i915/icl: program mbus during pipe enable

This patch program default values of MBus credit during pipe enable.

Changes Since V1:
 - Add WARN_ON (Paulo)
 - Remove TODO comment
 - Program 0 during pipe disable
 - Rebase
Changes since V2:
 - We don't need to do anything when disabling the pipe
Changes since V3 (from Paulo):
 - Remove WARN() that we'll never be able to trigger (Ville).

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: James Ausmus <james.ausmus@intel.com>
Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180205172131.20255-1-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/intel_display.c