[PATCH 02/83] drm/radeon: reduce number of free VMIDs and pipes in KV

2014-07-17 Thread Oded Gabbay
On 14/07/14 10:58, Christian K?nig wrote: > Am 14.07.2014 09:38, schrieb Michel D?nzer: >> On 11.07.2014 06:50, Oded Gabbay wrote: >>> @@ -5876,8 +5871,13 @@ int cik_ib_parse(struct radeon_device *rdev, struct >>> radeon_ib *ib) >>>*/ >>> int cik_vm_init(struct radeon_device *rdev) >>> { >>

[PATCH 02/83] drm/radeon: reduce number of free VMIDs and pipes in KV

2014-07-14 Thread Michel Dänzer
On 11.07.2014 06:50, Oded Gabbay wrote: > @@ -5876,8 +5871,13 @@ int cik_ib_parse(struct radeon_device *rdev, struct > radeon_ib *ib) > */ > int cik_vm_init(struct radeon_device *rdev) > { > - /* number of VMs */ > - rdev->vm_manager.nvm = 16; > + /* > + * number of VMs > +

[PATCH 02/83] drm/radeon: reduce number of free VMIDs and pipes in KV

2014-07-14 Thread Michel Dänzer
On 12.07.2014 18:00, Christian K?nig wrote: > Am 11.07.2014 18:22, schrieb Alex Deucher: >> On Fri, Jul 11, 2014 at 12:18 PM, Christian K?nig >> wrote: >>> Am 11.07.2014 18:05, schrieb Jerome Glisse: >>> On Fri, Jul 11, 2014 at 12:50:02AM +0300, Oded Gabbay wrote: > To support HSA on KV,

[PATCH 02/83] drm/radeon: reduce number of free VMIDs and pipes in KV

2014-07-14 Thread Christian König
Am 14.07.2014 09:38, schrieb Michel D?nzer: > On 11.07.2014 06:50, Oded Gabbay wrote: >> @@ -5876,8 +5871,13 @@ int cik_ib_parse(struct radeon_device *rdev, struct >> radeon_ib *ib) >>*/ >> int cik_vm_init(struct radeon_device *rdev) >> { >> -/* number of VMs */ >> -rdev->vm_manage

[PATCH 02/83] drm/radeon: reduce number of free VMIDs and pipes in KV

2014-07-12 Thread Christian König
Am 11.07.2014 18:22, schrieb Alex Deucher: > On Fri, Jul 11, 2014 at 12:18 PM, Christian K?nig > wrote: >> Am 11.07.2014 18:05, schrieb Jerome Glisse: >> >>> On Fri, Jul 11, 2014 at 12:50:02AM +0300, Oded Gabbay wrote: To support HSA on KV, we need to limit the number of vmids and pipes

[PATCH 02/83] drm/radeon: reduce number of free VMIDs and pipes in KV

2014-07-11 Thread Bridgman, John
>From: Ilyes Gouta [mailto:ilyes.gouta at gmail.com] >Sent: Friday, July 11, 2014 2:00 PM >To: Bridgman, John >Cc: Alex Deucher; Koenig, Christian; Oded Gabbay; Deucher, Alexander; Lewycky, >Andrew; LKML; Maling list - DRI developers >Subject: Re: [PATCH 02/83] drm/radeon: red

[PATCH 02/83] drm/radeon: reduce number of free VMIDs and pipes in KV

2014-07-11 Thread Ilyes Gouta
Hi, Just a side question (for information), On Fri, Jul 11, 2014 at 6:07 PM, Bridgman, John wrote: > > Right. The SET_RESOURCES packet (kfd_pm4_headers.h, added in patch 49) > allocates a range of HW queues, VMIDs and GDS to the HW scheduler, then the > scheduler uses the allocated VMIDs to sup

[PATCH 02/83] drm/radeon: reduce number of free VMIDs and pipes in KV

2014-07-11 Thread Christian König
Am 11.07.2014 18:05, schrieb Jerome Glisse: > On Fri, Jul 11, 2014 at 12:50:02AM +0300, Oded Gabbay wrote: >> To support HSA on KV, we need to limit the number of vmids and pipes >> that are available for radeon's use with KV. >> >> This patch reserves VMIDs 8-15 for KFD (so radeon can only use VMI

[PATCH 02/83] drm/radeon: reduce number of free VMIDs and pipes in KV

2014-07-11 Thread Bridgman, John
>Subject: Re: [PATCH 02/83] drm/radeon: reduce number of free VMIDs and >pipes in KV > >On Fri, Jul 11, 2014 at 12:18 PM, Christian K?nig >wrote: >> Am 11.07.2014 18:05, schrieb Jerome Glisse: >> >>> On Fri, Jul 11, 2014 at 12:50:02AM +0300, Oded Gabbay wr

[PATCH 02/83] drm/radeon: reduce number of free VMIDs and pipes in KV

2014-07-11 Thread Alex Deucher
On Fri, Jul 11, 2014 at 12:18 PM, Christian K?nig wrote: > Am 11.07.2014 18:05, schrieb Jerome Glisse: > >> On Fri, Jul 11, 2014 at 12:50:02AM +0300, Oded Gabbay wrote: >>> >>> To support HSA on KV, we need to limit the number of vmids and pipes >>> that are available for radeon's use with KV. >>>

[PATCH 02/83] drm/radeon: reduce number of free VMIDs and pipes in KV

2014-07-11 Thread Jerome Glisse
On Fri, Jul 11, 2014 at 12:50:02AM +0300, Oded Gabbay wrote: > To support HSA on KV, we need to limit the number of vmids and pipes > that are available for radeon's use with KV. > > This patch reserves VMIDs 8-15 for KFD (so radeon can only use VMIDs > 0-7) and also makes radeon thinks that KV ha

[PATCH 02/83] drm/radeon: reduce number of free VMIDs and pipes in KV

2014-07-11 Thread Oded Gabbay
To support HSA on KV, we need to limit the number of vmids and pipes that are available for radeon's use with KV. This patch reserves VMIDs 8-15 for KFD (so radeon can only use VMIDs 0-7) and also makes radeon thinks that KV has only a single MEC with a single pipe in it Signed-off-by: Oded Gabba