On Mon, Mar 17, 2025 at 02:06:44PM +0100, 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> > Cc: Rob Clark <robdcl...@gmail.com> > Cc: Abhinav Kumar <quic_abhin...@quicinc.com> > Cc: Dmitry Baryshkov <lu...@kernel.org> > Cc: Sean Paul <s...@poorly.run> > Cc: Marijn Suijten <marijn.suij...@somainline.org> > Cc: linux-arm-...@vger.kernel.org > Cc: freedr...@lists.freedesktop.org > --- > drivers/gpu/drm/msm/msm_drv.c | 2 +- > drivers/gpu/drm/msm/msm_gem.c | 4 ++-- > drivers/gpu/drm/msm/msm_gem.h | 2 +- > drivers/gpu/drm/msm/msm_gem_prime.c | 4 ++-- > 4 files changed, 6 insertions(+), 6 deletions(-) >
Acked-by: Dmitry Baryshkov <dmitry.barysh...@oss.qualcomm.com> -- With best wishes Dmitry