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 #11203292
sanity

00:00:08

 
  Container
passed #11203295
aarch64
arm_build

00:00:26

passed #11203296
windows shell 1809 mesa
windows_build_vs2019

00:00:11

passed #11203293
x86_build-base

00:00:21

passed #11203294
x86_test-base

00:00:21

 
  Container 2
passed #11203301
android_build

00:00:26

passed #11203298
i386_build

00:00:26

passed #11203304
kernel+rootfs_amd64

00:00:27

passed #11203305
aarch64
kernel+rootfs_arm64

00:01:06

passed #11203306
aarch64
kernel+rootfs_armhf

00:00:12

passed #11203299
ppc64el_build

00:00:26

passed #11203300
s390x_build

00:00:26

passed #11203297
x86_build

00:00:26

passed #11203302
x86_test-gl

00:00:20

passed #11203303
x86_test-vk

00:00:19

 
  Meson X86 64
passed #11203312
meson-clang

00:07:35

passed #11203313
meson-clover

00:01:57

passed #11203309
meson-clover-testing

00:01:08

passed #11203310
meson-gallium

00:02:33

passed #11203311
meson-release

00:02:54

passed #11203307
meson-testing

00:01:30

passed #11203308
meson-testing-asan

00:02:14

passed #11203314
meson-vulkan

00:03:17

 
  Build Misc
passed #11203315
arm_test

00:00:59

passed #11203316
meson-android

00:00:43

passed #11203318
aarch64
meson-arm64

00:01:21

passed #11203319
aarch64
meson-arm64-asan

00:03:47

passed #11203320
aarch64
meson-arm64-build-test

00:01:28

passed #11203317
aarch64
meson-armhf

00:01:45

passed #11203321
meson-i386

00:01:25

passed #11203322
meson-mingw32-x86_64

00:01:53

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

00:08:22

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

00:16:23

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

00:08:08

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

00:16:30

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

00:20:49

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

00:14:36

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

00:13:34

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

00:08:26

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

00:08:11

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

00:14:15

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

00:10:19

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

00:11:34