Re: [Mesa-dev] Mesa (master): lavapipe: bump maxMemoryAllocationCount

2021-03-18 Thread Mike Blumenkrantz
This is mostly to deal with zink atm because there's no
allocator/suballocator in use, meaning every resource gets its own alloc.
There's a ticket (https://gitlab.freedesktop.org/mesa/mesa/-/issues/4293)
for implementing aux/pb, but I don't have a timeline for that right now.


Mike

On Wed, Mar 17, 2021 at 10:25 PM Brian Paul  wrote:

> On 3/17/21 6:12 PM, GitLab Mirror wrote:
> > Module: Mesa
> > Branch: master
> > Commit: 23100f3b6531d7055ae4d42e07bda09d991ea438
> > URL:
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcgit.freedesktop.org%2Fmesa%2Fmesa%2Fcommit%2F%3Fid%3D23100f3b6531d7055ae4d42e07bda09d991ea438&data=04%7C01%7Cbrianp%40vmware.com%7Cd05b2a74f4bd48bf385208d8e9a28db1%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C1%7C0%7C637516231677082505%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=d3Ypjgh4TYqFsQDUbFCY956sLSv1hpqG4NP2OwP4it4%3D&reserved=0
> >
> > Author: Dave Airlie 
> > Date:   Wed Mar 17 13:33:14 2021 +1000
> >
> > lavapipe: bump maxMemoryAllocationCount
> >
> > not sure why this was so low
>
> 4096 is the minimum maximum that Vulkan supports.  I believe that's what
> Nvidia and AMD's Windows Vulkan drivers say.
>
> If you want your Vulkan app to be really cross-platform it's a limit to
> be aware of.
>
> -Brian
>
>
> >
> > Reviewed-By: Mike Blumenkrantz 
> > Reviewed-by: Adam Jackson 
> > Part-of: <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.freedesktop.org%2Fmesa%2Fmesa%2F-%2Fmerge_requests%2F9644&data=04%7C01%7Cbrianp%40vmware.com%7Cd05b2a74f4bd48bf385208d8e9a28db1%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C1%7C0%7C637516231677082505%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=uzbWE3%2FG6AupVIc0kOYl8n5XcKw%2FcufKmK3tDEzhTyE%3D&reserved=0
> >
> >
> > ---
> >
> >   src/gallium/frontends/lavapipe/lvp_device.c | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/src/gallium/frontends/lavapipe/lvp_device.c
> b/src/gallium/frontends/lavapipe/lvp_device.c
> > index 61edf15dd0a..b087e2a7d68 100644
> > --- a/src/gallium/frontends/lavapipe/lvp_device.c
> > +++ b/src/gallium/frontends/lavapipe/lvp_device.c
> > @@ -574,7 +574,7 @@ VKAPI_ATTR void VKAPI_CALL
> lvp_GetPhysicalDeviceProperties(VkPhysicalDevice phys
> > .maxUniformBufferRange=
> pdevice->pscreen->get_shader_param(pdevice->pscreen, PIPE_SHADER_FRAGMENT,
> PIPE_SHADER_CAP_MAX_CONST_BUFFER_SIZE),
> > .maxStorageBufferRange=
> pdevice->pscreen->get_param(pdevice->pscreen,
> PIPE_CAP_MAX_SHADER_BUFFER_SIZE),
> > .maxPushConstantsSize =
> MAX_PUSH_CONSTANTS_SIZE,
> > -  .maxMemoryAllocationCount = 4096,
> > +  .maxMemoryAllocationCount = UINT32_MAX,
> > .maxSamplerAllocationCount= 32 * 1024,
> > .bufferImageGranularity   = 64, /* A cache line
> */
> > .sparseAddressSpaceSize   = 0,
> >
> > ___
> > mesa-commit mailing list
> > mesa-com...@lists.freedesktop.org
> >
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fmesa-commit&data=04%7C01%7Cbrianp%40vmware.com%7Cd05b2a74f4bd48bf385208d8e9a28db1%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C1%7C0%7C637516231677082505%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=j0T9KnefIkBponHxMLxgKi8xBIMHYAydsEWV9ESBsSQ%3D&reserved=0
> >
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [AppVeyor] mesa staging/21.0 #1770 completed

2021-03-18 Thread AppVeyor


Build mesa 1770 completed



Commit 22272d00b9 by Michel Dänzer on 3/9/2021 10:53 AM:

aco/tests: Use _exit in child process


Configure your notification preferences

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [AppVeyor] mesa master #1771 failed

2021-03-18 Thread AppVeyor



Build mesa 1771 failed


Commit 8ab6d2b4c4 by Juan A. Suarez Romero on 3/17/2021 12:29 PM:

ci/broadcom: use new piglit runner


Configure your notification preferences

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [AppVeyor] mesa staging/21.0 #1772 completed

2021-03-18 Thread AppVeyor


Build mesa 1772 completed



Commit 377739771e by Daniel Stone on 3/15/2021 8:41 PM:

CI: Try really hard to get updated Windows TLS certs


Configure your notification preferences

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [AppVeyor] mesa master #1773 failed

2021-03-18 Thread AppVeyor



Build mesa 1773 failed


Commit 3413c48375 by Daniel Schürmann on 3/11/2021 12:45 PM:

aco/ra: allow VCC on SMEM sbase operand on GFX10+


Configure your notification preferences

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [AppVeyor] mesa staging/21.0 #1775 completed

2021-03-18 Thread AppVeyor


Build mesa 1775 completed



Commit 1e5f33d1f8 by Daniel Stone on 3/15/2021 8:41 PM:

CI: Try really hard to get updated Windows TLS certs


Configure your notification preferences

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [AppVeyor] mesa master #1776 failed

2021-03-18 Thread AppVeyor



Build mesa 1776 failed


Commit 5da520cf3d by Eric Anholt on 3/16/2021 7:00 PM:

freedreno/ir3: Demote centroid usage to pixel on non-msaa.


Configure your notification preferences

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev