diff options
author | Koby Elbaz <kelbaz@habana.ai> | 2023-11-28 18:53:16 +0200 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 11:45:09 -0500 |
commit | 0c923a68abbfe6d7b4fd2ee37c237aba9d870eaf (patch) | |
tree | 9963824b3c8ab730c8fa8cc2fe1fa157868d1eef /drivers/gpu/drm/xe/xe_pci.c | |
parent | 082802a3ee09e764bc1513988d6f5889712fe88f (diff) | |
download | lwn-0c923a68abbfe6d7b4fd2ee37c237aba9d870eaf.tar.gz lwn-0c923a68abbfe6d7b4fd2ee37c237aba9d870eaf.zip |
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_pci.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c index 57eecaac53b5..1f3b2ce7c044 100644 --- a/drivers/gpu/drm/xe/xe_pci.c +++ b/drivers/gpu/drm/xe/xe_pci.c @@ -62,7 +62,7 @@ struct xe_device_desc { u8 has_llc:1; u8 has_sriov:1; - u8 bypass_mtcfg:1; + u8 skip_mtcfg:1; u8 skip_pcode:1; u8 supports_mmio_ext:1; u8 skip_guc_pc:1; @@ -581,7 +581,7 @@ static int xe_info_init(struct xe_device *xe, xe->info.media_name = media_desc ? media_desc->name : "none"; xe->info.has_llc = desc->has_llc; xe->info.has_sriov = desc->has_sriov; - xe->info.bypass_mtcfg = desc->bypass_mtcfg; + xe->info.skip_mtcfg = desc->skip_mtcfg; xe->info.skip_pcode = desc->skip_pcode; xe->info.supports_mmio_ext = desc->supports_mmio_ext; xe->info.tile_mmio_ext_size = graphics_desc->tile_mmio_ext_size; |