Re: [PATCH 2/5] drm/debugfs: disallow debugfs access when device isn't registered

2023-08-30 Thread Andi Shyti
Hi Christian, > > > > > > During device bringup it might be that we can't access > > > > > > the debugfs files. > > > > > > Return -ENODEV until the registration is completed on access. > > > > > just wondering, if the device is not registered, how do we get > > > > > there? > > > > The workflow i

Re: [PATCH 2/5] drm/debugfs: disallow debugfs access when device isn't registered

2023-08-30 Thread Christian König
Am 29.08.23 um 14:31 schrieb Christian König: Am 29.08.23 um 13:38 schrieb Andi Shyti: During device bringup it might be that we can't access the debugfs files. Return -ENODEV until the registration is completed on access. just wondering, if the device is not registered, how do we get there?

Re: [PATCH 2/5] drm/debugfs: disallow debugfs access when device isn't registered

2023-08-29 Thread Christian König
Am 29.08.23 um 13:38 schrieb Andi Shyti: During device bringup it might be that we can't access the debugfs files. Return -ENODEV until the registration is completed on access. just wondering, if the device is not registered, how do we get there? The workflow is: 1. Creation (DRM) 2. Initializa

Re: [PATCH 2/5] drm/debugfs: disallow debugfs access when device isn't registered

2023-08-29 Thread Andi Shyti
> > > During device bringup it might be that we can't access the debugfs files. > > > Return -ENODEV until the registration is completed on access. > > just wondering, if the device is not registered, how do we get > > there? > > The workflow is: > 1. Creation (DRM) > 2. Initialization (Driver) >

Re: [PATCH 2/5] drm/debugfs: disallow debugfs access when device isn't registered

2023-08-29 Thread Christian König
Am 29.08.23 um 13:31 schrieb Andi Shyti: Hi Christian, On Tue, Aug 29, 2023 at 01:01:12PM +0200, Christian König wrote: During device bringup it might be that we can't access the debugfs files. Return -ENODEV until the registration is completed on access. just wondering, if the device is not r

Re: [PATCH 2/5] drm/debugfs: disallow debugfs access when device isn't registered

2023-08-29 Thread Andi Shyti
Hi Christian, On Tue, Aug 29, 2023 at 01:01:12PM +0200, Christian König wrote: > During device bringup it might be that we can't access the debugfs files. > Return -ENODEV until the registration is completed on access. just wondering, if the device is not registered, how do we get there? Andi

[PATCH 2/5] drm/debugfs: disallow debugfs access when device isn't registered

2023-08-29 Thread Christian König
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 --- drivers/gpu/drm/drm_debugfs.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/drm_debugfs.c b/driv

[PATCH 2/5] drm/debugfs: disallow debugfs access when device isn't registered

2023-07-11 Thread Christian König
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 --- drivers/gpu/drm/drm_debugfs.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/drm_debugfs.c b/driv

[PATCH 2/5] drm/debugfs: disallow debugfs access when device isn't registered

2023-04-24 Thread Christian König
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 --- drivers/gpu/drm/drm_debugfs.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/drm_debugfs.c b/driv