Skip to content

Conversation

@zhangyichix
Copy link
Collaborator

@zhangyichix zhangyichix commented Apr 21, 2025

Port patches from master branch.

The issue is detach surface cts test run timeout, cause is it
keeps reallocating surface when the allocated surface is not in
cached buffer pool. After removing the InCache() limitation,
sometimes we get a locked block which is still used by onevpl and
will cause random fail.

Solution is 1) Remove code to check if allocated surfce is in
cache. 2) For detached surface situation, when get locked surface
we keep fetching new surface from framework until we get an
unlocked one.

Tracked-On: OAM-132019
Signed-off-by: Lina Sun <lina.sun@intel.com>
Signed-off-by: zhangyichix <yichix.zhang@intel.com>
InCache logic will consume all buffers in buffer pool at same time,
Sometimes encounters stuck issue.

Tracked-On: OAM-132019
Signed-off-by: zhangyichix <yichix.zhang@intel.com>
Copy link

@feijiang1 feijiang1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants