xfree86: Change displays array to pointers array to fix invalid pointer issues...

xfree86: Change displays array to pointers array to fix invalid pointer issues after table reallocation

There are rare cases when xf86SetDepthBpp is resizing displays array in confScreen.
As that array is shared between set of ScrnInfoRec's then realloc might invalidate chached DispPtr display values in
otheres ScrnInfoRec objects.

If we will change displays array as an array of pointers to DispRec then cached DispRec pointers in ScrnInfoRec
won't be invalid after reallocation of displays array.

Signed-off-by: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com>
5 jobs for fix_issue_910 in 8 minutes and 18 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Docker Image
passed #10879564
debian-buster

00:01:52

 
  Build And Test
passed #10879565
autotools

00:06:25

passed #10879566
meson

00:02:38

passed #10879567
meson-noglamor

00:02:26

passed #10879568
mingw-cross-build

00:00:31