Re: [RFC] Mechanism for high priority scheduling in amdgpu

2017-01-02 Thread Christian König
we would need to account for the worst case. Hopefully the requirements and approach we described make sense, we're looking forward to your feedback and suggestions. Thanks! - Pierre-Loup Sincerely yours, Serguei Sagalovitch From: Andres Rodriguez Sent: December 16, 2016 10:00 PM To:

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-29 Thread Bridgman, John
. Griffais; Zhang, Hawking Subject: Re: [RFC] Mechanism for high priority scheduling in amdgpu Hey Christian, But yes, in general you don't want another compositor in the way, so we'll be acquiring the HMD display directly, separate from any desktop or display server. Assuming that the

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-29 Thread Bridgman, John
ng Subject: Re: [RFC] Mechanism for high priority scheduling in amdgpu John, One comment: When Andres is talking about compute he is talking about Vulkan compute not OpenCL one and it means that it is not HSA path. Sincerely yours, Serguei Sagalovitch From: Bridgman, John Sent: December 23,

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-29 Thread Andres Rodriguez
gt;>>>>>> On 2016年12月18日 06:05, Pierre-Loup A. Griffais wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Hi Serguei, >>>>>>>>>>>>>>> >>>>>>>

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-29 Thread Sagalovitch, Serguei
, David(ChunMing); Huan, Alvin; Mao, David; Sagalovitch, Serguei; amd-gfx@lists.freedesktop.org; Andres Rodriguez; Pierre-Loup A. Griffais; Zhang, Hawking Subject: Re: [RFC] Mechanism for high priority scheduling in amdgpu   Excellent, thanks. Agree that it is not a complete solution, just a good

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-29 Thread Bridgman, John
edesktop.org; Andres Rodriguez; Pierre-Loup A. Griffais; Zhang, Hawking Subject: Re: [RFC] Mechanism for high priority scheduling in amdgpu I'm actually testing that out that today. Example prototype patch: https://github.com/lostgoat/linux/commit/c9d88d409d8655d63aa8386edc66687a2ba64a12 My goal i

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-23 Thread Andres Rodriguez
;>>>>> sharing, >>>>>>>>>>>>>>> since it's achieved by using whatever is the latest, most >>>>>>>>>>>>>>> up-to-date >>>>>>>>>>>>>>> eye images that have alr

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-23 Thread Pierre-Loup A. Griffais
variance then that would be troublesome and we would need to account for the worst case. Hopefully the requirements and approach we described make sense, we're looking forward to your feedback and suggestions. Thanks! - Pierre-Loup Sincerely yours, Serguei Sagalovitch From: Andres Rodriguez

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-23 Thread Andres Rodriguez
;>>>>>>>>>>> On 12/16/2016 09:05 PM, Sagalovitch, Serguei wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Andres, >>>>>>>>>>>>>>> >>>>>>>>>>>

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-23 Thread Christian König
res ____________ From: Sagalovitch, Serguei [serguei.sagalovi...@amd.com] Sent: Friday, December 16, 2016 9:13 PM To: Andres Rodriguez; amd-gfx@lists.freedesktop.org Subject: Re: [RFC] Mechanism for high priority scheduling in amdgpu Hi Andres, Please see inline (as [S

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-22 Thread Pierre-Loup A. Griffais
feedback and suggestions. Thanks! - Pierre-Loup Sincerely yours, Serguei Sagalovitch From: Andres Rodriguez Sent: December 16, 2016 10:00 PM To: Sagalovitch, Serguei; amd-gfx@lists.freedesktop.org Subject: RE: [RFC] Mechanism for high priority scheduling in amdgpu Hey Serguei, [Serguei] No.

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-22 Thread Serguei Sagalovitch
hanks! - Pierre-Loup Sincerely yours, Serguei Sagalovitch From: Andres Rodriguez Sent: December 16, 2016 10:00 PM To: Sagalovitch, Serguei; amd-gfx@lists.freedesktop.org Subject: RE: [RFC] Mechanism for high priority scheduling in amdgpu Hey Serguei, [Serguei] No. I mean pipe :-) as

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-22 Thread Andres Rodriguez
sense, we're looking forward to your feedback and suggestions. Thanks! - Pierre-Loup Sincerely yours, Serguei Sagalovitch From: Andres Rodriguez Sent: December 16, 2016 10:00 PM To: Sagalovitch, Serguei; amd-gfx@lists.freedesktop.org Subject: RE: [RFC] Mechanism for high priority sch

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-22 Thread Christian König
: Andres Rodriguez Sent: December 16, 2016 10:00 PM To: Sagalovitch, Serguei; amd-gfx@lists.freedesktop.org Subject: RE: [RFC] Mechanism for high priority scheduling in amdgpu Hey Serguei, [Serguei] No. I mean pipe :-) as MEC define it. As far as I understand (by simplifying) some scheduling is

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-20 Thread Pierre-Loup A. Griffais
tch From: Andres Rodriguez Sent: December 16, 2016 10:00 PM To: Sagalovitch, Serguei; amd-gfx@lists.freedesktop.org Subject: RE: [RFC] Mechanism for high priority scheduling in amdgpu Hey Serguei, [Serguei] No. I mean pipe :-) as MEC define it. As far as I understand (by simplifying) some scheduling i

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-20 Thread Andres Rodriguez
- Pierre-Loup Sincerely yours, Serguei Sagalovitch From: Andres Rodriguez Sent: December 16, 2016 10:00 PM To: Sagalovitch, Serguei; amd-gfx@lists.freedesktop.org Subject: RE: [RFC] Mechanism for high priority scheduling in amdgpu Hey Serguei, [Serguei] No. I mean pipe :-) as MEC de

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-20 Thread Christian König
Sagalovitch From: Andres Rodriguez Sent: December 16, 2016 10:00 PM To: Sagalovitch, Serguei; amd-gfx@lists.freedesktop.org Subject: RE: [RFC] Mechanism for high priority scheduling in amdgpu Hey Serguei, [Serguei] No. I mean pipe :-) as MEC define it. As far as I understand (by simplifying)

