aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorEugene Kobyak <eugene.kobyak@intel.com>2024-12-03 14:54:06 +0000
committerTvrtko Ursulin <tursulin@ursulin.net>2024-12-09 10:29:03 +0000
commitda0b986256ae9a78b0215214ff44f271bfe237c1 (patch)
tree665956adfda232945c928b05200426810d60ae68 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentcd3da567e2e46b8f75549637b960a83b024d6b6e (diff)
downloadlinux-da0b986256ae9a78b0215214ff44f271bfe237c1.tar.gz
linux-da0b986256ae9a78b0215214ff44f271bfe237c1.tar.bz2
linux-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 <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 (cherry picked from commit 754302a5bc1bd8fd3b7d85c168b0a1af6d4bba4d) Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions