diff options
author | Jonathan Cavitt | 2024-07-12 14:41:56 -0700 |
---|---|---|
committer | Tvrtko Ursulin | 2024-07-23 09:34:13 +0000 |
commit | 26720dd2b5a1d088bff8f7e6355fca021c83718f (patch) | |
tree | 60359b2c47a927d029cb600be3ce167924a22a0c /Makefile | |
parent | 65564157ae64cec0f527583f96e32f484f730f92 (diff) |
drm/i915: Allow NULL memory region
Prevent a NULL pointer access in intel_memory_regions_hw_probe.
Fixes: 05da7d9f717b ("drm/i915/gem: Downgrade stolen lmem setup warning")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11704
Signed-off-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240712214156.3969584-1-jonathan.cavitt@intel.com
(cherry picked from commit d75dec1fcbcb05b021c08b62551649567ab8955c)
Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions