Re: [Mesa-dev] [PATCH] intel/gen9+: Enable object level preemption.

2018-02-20 Thread Ben Widawsky
On 18-02-20 09:15:01, Antognolli, Rafael wrote: On Tue, Feb 20, 2018 at 08:11:14AM -0800, Rafael Antognolli wrote: On Fri, Feb 16, 2018 at 06:37:55PM -0800, Ben Widawsky wrote: > On 18-02-16 13:44:00, Antognolli, Rafael wrote: > > "This field controls the granularity of the replay mechanism

Re: [Mesa-dev] [PATCH] intel/gen9+: Enable object level preemption.

2018-02-20 Thread Rafael Antognolli
On Tue, Feb 20, 2018 at 08:11:14AM -0800, Rafael Antognolli wrote: > On Fri, Feb 16, 2018 at 06:37:55PM -0800, Ben Widawsky wrote: > > On 18-02-16 13:44:00, Antognolli, Rafael wrote: > > > "This field controls the granularity of the replay mechanism when > > > coming back into a previously

Re: [Mesa-dev] [PATCH] intel/gen9+: Enable object level preemption.

2018-02-20 Thread Rafael Antognolli
On Fri, Feb 16, 2018 at 06:37:55PM -0800, Ben Widawsky wrote: > On 18-02-16 13:44:00, Antognolli, Rafael wrote: > > "This field controls the granularity of the replay mechanism when > > coming back into a previously preempted context." > > > > The kernel disables this bit but whitelists the

Re: [Mesa-dev] [PATCH] intel/gen9+: Enable object level preemption.

2018-02-16 Thread Ben Widawsky
On 18-02-16 13:44:00, Antognolli, Rafael wrote: "This field controls the granularity of the replay mechanism when coming back into a previously preempted context." The kernel disables this bit but whitelists the register, and it's a context register. So enable it and take advantage of finer