OSDN Git Service

drm/i915: Program MBUS with rmw during initialization
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 4 Feb 2020 01:10:31 +0000 (17:10 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 20 Feb 2020 21:12:16 +0000 (13:12 -0800)
commit837b63e6087838d0f1e612d448405419199d8033
tree0e4dbaad73478f95864ff365386946f5c763d2a5
parentf986ef2ec306f1e8cda91b189d683618bbefcb97
drm/i915: Program MBUS with rmw during initialization

It wasn't terribly clear from the bspec's wording, but after discussion
with the hardware folks, it turns out that we need to preserve the
pre-existing contents of the MBUS ABOX control register when
initializing a few specific bits.

Bspec: 49213
Bspec: 50096
Fixes: 4cb4585e5a7f ("drm/i915/icl: initialize MBus during display init")
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-1-matthew.d.roper@intel.com
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
drivers/gpu/drm/i915/display/intel_display_power.c