RE: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-19 Thread Andres Rodriguez
Hey Guys, One particular piece I'd like to discuss is how to get around the below issue: > Known current obstacles: > > > The SQ is currently programmed to disregard the HQD priorities, and instead > it picks > jobs at random. Settings from the shader itself are also di

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-19 Thread Pierre-Loup Griffais
tever is the latest, most up-to-date >>>>>> eye images that have already been sent by the client application, >>>>>> which are already available to use without additional >>>>>> synchronization. >>>>>> >>>

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-19 Thread Serguei Sagalovitch
ierre-Loup Sincerely yours, Serguei Sagalovitch From: Andres Rodriguez Sent: December 16, 2016 10:00 PM To: Sagalovitch, Serguei; amd-gfx@lists.freedesktop.org Subject: RE: [RFC] Mechanism for high priority scheduling in amdgpu Hey Serguei, [Serguei] No. I mean pipe :-) as MEC define it. As fa

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-19 Thread Serguei Sagalovitch
erguei [serguei.sagalovi...@amd.com] Sent: Friday, December 16, 2016 9:13 PM To: Andres Rodriguez; amd-gfx@lists.freedesktop.org Subject: Re: [RFC] Mechanism for high priority scheduling in amdgpu Hi Andres, Please see inline (as [Serguei]) Sincerely yours, Serguei Sagalovitch From: Andres Ro

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-18 Thread zhoucm1
looking forward to your feedback and suggestions. Thanks! - Pierre-Loup Sincerely yours, Serguei Sagalovitch From: Andres Rodriguez Sent: December 16, 2016 10:00 PM To: Sagalovitch, Serguei; amd-gfx@lists.freedesktop.org Subject: RE: [RFC] Mechanism for high priority scheduling in amdgpu Hey Serguei

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-18 Thread Andres Rodriguez
sense, we're looking forward to your feedback and suggestions. Thanks! - Pierre-Loup Sincerely yours, Serguei Sagalovitch From: Andres Rodriguez Sent: December 16, 2016 10:00 PM To: Sagalovitch, Serguei; amd-gfx@lists.freedesktop.org Subject: RE: [RFC] Mechanism for high priority schedu

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-18 Thread zhoucm1
rd to your feedback and suggestions. Thanks! - Pierre-Loup Sincerely yours, Serguei Sagalovitch From: Andres Rodriguez Sent: December 16, 2016 10:00 PM To: Sagalovitch, Serguei; amd-gfx@lists.freedesktop.org Subject: RE: [RFC] Mechanism for high priority scheduling in amdgpu Hey Serguei, [

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-18 Thread zhoucm1
Sent: December 16, 2016 10:00 PM To: Sagalovitch, Serguei; amd-gfx@lists.freedesktop.org Subject: RE: [RFC] Mechanism for high priority scheduling in amdgpu Hey Serguei, [Serguei] No. I mean pipe :-) as MEC define it. As far as I understand (by simplifying) some scheduling is per pipe. I know about

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-18 Thread Pierre-Loup A. Griffais
iguez Sent: December 16, 2016 10:00 PM To: Sagalovitch, Serguei; amd-gfx@lists.freedesktop.org Subject: RE: [RFC] Mechanism for high priority scheduling in amdgpu Hey Serguei, [Serguei] No. I mean pipe :-) as MEC define it. As far as I understand (by simplifying) some scheduling is per pipe. I know

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-17 Thread Pierre-Loup A. Griffais
tions. Thanks! - Pierre-Loup Sincerely yours, Serguei Sagalovitch From: Andres Rodriguez Sent: December 16, 2016 10:00 PM To: Sagalovitch, Serguei; amd-gfx@lists.freedesktop.org Subject: RE: [RFC] Mechanism for high priority scheduling in amdgpu Hey Serguei, [Serguei] No. I mean pipe

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-16 Thread Sagalovitch, Serguei
ation).  Sincerely yours, Serguei Sagalovitch From: Andres Rodriguez Sent: December 16, 2016 10:00 PM To: Sagalovitch, Serguei; amd-gfx@lists.freedesktop.org Subject: RE: [RFC] Mechanism for high priority scheduling in amdgpu   Hey Serguei, > [Serguei] No. I mean pipe :-)  as MEC d

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-16 Thread Sagalovitch, Serguei
Hi Andres, Please see inline (as [Serguei]) Sincerely yours, Serguei Sagalovitch From: Andres Rodriguez Sent: December 16, 2016 8:29 PM To: Sagalovitch, Serguei; amd-gfx@lists.freedesktop.org Subject: RE: [RFC] Mechanism for high priority scheduling in amdgpu   Hi Serguei, Thanks for the

RE: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-16 Thread Andres Rodriguez
: Friday, December 16, 2016 9:13 PM To: Andres Rodriguez; amd-gfx@lists.freedesktop.org Subject: Re: [RFC] Mechanism for high priority scheduling in amdgpu Hi Andres, Please see inline (as [Serguei]) Sincerely yours, Serguei Sagalovitch From: Andres Rodriguez Sent: December 16, 2016 8:29 PM To:

Re: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-16 Thread Sagalovitch, Serguei
Andres, Quick comments: 1) To minimize "bubbles", etc. we need to "force" CU assignments/binding to high-priority queue  when it will be in use and "free" them later (we do not want forever take CUs from e.g. graphic task to degrade graphics performance). Otherwise we could have scenario whe

RE: [RFC] Mechanism for high priority scheduling in amdgpu

2016-12-16 Thread Andres Rodriguez
for high priority scheduling in amdgpu Andres, Quick comments: 1) To minimize "bubbles", etc. we need to "force" CU assignments/binding to high-priority queue when it will be in use and "free" them later (we do not want forever take CUs from e.g. graphic task t