Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jerome Glisse <glisse@...>
Cc: Keith Packard <keithp@...>, Nick Piggin <nickpiggin@...>, Dave Airlie <airlied@...>, Christoph Hellwig <hch@...>, Eric Anholt <eric@...>, <linux-kernel@...>
Date: Thursday, August 21, 2008 - 12:15 pm

On Thursday, August 21, 2008 6:42 am Jerome Glisse wrote:

We'll have to deal with it like other kernel memory, or in the case of cards 
with VRAM maybe have a special hook that copies out the front buffer.  
Depends on how Dave implemented the GEM stuff on a device with VRAM (I 
haven't looked yet).


At a high level that's pretty much what we're doing.  We already have to map 
things through the GTT in the kernel for pwrite/pread etc., so that code is 
done.  It's just exposing it to userspace that's a bit of a pain, since we 
have an all-ioctl interface...

-- 
Jesse Barnes, Intel Open Source Technology Center
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] PCI: Add pci_read_base() API, Eric Anholt, (Fri Aug 1, 2:58 am)
Re: [PATCH] Export shmem_file_setup and shmem_getpage for DR..., Jesse Barnes, (Thu Aug 21, 12:15 pm)
Re: [PATCH] Export shmem_file_setup and shmem_getpage for DR..., Christoph Hellwig, (Sun Aug 10, 9:30 pm)
Re: [PATCH] Export shmem_file_setup and shmem_getpage for DR..., Stephane Marchesin, (Wed Aug 6, 12:20 pm)
Re: [PATCH] Export shmem_file_setup and shmem_getpage for DR..., Christoph Hellwig, (Sun Aug 10, 9:34 pm)
Re: [PATCH] Export shmem_file_setup and shmem_getpage for DR..., Stephane Marchesin, (Wed Aug 6, 10:16 pm)
Re: [PATCH] Export shmem_file_setup and shmem_getpage for DR..., Stephane Marchesin, (Wed Aug 6, 1:32 pm)
Re: [PATCH] Export shmem_file_setup and shmem_getpage for DR..., Stephane Marchesin, (Wed Aug 6, 2:09 pm)
Re: [PATCH] Export shmem_file_setup and shmem_getpage for DR..., Christoph Hellwig, (Sun Aug 10, 9:23 pm)
Re: [PATCH] Export shmem_file_setup for DRM-GEM, Keith Packard, (Sun Aug 10, 11:03 pm)