diff options
| author | Eugene Kobyak <eugene.kobyak@intel.com> | 2024-12-03 14:54:06 +0000 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@linux.intel.com> | 2024-12-04 12:55:34 +0100 |
| commit | 754302a5bc1bd8fd3b7d85c168b0a1af6d4bba4d (patch) | |
| tree | c248eef32d760941544cdf339350adabe89b9a5f /tools/perf/scripts/python | |
| parent | drm/i915/cx0: split out mtl_get_cx0_buf_trans() to c10 and c20 variants (diff) | |
| download | linux-754302a5bc1bd8fd3b7d85c168b0a1af6d4bba4d.tar.gz linux-754302a5bc1bd8fd3b7d85c168b0a1af6d4bba4d.zip | |
drm/i915: Fix NULL pointer dereference in capture_engine
When the intel_context structure contains NULL,
it raises a NULL pointer dereference error in drm_info().
Fixes: e8a3319c31a1 ("drm/i915: Allow error capture without a request")
Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12309
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Cc: John Harrison <John.C.Harrison@Intel.com>
Cc: <stable@vger.kernel.org> # v6.3+
Signed-off-by: Eugene Kobyak <eugene.kobyak@intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/xmsgfynkhycw3cf56akp4he2ffg44vuratocsysaowbsnhutzi@augnqbm777at
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
