]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/vram: Convert register access to use xe_mmio
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 10 Sep 2024 23:47:33 +0000 (16:47 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 11 Sep 2024 22:17:46 +0000 (15:17 -0700)
commit02f017cc13ae54b513d0322a6f5f80b379179b96
tree6a5b0570b038d59984fad2d0769ef40e81e5e7f1
parent1f7468c8b67f536fe8ea6fc99f327dfd5b2755f1
drm/xe/vram: Convert register access to use xe_mmio

Stop using GT pointers for register access.  Note that MIRROR_FUSE3 is a
GT register and is accessed via gt->mmio, whereas GSMBASE is an sgunit
register so it is accessed via tile->mmio.

Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240910234719.3335472-58-matthew.d.roper@intel.com
drivers/gpu/drm/xe/xe_vram.c