From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oded Gabbay Subject: Re: [PATCH 02/83] drm/radeon: reduce number of free VMIDs and pipes in KV Date: Thu, 17 Jul 2014 14:47:56 +0300 Message-ID: <53C7B7EC.3070404@amd.com> References: <1405029027-6085-1-git-send-email-oded.gabbay@amd.com> <53C388F1.10606@daenzer.net> <53C38DAD.3060306@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0183.outbound.protection.outlook.com [207.46.163.183]) by gabe.freedesktop.org (Postfix) with ESMTP id 3C56B6E252 for ; Thu, 17 Jul 2014 04:48:12 -0700 (PDT) In-Reply-To: <53C38DAD.3060306@amd.com> 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?Christian_K=F6nig?= , =?windows-1252?Q?Michel_D=E4nzer?= , David Airlie , Alex Deucher , Jerome Glisse Cc: Andrew Lewycky , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On 14/07/14 10:58, Christian K=F6nig wrote: > 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, str= uct >>> 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 us= e VMIDs > 1-7. > > Christian. Will be fixed in v2 of the patchset Oded > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel