Re: [PATCH 03/10] drm/i915: Strip out internal priorities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chris,

> -static void __bump_priority(struct i915_sched_node *node, unsigned int bump)
> -{
> -	struct i915_sched_attr attr = node->attr;
> -
> -	if (attr.priority & bump)
> -		return;
> -
> -	attr.priority |= bump;
> -	__i915_schedule(node, &attr);
> -}
> -
> -void i915_schedule_bump_priority(struct i915_request *rq, unsigned int bump)
> -{
> -	unsigned long flags;
> -
> -	GEM_BUG_ON(bump & ~I915_PRIORITY_MASK);
> -	if (READ_ONCE(rq->sched.attr.priority) & bump)
> -		return;
> -
> -	spin_lock_irqsave(&schedule_lock, flags);
> -	__bump_priority(&rq->sched, bump);
> -	spin_unlock_irqrestore(&schedule_lock, flags);
> -}

was, indeed, this function used anywhere else?

Reviewed-by: Andi Shyti <andi.shyti@xxxxxxxxx>

Andi
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux