Re: [Mesa-dev] [PATCH 1/2] gallium: Add PIPE_CAP_USER_MEMORY_PAGE_SIZE for page size of user pointers

2017-08-17 Thread Alex Deucher
On Thu, Aug 17, 2017 at 2:17 PM, Jan Vesely wrote: > Hi, > > thanks a lot for these answers. > > On Thu, 2017-08-17 at 15:01 +0200, Christian König wrote: >> Am 17.08.2017 um 13:54 schrieb Jan Vesely: >> > On Thu, 2017-08-17 at 11:54 +0200, Christian König wrote: >> > >

Re: [Mesa-dev] [PATCH 1/2] gallium: Add PIPE_CAP_USER_MEMORY_PAGE_SIZE for page size of user pointers

2017-08-17 Thread Jan Vesely
Hi, thanks a lot for these answers. On Thu, 2017-08-17 at 15:01 +0200, Christian König wrote: > Am 17.08.2017 um 13:54 schrieb Jan Vesely: > > On Thu, 2017-08-17 at 11:54 +0200, Christian König wrote: > > > [SNIP] > > > In general ATS works completely different to GPUVM and is rather bound > > >

Re: [Mesa-dev] [PATCH 1/2] gallium: Add PIPE_CAP_USER_MEMORY_PAGE_SIZE for page size of user pointers

2017-08-17 Thread Christian König
Am 17.08.2017 um 13:54 schrieb Jan Vesely: On Thu, 2017-08-17 at 11:54 +0200, Christian König wrote: [SNIP] In general ATS works completely different to GPUVM and is rather bound to the CPU page tables. But GPUVM on everything before Vega10 has a so called fragmentation size in their page

Re: [Mesa-dev] [PATCH 1/2] gallium: Add PIPE_CAP_USER_MEMORY_PAGE_SIZE for page size of user pointers

2017-08-17 Thread Jan Vesely
On Thu, 2017-08-17 at 11:54 +0200, Christian König wrote: > Am 17.08.2017 um 06:30 schrieb Jan Vesely: > > On Wed, 2017-08-16 at 23:49 -0400, Alex Deucher wrote: > > > On Wed, Aug 16, 2017 at 11:34 PM, Michel Dänzer > > > wrote: > > > > On 17/08/17 12:33 PM, Aaron Watry

Re: [Mesa-dev] [PATCH 1/2] gallium: Add PIPE_CAP_USER_MEMORY_PAGE_SIZE for page size of user pointers

2017-08-17 Thread Christian König
Am 17.08.2017 um 06:30 schrieb Jan Vesely: On Wed, 2017-08-16 at 23:49 -0400, Alex Deucher wrote: On Wed, Aug 16, 2017 at 11:34 PM, Michel Dänzer wrote: On 17/08/17 12:33 PM, Aaron Watry wrote: On Wed, Aug 16, 2017 at 9:48 PM, Alex Deucher wrote:

Re: [Mesa-dev] [PATCH 1/2] gallium: Add PIPE_CAP_USER_MEMORY_PAGE_SIZE for page size of user pointers

2017-08-16 Thread Jan Vesely
On Wed, 2017-08-16 at 23:49 -0400, Alex Deucher wrote: > On Wed, Aug 16, 2017 at 11:34 PM, Michel Dänzer wrote: > > On 17/08/17 12:33 PM, Aaron Watry wrote: > > > On Wed, Aug 16, 2017 at 9:48 PM, Alex Deucher > > > wrote: > > > > On Wed, Aug 16, 2017

Re: [Mesa-dev] [PATCH 1/2] gallium: Add PIPE_CAP_USER_MEMORY_PAGE_SIZE for page size of user pointers

2017-08-16 Thread Alex Deucher
On Wed, Aug 16, 2017 at 11:34 PM, Michel Dänzer wrote: > On 17/08/17 12:33 PM, Aaron Watry wrote: >> On Wed, Aug 16, 2017 at 9:48 PM, Alex Deucher wrote: >>> On Wed, Aug 16, 2017 at 10:39 PM, Michel Dänzer wrote: On 17/08/17

Re: [Mesa-dev] [PATCH 1/2] gallium: Add PIPE_CAP_USER_MEMORY_PAGE_SIZE for page size of user pointers

2017-08-16 Thread Michel Dänzer
On 17/08/17 12:33 PM, Aaron Watry wrote: > On Wed, Aug 16, 2017 at 9:48 PM, Alex Deucher wrote: >> On Wed, Aug 16, 2017 at 10:39 PM, Michel Dänzer wrote: >>> On 17/08/17 10:52 AM, Aaron Watry wrote: PIPE_CAP_RESOURCE_FROM_USER_MEMORY says that size

Re: [Mesa-dev] [PATCH 1/2] gallium: Add PIPE_CAP_USER_MEMORY_PAGE_SIZE for page size of user pointers

2017-08-16 Thread Aaron Watry
On Wed, Aug 16, 2017 at 9:48 PM, Alex Deucher wrote: > On Wed, Aug 16, 2017 at 10:39 PM, Michel Dänzer wrote: >> On 17/08/17 10:52 AM, Aaron Watry wrote: >>> PIPE_CAP_RESOURCE_FROM_USER_MEMORY says that size must be page aligned, >>> but doesn't

Re: [Mesa-dev] [PATCH 1/2] gallium: Add PIPE_CAP_USER_MEMORY_PAGE_SIZE for page size of user pointers

2017-08-16 Thread Michel Dänzer
On 17/08/17 11:48 AM, Alex Deucher wrote: > On Wed, Aug 16, 2017 at 10:39 PM, Michel Dänzer wrote: >> On 17/08/17 10:52 AM, Aaron Watry wrote: >>> PIPE_CAP_RESOURCE_FROM_USER_MEMORY says that size must be page aligned, >>> but doesn't necessarily say anything about the size of

Re: [Mesa-dev] [PATCH 1/2] gallium: Add PIPE_CAP_USER_MEMORY_PAGE_SIZE for page size of user pointers

2017-08-16 Thread Alex Deucher
On Wed, Aug 16, 2017 at 10:39 PM, Michel Dänzer wrote: > On 17/08/17 10:52 AM, Aaron Watry wrote: >> PIPE_CAP_RESOURCE_FROM_USER_MEMORY says that size must be page aligned, >> but doesn't necessarily say anything about the size of those pages. > > Is there any case known so

Re: [Mesa-dev] [PATCH 1/2] gallium: Add PIPE_CAP_USER_MEMORY_PAGE_SIZE for page size of user pointers

2017-08-16 Thread Michel Dänzer
On 17/08/17 10:52 AM, Aaron Watry wrote: > PIPE_CAP_RESOURCE_FROM_USER_MEMORY says that size must be page aligned, > but doesn't necessarily say anything about the size of those pages. Is there any case known so far where it's not the CPU page size? -- Earthling Michel Dänzer |