On 07.08.25 15:22, Alex Deucher wrote:
> On Thu, Aug 7, 2025 at 9:13 AM Brahmajit Das <[email protected]> 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.

Christian.

> 
> Alex
> 
>>
>> I guess you can also refer to this,
>> https://patchwork.freedesktop.org/patch/msgid/[email protected]
>>
>> [0]:
>> https://docs.kernel.org/gpu/todo.html#convert-logging-to-drm-functions-with-drm-device-parameter
>>
>> --
>> Regards,
>> listout

Reply via email to