Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM
- From: "Stephane Marchesin" <marchesin@xxxxxxxxxxxxxxxxx>
- Date: Wed, 6 Aug 2008 18:20:40 +0200
On 8/5/08, Keith Packard <keithp@xxxxxxxxxx> wrote:
On Mon, 2008-08-04 at 22:25 -0400, John Stoffel wrote:
> What about the onboard memory of graphics cards? Isn't that where
> Textures and such are stored as well? So once something is loaded to
> the card, shouldn't you be able to free it in system memory? Or swap
> it out ahead of time?
Right now, I'm working only on Intel integrated graphics, which doesn't
have any on-board memory. My thinking is that we'd best solve the
easiest case first before attempting the harder discrete graphics
driver. Plus, Intel pays me do do integrated graphics, so I have an
incentive.
Right, but it sounds adventurous to merge this work upstream before it
is generic enough to work on discrete cards. Right now it only works
on intel integrated cards ; integrated cards are one business,
discrete are a completely different world and the issues afoot
completely different.
Should this go upstream, the kernel guys have to keep in mind and
accept the possibility that another memory manager might be needed at
some point.
Stephane
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM
- From: Arjan van de Ven
- Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM
- References:
- [PATCH] PCI: Add pci_read_base() API
- From: Eric Anholt
- Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM
- From: Nick Piggin
- Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM
- From: Keith Packard
- Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM
- From: Hugh Dickins
- Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM
- From: Keith Packard
- Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM
- From: Hugh Dickins
- Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM
- From: Keith Packard
- Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM
- From: Hugh Dickins
- Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM
- From: John Stoffel
- Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM
- From: Keith Packard
- [PATCH] PCI: Add pci_read_base() API
- Prev by Date: Re: [PATCH] memcg: fix oops in mem_cgroup_shrink_usage
- Next by Date: Re: [PATCH] memcg: fix oops in mem_cgroup_shrink_usage
- Previous by thread: Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM
- Next by thread: Re: [PATCH] Export shmem_file_setup and shmem_getpage for DRM-GEM
- Index(es):