[PATCH 02/83] drm/radeon: reduce number of free VMIDs and pipes in KV
Michel Dänzer
michel at daenzer.net
Mon Jul 14 00:38:25 PDT 2014
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.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the dri-devel
mailing list