mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 17:57:54 -04:00
drm/i915/gt: Remove defunct intel_virtual_engine_get_sibling()
As the last user was eliminated in commit e21fecdcde40 ("drm/i915/gt:
Distinguish the virtual breadcrumbs from the irq breadcrumbs"), we can
remove the function. One less implementation detail creeping beyond its
scope.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200826132811.17577-16-chris@chris-wilson.co.uk
This commit is contained in:
@@ -5953,18 +5953,6 @@ int intel_virtual_engine_attach_bond(struct intel_engine_cs *engine,
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct intel_engine_cs *
|
||||
intel_virtual_engine_get_sibling(struct intel_engine_cs *engine,
|
||||
unsigned int sibling)
|
||||
{
|
||||
struct virtual_engine *ve = to_virtual_engine(engine);
|
||||
|
||||
if (sibling >= ve->num_siblings)
|
||||
return NULL;
|
||||
|
||||
return ve->siblings[sibling];
|
||||
}
|
||||
|
||||
void intel_execlists_show_requests(struct intel_engine_cs *engine,
|
||||
struct drm_printer *m,
|
||||
void (*show_request)(struct drm_printer *m,
|
||||
|
||||
@@ -121,10 +121,6 @@ int intel_virtual_engine_attach_bond(struct intel_engine_cs *engine,
|
||||
const struct intel_engine_cs *master,
|
||||
const struct intel_engine_cs *sibling);
|
||||
|
||||
struct intel_engine_cs *
|
||||
intel_virtual_engine_get_sibling(struct intel_engine_cs *engine,
|
||||
unsigned int sibling);
|
||||
|
||||
bool
|
||||
intel_engine_in_execlists_submission_mode(const struct intel_engine_cs *engine);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user