]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Make it possible to read instance0 MCR registers after xe_gt_mcr_init_early
authorMaarten Lankhorst <dev@lankhorst.se>
Thu, 19 Jun 2025 10:49:03 +0000 (12:49 +0200)
committerMaarten Lankhorst <dev@lankhorst.se>
Thu, 26 Jun 2025 20:11:28 +0000 (22:11 +0200)
commit2e1efcafd4fb61de987482d49a4e7b12395a3f25
treeb63d4e511b7d360e0028e2a170c4fffda9d73b6c
parent396044c9d84d6668d89a5b680688b0d5fcae3aa5
drm/xe: Make it possible to read instance0 MCR registers after xe_gt_mcr_init_early

After mcr_init_early, we need to be able to do VRAM and CCS probing
without hwconfig probe. Fortunately the relevant registers are all
instance 0, which fortunately means no dependencies on further initialization
is required.

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20250619104858.418440-17-dev@lankhorst.se
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
drivers/gpu/drm/xe/xe_gt_mcr.c
drivers/gpu/drm/xe/xe_gt_types.h