aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorMichal Wajdeczko <[email protected]>2024-09-25 10:44:45 +0200
committerMichal Wajdeczko <[email protected]>2024-10-06 14:24:28 +0200
commit95336cfd5b2ce81f839614dd897e26cffd5204e0 (patch)
treec32b118156fb5275832e550d62a1cdeb7a6377d6 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent93d93813422758f6c99289de446b19184019ef5a (diff)
drm/xe: Add memirq report page address helpers
Both xe_memirq_{source,status}_ptr functions are now strictly for obtaining an address of the memory based interrupt report pages used by the HW engines. When initializing the GuC that does not require special per instance page preparation, we don't need to abuse these public functions and pass a NULL instead of valid hwe pointer. Also, without further fixes, this actually may lead to NPD crash once the hw_reports_to_instance_zero() will be true. Add internal helpers that will provide report page addresses based solely on the instance number, which will be always 0 for both GuCs. Fixes: ef6103d20f97 ("drm/xe: memirq infra changes for MSI-X") Signed-off-by: Michal Wajdeczko <[email protected]> Cc: Piotr Piórkowski <[email protected]> Cc: Ilia Levi <[email protected]> Reviewed-by: Ilia Levi <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions