diff options
author | Christian König <ckoenig.leichtzumerken@gmail.com> | 2023-08-29 13:01:12 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2023-08-31 17:00:37 +0200 |
commit | 7a0f217899a1005c8788c768a766dd435ce1c413 (patch) | |
tree | 0506b9f545eb7cf5ded33cf4c3bf00528b0de6e1 /drivers/gpu/drm/drm_framebuffer.c | |
parent | e76e7ec8f16259ff9167ab665eaee0d0fe20f805 (diff) | |
download | linux-7a0f217899a1005c8788c768a766dd435ce1c413.tar.gz linux-7a0f217899a1005c8788c768a766dd435ce1c413.tar.bz2 linux-7a0f217899a1005c8788c768a766dd435ce1c413.zip |
drm/debugfs: disallow debugfs access when device isn't registered
During device bringup it might be that we can't access the debugfs files.
Return -ENODEV until the registration is completed on access.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230829110115.3442-3-christian.koenig@amd.com
Diffstat (limited to 'drivers/gpu/drm/drm_framebuffer.c')
0 files changed, 0 insertions, 0 deletions