]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add support for steered register writes
authorMatt Roper <matthew.d.roper@intel.com>
Mon, 14 Mar 2022 23:42:03 +0000 (16:42 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 16 Mar 2022 02:46:58 +0000 (19:46 -0700)
commit918fcd5846fe447c95e492e5beddd5a955d5a61d
tree8dda81ea93899b97453325fd8d09bb23f0c9cf72
parentac0454dd4b9f6439989071ba83781d96397bd117
drm/i915: Add support for steered register writes

Upcoming patches will need to steer writes to multicast registers as
well as reading them.

Although the setting of the 'multicast' bit should only really matter
for write operations (reads always operate in a unicast manner and give
us the result from one specific instance), Wa_22013088509 suggests that
we leave the multicast bit enabled when performing read operations, so
we follow suit here.

Cc: Harish Chegondi <harish.chegondi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220314234203.799268-4-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_gt_regs.h
drivers/gpu/drm/i915/intel_uncore.c
drivers/gpu/drm/i915/intel_uncore.h