Is amdgpu open to converting logging to drm_* functions
Brahmajit Das
listout at listout.xyz
Thu Aug 7 13:54:50 UTC 2025
On 07.08.2025 15:29, Christian König wrote:
> On 07.08.25 15:22, Alex Deucher wrote:
> > On Thu, Aug 7, 2025 at 9:13 AM Brahmajit Das <listout at listout.xyz> wrote:
> >>
> >> Hello Alex, Christian,
> >>
> >> I'm a mentee at Linux kernel Bug Fixing Summer 2025. I came across the
> >> TODO list on the kernel doc, and specifically this section[0]. Would
> >> amdgpu be open to this conversion. I saw that before starting it is
> >> recommended to talk with Sean and the relevant maintainer. Hence I'm
> >> emailing you folks.
> >
> > It would be nice to get rid of the old DRM_INFO/ERROR/DEBUG macros and
> > replace them with the dev_ or drm_ replacements.
>
> Good point.
>
> For the background, the old DRM_INFO/ERROR/DEBUG macros only printed a message without noting from which device it came from.
>
> That made sense when you only had a single VGA graphics card in the system, but those days are long gone and today when we have a system with multiple graphics device we sometimes wonder where a message came from.
>
> On the other hand if you just seek for something todo Alex and I can potentially come up with some cleanup work or maybe you could write some test cases or whatever.
Yeah that would be great. I'm fine with either cleanup or writing test
cases.
Thanks a lot, both.
>
> Christian.
>
...snip...
--
Regards,
listout
More information about the amd-gfx
mailing list