mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
drm/xe/mcr: Remove unused xe_gt_mcr_steering_info_to_dss_id()
The function xe_gt_mcr_steering_info_to_dss_id() has had no callers
since commit fa597710be ("drm/xe/guc: Cache DSS info when creating
capture register list") which removed the only call site in
xe_guc_capture.c. Remove the dead function and its declaration.
No functional change.
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patch.msgid.link/20260422155025.3660484-1-shuicheng.lin@intel.com
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
This commit is contained in:
parent
bfaf87e84c
commit
f4fe5f96ba
|
|
@ -428,19 +428,6 @@ void xe_gt_mcr_get_dss_steering(const struct xe_gt *gt, unsigned int dss, u16 *g
|
|||
*instance = dss % gt->steering_dss_per_grp;
|
||||
}
|
||||
|
||||
/**
|
||||
* xe_gt_mcr_steering_info_to_dss_id - Get DSS ID from group/instance steering
|
||||
* @gt: GT structure
|
||||
* @group: steering group ID
|
||||
* @instance: steering instance ID
|
||||
*
|
||||
* Return: the converted DSS id.
|
||||
*/
|
||||
u32 xe_gt_mcr_steering_info_to_dss_id(struct xe_gt *gt, u16 group, u16 instance)
|
||||
{
|
||||
return group * dss_per_group(gt) + instance;
|
||||
}
|
||||
|
||||
static void init_steering_dss(struct xe_gt *gt)
|
||||
{
|
||||
gt->steering_dss_per_grp = dss_per_group(gt);
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ bool xe_gt_mcr_get_nonterminated_steering(struct xe_gt *gt,
|
|||
void xe_gt_mcr_steering_dump(struct xe_gt *gt, struct drm_printer *p);
|
||||
void xe_gt_mcr_get_dss_steering(const struct xe_gt *gt,
|
||||
unsigned int dss, u16 *group, u16 *instance);
|
||||
u32 xe_gt_mcr_steering_info_to_dss_id(struct xe_gt *gt, u16 group, u16 instance);
|
||||
|
||||
/*
|
||||
* Loop over each DSS and determine the group and instance IDs that
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user