Re: [Intel-gfx] [PATCH 2/3] drm/i915: Check for ips_mchdev being NULL

2019-11-06 Thread Chris Wilson
Quoting Niranjan Vishwanathapura (2019-11-06 02:14:45) > On Wed, Nov 06, 2019 at 12:37:14AM +, Chris Wilson wrote: > >Quoting Niranjana Vishwanathapura (2019-11-06 00:02:04) > >> Guard against uninitalized (NULL) ips_mchdev before > >> dereferencing. > > > >Because? > > I am seeing some

Re: [Intel-gfx] [PATCH 2/3] drm/i915: Check for ips_mchdev being NULL

2019-11-05 Thread Niranjan Vishwanathapura
On Wed, Nov 06, 2019 at 12:37:14AM +, Chris Wilson wrote: Quoting Niranjana Vishwanathapura (2019-11-06 00:02:04) Guard against uninitalized (NULL) ips_mchdev before dereferencing. Because? I am seeing some exported functions like i915_read_mch_val() that try to dereference ips_mchdev

Re: [Intel-gfx] [PATCH 2/3] drm/i915: Check for ips_mchdev being NULL

2019-11-05 Thread Chris Wilson
Quoting Niranjana Vishwanathapura (2019-11-06 00:02:04) > Guard against uninitalized (NULL) ips_mchdev before > dereferencing. Because? -Chris - Intel Corporation (UK) Limited Registered No. 1134945 (England) Registered Office: