[PATCH 4/7] drm/debugfs: rework debugfs directory creation v2

Stanislaw Gruszka stanislaw.gruszka at linux.intel.com
Wed Mar 22 11:17:19 UTC 2023


On Thu, Mar 16, 2023 at 09:20:32AM +0100, 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
> 
> Signed-off-by: Christian König <christian.koenig at amd.com>
> ---
>  drivers/accel/drm_accel.c           | 30 ++++++++-------

Tested-by: Stanislaw Gruszka <stanislaw.gruszka at linux.intel.com>



More information about the dri-devel mailing list