aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorDaniele Ceraolo Spurio <[email protected]>2025-04-16 20:16:22 +0000
committerLucas De Marchi <[email protected]>2025-04-18 01:53:38 +0000
commit78600df8f593407a3df2d6c48c35d0ad203d7fb4 (patch)
tree02f8b1984ab1c257ec98a389eb1daef6e68a2162 /rust/helpers/platform.c
parentdrm/xe/dma_buf: stop relying on placement in unmap (diff)
downloadkernel-78600df8f593407a3df2d6c48c35d0ad203d7fb4.tar.gz
kernel-78600df8f593407a3df2d6c48c35d0ad203d7fb4.zip
drm/xe/pxp: do not queue unneeded terminations from debugfs
The PXP terminate debugfs currently unconditionally simulates a termination, no matter what the HW status is. This is unneeded if PXP is not in use and can cause errors if the HW init hasn't completed yet. To solve these issues, we can simply limit the terminations to the cases where PXP is fully initialized and in use. v2: s/pxp_status/ready/ to avoid confusion with pxp->status (John) Fixes: 385a8015b214 ("drm/xe/pxp: Add PXP debugfs support") Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/4749 Signed-off-by: Daniele Ceraolo Spurio <[email protected]> Cc: John Harrison <[email protected]> Reviewed-by: John Harrison <[email protected]> Link: https://lore.kernel.org/r/[email protected] (cherry picked from commit ba1f62a0cac84757ca35f4217e3cd3a2654233ae) Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions