summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2023-06-02 00:52:29 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-20 02:34:15 +0300
commit68ccb9b2f71b5834b703b982a2a29d5bb3fabbe9 (patch)
tree43fcc81993ac9042f6a06d3ee3f07c7edcef2fba
parented006ba5e6e8334deb86fbc1e35d2411a4870281 (diff)
downloadlinux-68ccb9b2f71b5834b703b982a2a29d5bb3fabbe9.tar.xz
drm/xe: Drop vram_id
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>
-rw-r--r--drivers/gpu/drm/xe/xe_pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index b91d52205feb..d896d9fa2556 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -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,
},