]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe: Always setup GT MMIO adjustment data
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 14 Nov 2024 17:59:54 +0000 (18:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 May 2025 09:13:46 +0000 (11:13 +0200)
commit123ede41d5ece2e977420ce078405e933ea9bd42
treee89026d9cd63a6680365939a976ca694c1676bf4
parentef6e950aea76a5009ccc79ebfa955ecc66cd85a2
drm/xe: Always setup GT MMIO adjustment data

[ Upstream commit bbd8429264baf8bc3c40cefda048560ae0eb7890 ]

While we believed that xe_gt_mmio_init() will be called just once
per GT, this might not be a case due to some tweaks that need to
performed by the VF driver during early probe.  To avoid leaving
any stale data in case of the re-run, reset the GT MMIO adjustment
data for the non-media GT case.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241114175955.2299-2-michal.wajdeczko@intel.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/xe/xe_gt.c