[PATCH] drm/vmwgfx: reserve fence slots on new resources

Christian König christian.koenig at amd.com
Fri Apr 22 19:23:09 UTC 2022


Am 22.04.22 um 18:13 schrieb Zack Rusin:
> On Fri, 2022-04-22 at 11:21 +0200, Christian König wrote:
>> Am 22.04.22 um 11:20 schrieb Christian König:
>>> When resources are allocated dynamically during an IOCTL we need to
>>> make sure
>>> that a fence slot is reserved so that the resulting fence can be
>>> added in the
>>> end.
>> I should probably add that this is only compile tested.
>>
>> Zack you should probably give it a try for your issue.
> I think we're on the right track but cotables are the only objects that
> create a bo in the create callback so we endup double reserving all the
> other backup objects. If you don't mind I'd prefer to move the code to
> localize the reservation to the problematic spot. I'll send it in a sec
> (6d0fdf27e98a ("drm/vmwgfx: Reserve fence slots on buffer objects in
> cotables") let me know if I can add a Co-developed-by: Christian König
> <christian.koenig at amd.com> tag to it.

Sure, please go ahead. You know the code much better than I do anyway.

Thanks,
Christian.

>
> z



More information about the dri-devel mailing list