drm/xe: Drop vram_id
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 1 Jun 2023 21:52:29 +0000 (14:52 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:34:15 +0000 (18:34 -0500)
The VRAM ID is always the tile ID; there's no need to track it
separately within a GT.

Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20230601215244.678611-17-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_pci.c

index b91d522..d896d9f 100644 (file)
@@ -32,7 +32,6 @@ struct xe_subplatform_desc {
 
 struct xe_gt_desc {
        enum xe_gt_type type;
-       u8 vram_id;
        u32 mmio_adj_limit;
        u32 mmio_adj_offset;
 };
@@ -261,7 +260,6 @@ static const struct xe_device_desc dg2_desc = {
 static const struct xe_gt_desc pvc_gts[] = {
        {
                .type = XE_GT_TYPE_REMOTE,
-               .vram_id = 1,
                .mmio_adj_limit = 0,
                .mmio_adj_offset = 0,
        },