ascent12 / drm_info

Moved to https://gitlab.freedesktop.org/emersion/drm_info
MIT License
64 stars 13 forks source link

Include driver module parameters #70

Open emersion opened 3 years ago

emersion commented 3 years ago

Sometimes drivers allow to change the driver behaviour/capabilities with module params. On Linux we can get those set at boot-time with /proc/cmdline.

We could include the params for the driver module in the JSON blob. This would make it easier to tell why a driver is missing a feature for instance.

Maybe /sys/module/<driver>/parameters/ can be used to find the run-time status of the parameters.