Skip to content

drm/xe: Clear user-space vram buffer objects on create

Thomas Hellström requested to merge thomash/kernel:create_clear into xe

Change the xe_migrate_clear() interface slightly to allow clearing a TTM resource that is not yet assigned to the buffer object. Start calling clear from TTM move operations that do not have an initialized source and where the buffer object needs clearing for security reasons.

Signed-off-by: Thomas Hellström thomas.hellstrom@linux.intel.com

This needs to land after the suballocator- and migrate clear fixes.

v2:

  • Rebased on xe.
Edited by Thomas Hellström

Merge request reports

Loading