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

From: Oded Gabbay
Date: Thu Jul 17 2014 - 07:48:17 EST


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)
{
- /* number of VMs */
- rdev->vm_manager.nvm = 16;
+ /*
+ * number of VMs
+ * VMID 0 is reserved for Graphics
+ * radeon compute will use VMIDs 1-7
+ * KFD will use VMIDs 8-15
+ */
+ rdev->vm_manager.nvm = 8;
This comment is inaccurate: Graphics can use VMIDs 1-7 as well.

Actually VMID 0 is reserved for system use and graphics operation only use VMIDs
1-7.

Christian.
Will be fixed in v2 of the patchset

Oded
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/