Files
linux-cryptodev-2.6/drivers/gpu/drm/i915/gt
Daniele Ceraolo Spurio 5796526989 drm/i915/guc: Debug print LRC state entries only if the context is pinned
After the context is unpinned the backing memory can also be unpinned,
so any accesses via the lrc_reg_state pointer can end up in unmapped
memory. To avoid that, make sure to only access that memory if the
context is pinned when printing its info.

v2: fix newline alignment

Fixes: 28ff6520a3 ("drm/i915/guc: Update GuC debugfs to support new GuC")
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: John Harrison <John.C.Harrison@Intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: <stable@vger.kernel.org> # v5.15+
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250115001334.3875347-1-daniele.ceraolospurio@intel.com
(cherry picked from commit 5bea40687c)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2025-02-03 09:26:57 -05:00
..
2024-10-15 17:49:24 +03:00
2024-10-15 17:49:24 +03:00
2024-10-15 17:29:30 +03:00
2024-03-22 14:14:52 -07:00
2024-03-22 14:14:52 -07:00
2024-03-22 14:14:56 -07:00
2024-03-22 14:14:56 -07:00
2024-10-30 09:57:43 +01:00