rusticl/mesa: make svm_migrate optional
authorKarol Herbst <git@karolherbst.de>
Tue, 11 Jul 2023 15:53:49 +0000 (17:53 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Jul 2023 23:00:24 +0000 (23:00 +0000)
It's just a hint and drivers might want to ignore implementing it for now.

Signed-off-by: Karol Herbst <git@karolherbst.de>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24092>

src/gallium/frontends/rusticl/mesa/pipe/context.rs

index c3ddf76..22a4834 100644 (file)
@@ -572,8 +572,6 @@ impl PipeContext {
                     to_device,
                     content_undefined,
                 );
-            } else {
-                panic!("svm_migrate not implemented but called!");
             }
         }
     }