On 4/14/25 16:12, Thomas Zimmermann wrote: > Instead of testing import_attach for imported GEM buffers, invoke > drm_gem_is_imported() to do the test. The helper tests the dma_buf > itself while import_attach is just an artifact of the import. Prepares > to make import_attach optional. > > Signed-off-by: Thomas Zimmermann <tzimmerm...@suse.de> > --- > drivers/gpu/drm/virtio/virtgpu_plane.c | 8 ++++---- > drivers/gpu/drm/virtio/virtgpu_prime.c | 2 +- > 2 files changed, 5 insertions(+), 5 deletions(-)
Reviewed-by: Dmitry Osipenko <dmitry.osipe...@collabora.com> -- Best regards, Dmitry