mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-25 00:52:45 -04:00
drm/xe/uapi: Replace useless 'instance' per unique gt_id
Let's have a single GT ID per GT within the PCI Device Card. Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Francois Dugast <francois.dugast@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com>
This commit is contained in:
@@ -376,7 +376,7 @@ static int query_gts(struct xe_device *xe, struct drm_xe_device_query *query)
|
||||
gts->gts[id].type = XE_QUERY_GT_TYPE_REMOTE;
|
||||
else
|
||||
gts->gts[id].type = XE_QUERY_GT_TYPE_MAIN;
|
||||
gts->gts[id].instance = id;
|
||||
gts->gts[id].gt_id = gt->info.id;
|
||||
gts->gts[id].clock_freq = gt->info.clock_freq;
|
||||
if (!IS_DGFX(xe))
|
||||
gts->gts[id].native_mem_regions = 0x1;
|
||||
|
||||
Reference in New Issue
Block a user