summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_mmio.c
diff options
context:
space:
mode:
authorKoby Elbaz <kelbaz@habana.ai>2023-11-28 18:53:16 +0200
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 11:45:09 -0500
commit0c923a68abbfe6d7b4fd2ee37c237aba9d870eaf (patch)
tree9963824b3c8ab730c8fa8cc2fe1fa157868d1eef /drivers/gpu/drm/xe/xe_mmio.c
parent082802a3ee09e764bc1513988d6f5889712fe88f (diff)
drm/xe: rename bypass_mtcfg to skip_mtcfg
Per device, set this flag to access the MTCFG register or to skip it. This is done to standardise Xe driver naming if an access to any HW should be avoided. Signed-off-by: Koby Elbaz <kelbaz@habana.ai> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_mmio.c')
-rw-r--r--drivers/gpu/drm/xe/xe_mmio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_mmio.c b/drivers/gpu/drm/xe/xe_mmio.c
index 0f846272e39c..883610fc0abf 100644
--- a/drivers/gpu/drm/xe/xe_mmio.c
+++ b/drivers/gpu/drm/xe/xe_mmio.c
@@ -330,7 +330,7 @@ static void xe_mmio_probe_tiles(struct xe_device *xe)
if (tile_count == 1)
goto add_mmio_ext;
- if (!xe->info.bypass_mtcfg) {
+ if (!xe->info.skip_mtcfg) {
mtcfg = xe_mmio_read64_2x32(gt, XEHP_MTCFG_ADDR);
tile_count = REG_FIELD_GET(TILE_COUNT, mtcfg) + 1;
if (tile_count < xe->info.tile_count) {