iris: take a reference to memobj bo in iris_resource_from_memobj

v2: and remove it from iris_memobj_create_from_handle ... (Nanley)

Closes: #4969
Fixes: 772dc50d ("iris: hook up resource creation from memory object")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <!11552>
43 jobs for !11552 with iris_fix_memobj_ref in 24 minutes and 15 seconds (queued for 4 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed sanity #11203292

00:00:08

 
  Container
passed arm_build #11203295
aarch64

00:00:26

passed windows_build_vs2019 #11203296
windows shell 1809 mesa

00:00:11

passed x86_build-base #11203293

00:00:21

passed x86_test-base #11203294

00:00:21

 
  Container 2
passed android_build #11203301

00:00:26

passed i386_build #11203298

00:00:26

passed kernel+rootfs_amd64 #11203304

00:00:27

passed kernel+rootfs_arm64 #11203305
aarch64

00:01:06

passed kernel+rootfs_armhf #11203306
aarch64

00:00:12

passed ppc64el_build #11203299

00:00:26

passed s390x_build #11203300

00:00:26

passed x86_build #11203297

00:00:26

passed x86_test-gl #11203302

00:00:20

passed x86_test-vk #11203303

00:00:19

 
  Meson X86 64
passed meson-clang #11203312

00:07:35

passed meson-clover #11203313

00:01:57

passed meson-clover-testing #11203309

00:01:08

passed meson-gallium #11203310

00:02:33

passed meson-release #11203311

00:02:54

passed meson-testing #11203307

00:01:30

passed meson-testing-asan #11203308

00:02:14

passed meson-vulkan #11203314

00:03:17

 
  Build Misc
passed arm_test #11203315

00:00:59

passed meson-android #11203316

00:00:43

passed meson-arm64 #11203318
aarch64

00:01:21

passed meson-arm64-asan #11203319
aarch64

00:03:47

passed meson-arm64-build-test #11203320
aarch64

00:01:28

passed meson-armhf #11203317
aarch64

00:01:45

passed meson-i386 #11203321

00:01:25

passed meson-mingw32-x86_64 #11203322

00:01:53

 
  Intel
passed iris-amly-egl #11203329
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus

00:08:22

passed iris-amly-gl #11203328
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus

00:16:23

passed iris-amly-gles2 #11203327
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus

00:08:08

passed iris-amly-piglit 1/3 #11203330
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus

00:16:30

passed iris-amly-piglit 2/3 #11203331
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus

00:20:49

passed iris-amly-piglit 3/3 #11203332
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus

00:14:36

passed iris-amly-traces #11203334
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus

00:13:34

passed iris-apl-egl #11203326
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral

00:08:26

passed iris-apl-gles2 #11203323
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral

00:08:11

passed iris-apl-gles3 #11203324
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral

00:14:15

passed iris-apl-gles31 #11203325
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral

00:10:19

passed iris-apl-traces #11203333
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral

00:11:34