iris: refcount separate screen objects for resource tracking

this screen object can never, ever be accessed like this in a resource,
as it may have previously been replaced by a wrapper (e.g., driver trace)
which will then explode when it is accessed directly

instead, keep a separate screen ref on the resource which is known to be
the actual driver object and not a wrapper

Fixes: 0a497eb1 ("iris: make resources take a ref on the screen object")

Reviewed-by: Lionel Landwerlin lionel.g.landwerlin@intel.com
Part-of: <!10632>
35 jobs for !10632 with iris-tracefix in 15 minutes and 58 seconds (queued for 2 seconds)
detached
Status Job ID Name Coverage
  Sanity
passed #9574817
sanity

00:00:08

 
  Container
passed #9574822
aarch64
arm_build

00:00:20

passed #9574824
windows shell 1809 mesa
windows_build_vs2019

00:00:09

passed #9574819
x86_build-base

00:00:16

passed #9574820
x86_test-base

00:00:16

 
  Container 2
passed #9574834
android_build

00:00:17

passed #9574828
i386_build

00:00:16

passed #9574839
kernel+rootfs_amd64

00:00:11

passed #9574841
aarch64
kernel+rootfs_arm64

00:00:54

passed #9574843
aarch64
kernel+rootfs_armhf

00:00:11

passed #9574830
ppc64el_build

00:00:16

passed #9574832
s390x_build

00:00:17

passed #9574826
x86_build

00:00:16

passed #9574835
x86_test-gl

00:00:18

passed #9574837
x86_test-vk

00:00:17

 
  Meson X86 64
passed #9574853
meson-clang

00:08:55

passed #9574855
meson-clover

00:03:19

passed #9574848
meson-clover-testing

00:02:35

failed #9593604
meson-gallium

00:06:18

passed #9574851
meson-release

00:03:42

passed #9574845
meson-testing

00:03:24

passed #9574846
meson-testing-asan

00:07:16

passed #9574856
meson-vulkan

00:02:34

failed #9574850
meson-gallium

00:04:33

failed #9577003
meson-gallium

00:04:22

 
  Build Misc
passed #9574858
arm_test

00:00:19

passed #9574860
meson-android

00:00:53

passed #9574864
aarch64
meson-arm64

00:01:20

passed #9574866
aarch64
meson-arm64-asan

00:03:54

passed #9574868
aarch64
meson-arm64-build-test

00:02:29

passed #9574862
aarch64
meson-armhf

00:01:53

passed #9574870
meson-i386

00:02:27

passed #9574875
meson-mingw32-x86_64

00:01:52

passed #9574873
meson-ppc64el

00:01:41

passed #9574871
kvm
meson-s390x

00:03:01

 
Name Stage Failure
failed
meson-gallium Meson X86 64
max cache size                       5.0 GB
Uploading artifacts for failed job
Uploading artifacts...
_build/meson-logs/*.txt: found 3 matching files and directories

_build/meson-logs/strace: found 1 matching files and directories

shader-db: found 3 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=9593604 responseStatus=201 Created token=8uz_Efdx
Cleaning up file based variables
ERROR: Job failed: exit code 1