Skip to content
Snippets Groups Projects
Commit 7796e888 authored by Michel Dänzer's avatar Michel Dänzer
Browse files

winsys/radeon: Unmap GPU VM address range when destroying BO

But only when doing so is safe according to the
RADEON_INFO_VA_UNMAP_WORKING kernel query.

This avoids kernel GPU VM address range conflicts when the BO has other
references than the GEM handle being closed, e.g. when the BO is shared.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90537
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90873



Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
parent 3fd4c80b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment