diff options
| author | Felix Fietkau <nbd@nbd.name> | 2026-07-24 12:48:04 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2026-08-01 14:49:42 +0000 |
| commit | 1fdf2b5958ee0ae9c6f1006338fb8f46d44478fc (patch) | |
| tree | 4e071db345218d69e0faded569d8721e2640b240 /tools/perf/scripts/python/flamegraph.py | |
| parent | 6f8d8c458010b597bf4114e6fb3162bff7050041 (diff) | |
wifi: mt76: fix queue reg access when building WED and NPU together
Move the offload specific parts of Q_READ/Q_WRITE into
mt76_dma_handle_read/write, which return false to fall back to
readl/writel. The WED and NPU #ifdefs now live inside those helpers
instead of selecting between mutually exclusive macro definitions, so a
kernel with both enabled supports both at runtime.
Also fixes the NPU path dereferencing a hardcoded q instead of the macro
argument.
Link: https://patch.msgid.link/20260724124813.3961474-20-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
