[PATCH] drm: document better that drivers shouldn't use drm_minor directly

2023-01-09 Thread Daniel Vetter
The documentation for struct drm_minor already states this, but that's not always that easy to find. Also due to historical reasons we still have the minor-centric (like drm_debugfs_create_files), but since this is now getting fixed we can put a few more pointers in place as to how this should be

Re: [PATCH] drm: document better that drivers shouldn't use drm_minor directly

2023-01-05 Thread Daniel Vetter
On Thu, Jan 05, 2023 at 02:39:21PM +0200, Jani Nikula wrote: > On Wed, 04 Jan 2023, Daniel Vetter wrote: > > The documentation for struct drm_minor already states this, but that's > > not always that easy to find. > > > > Also due to historical reasons we still have the minor-centric (like > > drm

Re: [PATCH] drm: document better that drivers shouldn't use drm_minor directly

2023-01-05 Thread Jani Nikula
On Wed, 04 Jan 2023, Daniel Vetter wrote: > The documentation for struct drm_minor already states this, but that's > not always that easy to find. > > Also due to historical reasons we still have the minor-centric (like > drm_debugfs_create_files), but since this is now getting fixed we can > put

Re: [PATCH] drm: document better that drivers shouldn't use drm_minor directly

2023-01-05 Thread Rodrigo Vivi
On Wed, Jan 04, 2023 at 10:17:54PM +0100, Daniel Vetter wrote: > The documentation for struct drm_minor already states this, but that's > not always that easy to find. > > Also due to historical reasons we still have the minor-centric (like > drm_debugfs_create_files), but since this is now gettin

Re: [PATCH] drm: document better that drivers shouldn't use drm_minor directly

2023-01-05 Thread Melissa Wen
On 01/04, Daniel Vetter wrote: > The documentation for struct drm_minor already states this, but that's > not always that easy to find. > > Also due to historical reasons we still have the minor-centric (like > drm_debugfs_create_files), but since this is now getting fixed we can > put a few more

Re: [PATCH] drm: document better that drivers shouldn't use drm_minor directly

2023-01-05 Thread MaĆ­ra Canal
On 1/4/23 18:17, Daniel Vetter wrote: The documentation for struct drm_minor already states this, but that's not always that easy to find. Also due to historical reasons we still have the minor-centric (like drm_debugfs_create_files), but since this is now getting fixed we can put a few more poi

Re: [PATCH] drm: document better that drivers shouldn't use drm_minor directly

2023-01-04 Thread Maxime Ripard
On Wed, Jan 04, 2023 at 10:17:54PM +0100, Daniel Vetter wrote: > The documentation for struct drm_minor already states this, but that's > not always that easy to find. > > Also due to historical reasons we still have the minor-centric (like > drm_debugfs_create_files), but since this is now gettin

[PATCH] drm: document better that drivers shouldn't use drm_minor directly

2023-01-04 Thread Daniel Vetter
The documentation for struct drm_minor already states this, but that's not always that easy to find. Also due to historical reasons we still have the minor-centric (like drm_debugfs_create_files), but since this is now getting fixed we can put a few more pointers in place as to how this should be