summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_atomic.c
diff options
context:
space:
mode:
authorChristian König <ckoenig.leichtzumerken@gmail.com>2023-08-29 14:01:12 +0300
committerChristian König <christian.koenig@amd.com>2023-08-31 18:00:37 +0300
commit7a0f217899a1005c8788c768a766dd435ce1c413 (patch)
tree0506b9f545eb7cf5ded33cf4c3bf00528b0de6e1 /drivers/gpu/drm/drm_atomic.c
parente76e7ec8f16259ff9167ab665eaee0d0fe20f805 (diff)
downloadlinux-7a0f217899a1005c8788c768a766dd435ce1c413.tar.xz
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_atomic.c')
0 files changed, 0 insertions, 0 deletions