Commit Graph
2 Commits
Author SHA1 Message Date
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