Re: [PATCH 07/13] drm/vc4: Use the encoders' debugfs infrastructure

2023-01-12 Thread Daniel Vetter
On Thu, Jan 12, 2023 at 11:19:37AM +0200, Jani Nikula wrote: > On Wed, 11 Jan 2023, Maíra Canal wrote: > > Replace the use of drm_debugfs_add_files() with the new > > drm_debugfs_encoder_add_files() function, which centers the debugfs files > > management on the drm_encoder instead of drm_device.

Re: [PATCH 07/13] drm/vc4: Use the encoders' debugfs infrastructure

2023-01-12 Thread Jani Nikula
On Wed, 11 Jan 2023, Maíra Canal wrote: > Replace the use of drm_debugfs_add_files() with the new > drm_debugfs_encoder_add_files() function, which centers the debugfs files > management on the drm_encoder instead of drm_device. Using this function > on late register callbacks is more adequate as

[PATCH 07/13] drm/vc4: Use the encoders' debugfs infrastructure

2023-01-11 Thread Maíra Canal
Replace the use of drm_debugfs_add_files() with the new drm_debugfs_encoder_add_files() function, which centers the debugfs files management on the drm_encoder instead of drm_device. Using this function on late register callbacks is more adequate as the callback passes a drm_encoder as parameter.