[PATCH 3/5] drm/debugfs: rework debugfs directory creation v5

Andi Shyti andi.shyti at linux.intel.com
Thu Aug 31 21:49:44 UTC 2023


Hi Christian,

On Tue, Aug 29, 2023 at 01:01:13PM +0200, Christian König wrote:
> Instead of the per minor directories only create a single debugfs
> directory for the whole device directly when the device is initialized.
> 
> For DRM devices each minor gets a symlink to the per device directory
> for now until we can be sure that this isn't useful any more in any way.
> 
> Accel devices create only the per device directory and also drops the mid
> layer callback to create driver specific files.
> 
> v2: cleanup accel component as well
> v3: fix typo when debugfs is disabled
> v4: call drm_debugfs_dev_fini() during release as well,
>     some kerneldoc typos fixed
> v5: rebased and one more kerneldoc fix
> 
> Signed-off-by: Christian König <christian.koenig at amd.com>

Looks reasonable...

Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com> 

Andi


More information about the dri-devel mailing list