RE: Questions about libdrm_intel and way to share physical memory between CPU and GPU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



1/ Thanks!
2/ Is it available now or is it still a project?
Thanks,
Ben


-----Original Message-----
From: Chris Wilson [mailto:chris@xxxxxxxxxxxxxxxxxx] 
Sent: Saturday, May 28, 2011 1:54 AM
To: Segovia, Benjamin; dri-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: Questions about libdrm_intel and way to share physical memory between CPU and GPU

On Fri, 27 May 2011 14:37:45 -0700, "Segovia, Benjamin" <benjamin.segovia@xxxxxxxxx> wrote:
> Hello gurus,
> 
> I have two question mostly regarding libdrm_intel
> 
> 1/ What is the difference between drm_intel_bo_map and drm_intel_gem_bo_map_gtt ?
bo_map uses the CPU domain, and so is CPU linear (needs sw detiling).
bo_gtt_map uses the uncached [WC] GTT domain, and so is GPU linear
(detiling is performed by the hardware using a fence).

> 2/ Will it be possible (or is it already possible) to directly share a regularly allocated piece of physical memory? Typical use case is the following one using OpenCL API:

Yes. I've proposed a vmap interface to bind user-pages into the GTT,
similar to a completely unused bit of TTM functionality.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux