diff options
| author | Eugene Kobyak <[email protected]> | 2024-12-03 14:54:06 +0000 |
|---|---|---|
| committer | Tvrtko Ursulin <[email protected]> | 2024-12-09 10:29:03 +0000 |
| commit | da0b986256ae9a78b0215214ff44f271bfe237c1 (patch) | |
| tree | 665956adfda232945c928b05200426810d60ae68 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/i915/color: Stop using non-posted DSB writes for legacy LUT (diff) | |
| download | kernel-da0b986256ae9a78b0215214ff44f271bfe237c1.tar.gz kernel-da0b986256ae9a78b0215214ff44f271bfe237c1.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 <[email protected]>
Cc: John Harrison <[email protected]>
Cc: <[email protected]> # v6.3+
Signed-off-by: Eugene Kobyak <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/xmsgfynkhycw3cf56akp4he2ffg44vuratocsysaowbsnhutzi@augnqbm777at
(cherry picked from commit 754302a5bc1bd8fd3b7d85c168b0a1af6d4bba4d)
Signed-off-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
