From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?windows-1252?Q?Christian_K=F6nig?= Subject: Re: [PATCH 02/83] drm/radeon: reduce number of free VMIDs and pipes in KV Date: Mon, 14 Jul 2014 09:58:37 +0200 Message-ID: <53C38DAD.3060306@amd.com> References: <1405029027-6085-1-git-send-email-oded.gabbay@amd.com> <53C388F1.10606@daenzer.net> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0240.outbound.protection.outlook.com [207.46.163.240]) by gabe.freedesktop.org (Postfix) with ESMTP id 42BD06E035 for ; Mon, 14 Jul 2014 00:58:46 -0700 (PDT) In-Reply-To: <53C388F1.10606@daenzer.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: =?windows-1252?Q?Michel_D=E4nzer?= , Oded Gabbay , David Airlie , Alex Deucher , Jerome Glisse Cc: Andrew Lewycky , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, =?windows-1252?Q?Christian_K=F6nig?= List-Id: dri-devel@lists.freedesktop.org Am 14.07.2014 09:38, schrieb Michel D=E4nzer: > On 11.07.2014 06:50, Oded Gabbay wrote: >> @@ -5876,8 +5871,13 @@ int cik_ib_parse(struct radeon_device *rdev, stru= ct radeon_ib *ib) >> */ >> int cik_vm_init(struct radeon_device *rdev) >> { >> - /* number of VMs */ >> - rdev->vm_manager.nvm =3D 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 =3D 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.