Commit 68ccb9b2 authored by Matt Roper's avatar Matt Roper Committed by Rodrigo Vivi
Browse files

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: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20230601215244.678611-17-matthew.d.roper@intel.com


Signed-off-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent ed006ba5
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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,
	},