Skip to content

Commit

Permalink
drm/xe: Drop vram_id
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matt Roper authored and Rodrigo Vivi committed Dec 19, 2023
1 parent ed006ba commit 68ccb9b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/xe/xe_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down Expand Up @@ -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,
},
Expand Down

0 comments on commit 68ccb9b

Please sign in to comment.