Skip to content
Commit ec9c7073 authored by Christian König's avatar Christian König Committed by Christian König
Browse files

drm/debugfs: remove dev->debugfs_list and debugfs_mutex v2



The mutex was completely pointless in the first place since any
parallel adding of files to this list would result in random
behavior since the list is filled and consumed multiple times.

Completely drop that approach and just create the files directly but
return -ENODEV while opening the file when the minors are not
registered yet.

v2: rebase on debugfs directory rework, limit access before minors are
    registered.

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230829110115.3442-5-christian.koenig@amd.com


Reviewed-by: default avatarAndi Shyti <andi.shyti@linux.intel.com>
parent 0b30d57a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment