Commit Graph
3 Commits
Author SHA1 Message Date
Matt Coster a331631496 drm/imagination: Simplify module parameters
We had a whole load of bloaty infrastructure to deal with module parameters
in a way that's wholly unnecessary. Strip it all back to basics to make
adding new parameters less of a headache.

Reviewed-by: Alessio Belle <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Matt Coster <[email protected]>
2026-01-19 11:20:21 +00:00
Alexandru Dadu 81feddc126 drm/imagination: loop counters moved to loop scope
Reduce the scope of some loop counters as these aren't needed outside
the loops they're used in.

Signed-off-by: Alexandru Dadu <[email protected]>
Reviewed-by: Matt Coster <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Matt Coster <[email protected]>
2025-04-07 10:09:40 +01:00
Sarah Walker cb56cd6108 drm/imagination: Add firmware trace to debugfs
Firmware trace is exposed at /sys/debug/dri/<dev_nr>/pvr_fw/trace_0.
Trace is enabled via the group mask at
/sys/debug/dri/<dev_nr>/pvr_params/fw_trace_mask.

Changes since v8:
- Corrected license identifiers

Changes since v3:
- Use drm_dev_{enter,exit}

Co-developed-by: Matt Coster <[email protected]>
Signed-off-by: Matt Coster <[email protected]>
Signed-off-by: Sarah Walker <[email protected]>
Signed-off-by: Donald Robson <[email protected]>
Link: https://lore.kernel.org/r/009cf9fee347fa96c8a665dc368fc54a5ffceff0.1700668843.git.donald.robson@imgtec.com
Signed-off-by: Maxime Ripard <[email protected]>
2023-11-23 09:01:47 +01:00