Re: [RFC 3/7] drm/amdgpu: Create MQD for userspace queue

2023-01-04 Thread Shashank Sharma
On 04/01/2023 15:35, Felix Kuehling wrote: Am 2023-01-04 um 04:23 schrieb Shashank Sharma: On 04/01/2023 10:17, Christian König wrote: Am 04.01.23 um 10:13 schrieb Shashank Sharma: On 04/01/2023 10:10, Christian König wrote: Am 04.01.23 um 07:21 schrieb Yadav, Arvind: On 1/4/2023 12:07

Re: [RFC 3/7] drm/amdgpu: Create MQD for userspace queue

2023-01-04 Thread Yadav, Arvind
On 1/4/2023 8:05 PM, Felix Kuehling wrote: Am 2023-01-04 um 04:23 schrieb Shashank Sharma: On 04/01/2023 10:17, Christian König wrote: Am 04.01.23 um 10:13 schrieb Shashank Sharma: On 04/01/2023 10:10, Christian König wrote: Am 04.01.23 um 07:21 schrieb Yadav, Arvind: On 1/4/2023 12:07

Re: [RFC 3/7] drm/amdgpu: Create MQD for userspace queue

2023-01-04 Thread Felix Kuehling
Am 2023-01-04 um 04:23 schrieb Shashank Sharma: On 04/01/2023 10:17, Christian König wrote: Am 04.01.23 um 10:13 schrieb Shashank Sharma: On 04/01/2023 10:10, Christian König wrote: Am 04.01.23 um 07:21 schrieb Yadav, Arvind: On 1/4/2023 12:07 AM, Felix Kuehling wrote: Am 2023-01-03 um 04

Re: [RFC 3/7] drm/amdgpu: Create MQD for userspace queue

2023-01-04 Thread Alex Deucher
On Wed, Jan 4, 2023 at 1:21 AM Yadav, Arvind wrote: > > > On 1/4/2023 12:07 AM, Felix Kuehling wrote: > > Am 2023-01-03 um 04:36 schrieb Shashank Sharma: > /*MQD struct for usermode Queue*/ > +struct amdgpu_usermode_queue_mqd > >>> This is specific to GC 11. Every IP and version will ha

Re: [RFC 3/7] drm/amdgpu: Create MQD for userspace queue

2023-01-04 Thread Shashank Sharma
On 04/01/2023 10:17, Christian König wrote: Am 04.01.23 um 10:13 schrieb Shashank Sharma: On 04/01/2023 10:10, Christian König wrote: Am 04.01.23 um 07:21 schrieb Yadav, Arvind: On 1/4/2023 12:07 AM, Felix Kuehling wrote: Am 2023-01-03 um 04:36 schrieb Shashank Sharma: /*MQD struct for u

Re: [RFC 3/7] drm/amdgpu: Create MQD for userspace queue

2023-01-04 Thread Christian König
Am 04.01.23 um 10:13 schrieb Shashank Sharma: On 04/01/2023 10:10, Christian König wrote: Am 04.01.23 um 07:21 schrieb Yadav, Arvind: On 1/4/2023 12:07 AM, Felix Kuehling wrote: Am 2023-01-03 um 04:36 schrieb Shashank Sharma: /*MQD struct for usermode Queue*/ +struct amdgpu_usermode_queue_m

Re: [RFC 3/7] drm/amdgpu: Create MQD for userspace queue

2023-01-04 Thread Shashank Sharma
On 04/01/2023 10:10, Christian König wrote: Am 04.01.23 um 07:21 schrieb Yadav, Arvind: On 1/4/2023 12:07 AM, Felix Kuehling wrote: Am 2023-01-03 um 04:36 schrieb Shashank Sharma: /*MQD struct for usermode Queue*/ +struct amdgpu_usermode_queue_mqd This is specific to GC 11.  Every IP and ve

Re: [RFC 3/7] drm/amdgpu: Create MQD for userspace queue

2023-01-04 Thread Christian König
Am 04.01.23 um 07:21 schrieb Yadav, Arvind: On 1/4/2023 12:07 AM, Felix Kuehling wrote: Am 2023-01-03 um 04:36 schrieb Shashank Sharma: /*MQD struct for usermode Queue*/ +struct amdgpu_usermode_queue_mqd This is specific to GC 11.  Every IP and version will have its own MQD format.  That shou

Re: [RFC 3/7] drm/amdgpu: Create MQD for userspace queue

2023-01-03 Thread Yadav, Arvind
On 1/4/2023 12:07 AM, Felix Kuehling wrote: Am 2023-01-03 um 04:36 schrieb Shashank Sharma: /*MQD struct for usermode Queue*/ +struct amdgpu_usermode_queue_mqd This is specific to GC 11.  Every IP and version will have its own MQD format.  That should live in the IP specific code, not the gen

Re: [RFC 3/7] drm/amdgpu: Create MQD for userspace queue

2023-01-03 Thread Felix Kuehling
Am 2023-01-03 um 04:36 schrieb Shashank Sharma: /*MQD struct for usermode Queue*/ +struct amdgpu_usermode_queue_mqd This is specific to GC 11.  Every IP and version will have its own MQD format.  That should live in the IP specific code, not the generic code.  We already have the generic MQD par

Re: [RFC 3/7] drm/amdgpu: Create MQD for userspace queue

2023-01-03 Thread Shashank Sharma
On 29/12/2022 18:47, Alex Deucher wrote: On Fri, Dec 23, 2022 at 2:37 PM Shashank Sharma wrote: From: Arvind Yadav MQD describes the properies of a user queue to the HW, and allows it to accurately configure the queue while mapping it in GPU HW. This patch adds: - A new header file which co

Re: [RFC 3/7] drm/amdgpu: Create MQD for userspace queue

2022-12-29 Thread Alex Deucher
On Fri, Dec 23, 2022 at 2:37 PM Shashank Sharma wrote: > > From: Arvind Yadav > > MQD describes the properies of a user queue to the HW, and allows it to > accurately configure the queue while mapping it in GPU HW. This patch > adds: > - A new header file which contains the MQD definition > - A n

[RFC 3/7] drm/amdgpu: Create MQD for userspace queue

2022-12-23 Thread Shashank Sharma
From: Arvind Yadav MQD describes the properies of a user queue to the HW, and allows it to accurately configure the queue while mapping it in GPU HW. This patch adds: - A new header file which contains the MQD definition - A new function which creates an MQD object and fills it with userqueue d