Bug 102580 - [Vulkan CTS] Create event without using provided allocator
Summary: [Vulkan CTS] Create event without using provided allocator
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Vulkan/intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Intel 3D Bugs Mailing List
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-07 11:03 UTC by Samuel Iglesias Gonsálvez
Modified: 2017-09-08 03:47 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Samuel Iglesias Gonsálvez 2017-09-07 11:03:42 UTC
The Vulkan CTS test dEQP-VK.api.object_management.alloc_callback_fail.event checks if the provided allocation callbacks are called when creating an event. However anv_CreateEvent() does not use them and use, instead, internal functions.

Because of that, the test currently returns a warning (it does not return fail though).

Mesa HEAD: 6d9d6071ee961acc82543b321764a0ffec8cd39a
Comment 1 Iago Toral 2017-09-07 14:24:53 UTC
Events allocate memory via the anv_state_pool_alloc method, which I understand is for device memory and we don't require host memory allocations, so I think the implementation is correct.

Jason, is my rationale correct?
Comment 2 Jason Ekstrand 2017-09-08 03:47:01 UTC
(In reply to Iago Toral from comment #1)
> Events allocate memory via the anv_state_pool_alloc method, which I
> understand is for device memory and we don't require host memory
> allocations, so I think the implementation is correct.

Yes, that's correct.  Not a bug.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.