]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/tgl: Program MBUS_ABOX{1,2}_CTL during display init
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 4 Feb 2020 01:10:32 +0000 (17:10 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 20 Feb 2020 21:14:31 +0000 (13:14 -0800)
commit1042b2b93dac8029122fa7abeedf6b8f0f795a25
treea9fce380be633c3c3a63b0667a4771dbc93c4c64
parent837b63e6087838d0f1e612d448405419199d8033
drm/i915/tgl: Program MBUS_ABOX{1,2}_CTL during display init

On gen11 we only needed to program MBus credits into MBUS_ABOX_CTL
during display initialization, but on gen12 we're now supposed to
program the same values into MBUS_ABOX1_CTL and MBUS_ABOX2_CTL as well.

v2:
 - Program registers with rmw to preserve contents of unrelated bits.
 - Switch to the new display uncore helpers.

Bspec: 49213
Bspec: 50096
Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200204011032.582737-2-matthew.d.roper@intel.com
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/i915_reg.h