DRM accel and debugfs/sysfs

Stanislaw Gruszka stanislaw.gruszka at linux.intel.com
Wed Feb 1 15:20:03 UTC 2023


Hi

I was about to send debugfs support for ivpu and noticed that there
are current changes that deprecate drm_devel->debugfs_init callback.

Further I looked at this commit [1], that stated we should not
use drm_minor for debugfs and sysfs. What is quite contrary to 
what drm accel framework did in the first place. 

So my question is how we should use debugfs/sysfs in accel?
Use it with old fashioned minor-centric way or change
the framework somehow ?

[1] https://cgit.freedesktop.org/drm/drm-misc/commit/?id=99845faae7099cd704ebf67514c1157c26960a26

Regards
Stanislaw



More information about the dri-devel mailing list